Skip to content

fix(app): only show startup info modal on initial root load#858

Merged
antontranelis merged 1 commit into
mainfrom
codex/fix-startup-modal-first-load
May 7, 2026
Merged

fix(app): only show startup info modal on initial root load#858
antontranelis merged 1 commit into
mainfrom
codex/fix-startup-modal-first-load

Conversation

@antontranelis
Copy link
Copy Markdown
Member

Fixes follow-up after #857.

The startup info modal is now evaluated only once when ModalContent mounts. It opens only if the initial route was /, so navigating back to / from /set-new-password or other in-app routes no longer pops the welcome dialog.

Verification:

  • npm --workspace app run build
  • ../node_modules/.bin/eslint src/ModalContent.tsx from app/
  • git diff --check

Not run:

  • Cypress E2E, because local app/backend were not running on http://localhost:8080 / http://localhost:8055.
  • npm --prefix cypress run lint, because local cypress dependencies are incomplete: eslint-plugin-cypress is missing.

@antontranelis antontranelis enabled auto-merge (squash) May 7, 2026 12:24
@antontranelis antontranelis disabled auto-merge May 7, 2026 12:55
@antontranelis antontranelis merged commit 4ccddee into main May 7, 2026
26 checks passed
@antontranelis antontranelis deleted the codex/fix-startup-modal-first-load branch May 7, 2026 12:55
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