Skip to content

fix(frontend): stabilize ScheduleJobDialog render loop and improve accessibility#315

Merged
chriswritescode-dev merged 1 commit into
mainfrom
fix/schedule-dialog-render-loop
Jul 23, 2026
Merged

fix(frontend): stabilize ScheduleJobDialog render loop and improve accessibility#315
chriswritescode-dev merged 1 commit into
mainfrom
fix/schedule-dialog-render-loop

Conversation

@chriswritescode-dev

Copy link
Copy Markdown
Owner

Resolve a "Maximum update depth exceeded" render loop in ScheduleJobDialog while prompt templates are loading, and add accessibility labels across the frontend. Also unregister the service worker in dev to avoid stale caches.

  • ScheduleJobDialog: use a stable EMPTY_TEMPLATES constant and split template matching into its own effect keyed on [templates, job, open] instead of running inside the init effect that depends on templates
  • Add ScheduleJobDialog.loading.test.tsx regression test for the loading state
  • serviceWorker: unregister existing registrations and clear caches in DEV so stale workers do not serve outdated assets locally
  • App: replace shell div with semantic
  • SettingsDialog: add sr-only DialogTitle for screen readers
  • Add aria-labels to icon-only buttons in back-button, combobox, header, GlobalSchedules, and Repos
  • index.html: add mobile-web-app-capable meta

…cessibility

Resolve a "Maximum update depth exceeded" render loop in ScheduleJobDialog
while prompt templates are loading, and add accessibility labels across the
frontend. Also unregister the service worker in dev to avoid stale caches.

- ScheduleJobDialog: use a stable EMPTY_TEMPLATES constant and split template
  matching into its own effect keyed on [templates, job, open] instead of
  running inside the init effect that depends on templates
- Add ScheduleJobDialog.loading.test.tsx regression test for the loading state
- serviceWorker: unregister existing registrations and clear caches in DEV so
  stale workers do not serve outdated assets locally
- App: replace shell div with semantic <main>
- SettingsDialog: add sr-only DialogTitle for screen readers
- Add aria-labels to icon-only buttons in back-button, combobox, header,
  GlobalSchedules, and Repos
- index.html: add mobile-web-app-capable meta
@chriswritescode-dev
chriswritescode-dev merged commit 632ce13 into main Jul 23, 2026
4 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.

1 participant