Skip to content

fix(#106): MEDIUM: the status bar contradicts itself, counts the wrong things, and goes bla - #426

Merged
BeSovereign merged 1 commit into
mainfrom
fix/issue-106
Oct 15, 2026
Merged

BeSovereign merged 1 commit into
mainfrom
fix/issue-106

Conversation

@BeSovereign

Copy link
Copy Markdown
Contributor

Refs #106

The status bar is now state-explicit in every view: a failed event load keeps 'Fehler … Termine' in the bar (an eventsError store state replaces the setStatus('') wipe and survives re-renders), empty ranges say per view what is free (e.g. 'Keine Termine an diesem Tag.', 'Keine Aufgaben vorhanden.'), and partly loaded results say not all calendars could be read. Chosen wording per view: month 'in diesem Monat', week 'in dieser Woche', workweek 'in dieser Arbeitswoche', agenda 'im gewählten Zeitraum' (matches the agenda placeholder); node and Playwright tests blank the bar before each render so a view that skips it fails.

Driver gates (measured, not claimed)

  • Suites: lint: 1 passed, 0 failed | node: 1768 passed, 0 failed | python: 104 passed, 0 failed | e2e: 64 passed, 0 failed
  • Red/green check on declared tests: server/test/status_bar_view_counts.test.js, e2e/calendar.spec.js
red/green output
RED without the change:
s row id=af3425cb-d100-434c-b915-e3bdf4fef3d4: Stored value is not an AES-256-GCM value of this app
[WebServer] [db] Skipping undecryptable linked_accounts row id=af3425cb-d100-434c-b915-e3bdf4fef3d4: Stored value is not an AES-256-GCM value of this app
[WebServer] [db] Skipping undecryptable linked_accounts row id=af3425cb-d100-434c-b915-e3bdf4fef3d4: Stored value is not an AES-256-GCM value of this app
[WebServer] [db] Skipping undecryptable linked_accounts row id=af3425cb-d100-434c-b915-e3bdf4fef3d4: Stored value is not an AES-256-GCM value of this app
[WebServer] [Webcal] Refresh failed for subscription 0b5bdf51-1fea-445e-9243-26fad0698c5d: Feed is not valid iCalendar: END:VCALENDAR missing (wrong content or truncated response)
[WebServer] [MSGraph OAuth] authorization was not granted


GREEN with the change:
s row id=769e5783-fbe7-48c8-9fde-33aafc04ba6e: Stored value is not an AES-256-GCM value of this app
[WebServer] [db] Skipping undecryptable linked_accounts row id=769e5783-fbe7-48c8-9fde-33aafc04ba6e: Stored value is not an AES-256-GCM value of this app
[WebServer] [db] Skipping undecryptable linked_accounts row id=769e5783-fbe7-48c8-9fde-33aafc04ba6e: Stored value is not an AES-256-GCM value of this app
[WebServer] [db] Skipping undecryptable linked_accounts row id=769e5783-fbe7-48c8-9fde-33aafc04ba6e: Stored value is not an AES-256-GCM value of this app
[WebServer] [Webcal] Refresh failed for subscription d1665c51-5091-4340-aaaf-e16e9e09c48f: Feed is not valid iCalendar: END:VCALENDAR missing (wrong content or truncated response)
[WebServer] [MSGraph OAuth] authorization was not granted

🤖 Generated with Claude Code

The status bar is now state-explicit in every view: a failed event load keeps 'Fehler … Termine' in the bar (an eventsError store state replaces the setStatus('') wipe and survives re-renders), empty ranges say per view what is free (e.g. 'Keine Termine an diesem Tag.', 'Keine Aufgaben vorhanden.'), and partly loaded results say not all calendars could be read. Chosen wording per view: month 'in diesem Monat', week 'in dieser Woche', workweek 'in dieser Arbeitswoche', agenda 'im gewählten Zeitraum' (matches the agenda placeholder); node and Playwright tests blank the bar before each render so a view that skips it fails.

Refs #106

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant