Skip to content

improve port retry conflict check and bump version - #13

Merged
Ajimaru merged 3 commits into
mainfrom
dev
Sep 23, 2026
Merged

Ajimaru merged 3 commits into
mainfrom
dev

Conversation

@Ajimaru

@Ajimaru Ajimaru commented Sep 23, 2026

Copy link
Copy Markdown
Owner

This pull request updates the octoprint_autoconnectplus plugin to improve when port retry conflict checks are performed and bumps the plugin version. The main change is to trigger the conflict check after user login, ensuring the API is available, instead of immediately at page load.

Behavior change:

  • The port retry conflict check is now performed when the user logs in (onUserLoggedIn), rather than immediately after the plugin assets are ready. This avoids issues with undefined API base URLs and missing sessions at DOM-ready time. (octoprint_autoconnectplus/static/js/autoconnectplus.js, [1] [2]

Version update:

  • Bumped the plugin version from 0.1.0 to 0.1.1 to reflect this behavioral change. (pyproject.toml, pyproject.tomlL7-R7)

Ajimaru and others added 3 commits September 23, 2026 09:02
The check ran at DOM-ready, before OctoPrint's client had its base URL
set, so every page load requested /undefined/api/plugin/autoconnectplus
(404) and the conflict warning never showed. The API is login-protected
anyway, so run the check from the view model's onUserLoggedIn.

Also stop ignoring editor/assistant files in .gitignore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Ajimaru Ajimaru self-assigned this Sep 23, 2026
@Ajimaru Ajimaru added the bug Something isn't working label Sep 23, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Ajimaru
Ajimaru merged commit 53fee08 into main Sep 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant