Skip to content

Koala connection warning - #4044

Merged
benderl merged 4 commits into
openWB:masterfrom
Brett-S-OWB:koala-connection-warning
Oct 5, 2026
Merged

benderl merged 4 commits into
openWB:masterfrom
Brett-S-OWB:koala-connection-warning

Conversation

@Brett-S-OWB

Copy link
Copy Markdown
Contributor

Falls der Verbindungsaufbau länger dauert, wird anstelle der roten Fehlermeldung „Verbindung getrennt!“ ein Informationsdialog "Verbindung wird aufgebaut " mit einer Sanduhr for 10 Sekunden angezeigt.
danach kommt die Fehlermeldung "Verbindung getrennt!" falls eine Verbindung immer noch nicht vorhanden ist.

Bildschirmfoto vom 2026-10-02 09-16-44 Bildschirmfoto vom 2026-10-02 09-27-46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The dialog duration is incorrect, and independently arriving security topics can cause a spurious login dialog.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Adds a staged MQTT connection warning and improves security-topic handling in the Koala theme.

Changes:

  • Shows connecting and disconnected states after configurable delays.
  • Re-evaluates login visibility when security topics arrive.
  • Defaults user management to inactive until its retained value arrives.
File Description
ConnectionIndicator.vue Adds delayed connection-state dialogs and indicators.
UserIndicator.vue Reacts to both security settings.
mqtt-store.ts Removes the optimistic user-management default.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +382 to +388
watch(
[userManagementActive, anonymousAccessAllowed],
() => {
showLoginDialog.value =
userManagementActive.value &&
!anonymousAccessAllowed.value &&
!loggedIn.value;
@benderl benderl self-assigned this Oct 5, 2026
@benderl
benderl merged commit d2c93d8 into openWB:master Oct 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants