Skip to content

Conversation

@thkruz
Copy link
Owner

@thkruz thkruz commented Jan 1, 2026

This pull request focuses on improving the user experience for account creation and login reminders. It removes the delayed login prompt dialog from the intro flow and instead adds a persistent, visually styled warning message on the campaign selection page for users who are not logged in. Additionally, it introduces a developer mode override to unlock all scenarios for development purposes.

User authentication and reminders:

  • Removed the automatic, delayed login prompt dialog from the introductory sequence in BasePage, streamlining the intro experience. [1] [2]
  • Added a persistent login warning banner on the campaign selection page that appears if the user is not logged in, encouraging account creation to track progress and unlock scenarios. The warning is styled with new CSS and is dynamically shown or hidden based on authentication state. [1] [2] [3] [4]

Developer experience:

  • Added a global DEVELOPER_MODE flag that, when enabled, unlocks all scenarios regardless of user progress for easier testing and development. [1] [2]

Other changes:

  • Updated package.json version from 1.0.0 to 1.0.1.
  • Cleaned up some imports in base-page.ts for better code organization.

@github-actions
Copy link

github-actions bot commented Jan 1, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions
Copy link

github-actions bot commented Jan 1, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 14.93% 1892 / 12669
🔵 Statements 14.3% 1913 / 13369
🔵 Functions 17.34% 419 / 2415
🔵 Branches 11.39% 768 / 6739
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/scenario-manager.ts 65.62% 68.18% 76.92% 65.51%
src/pages/base-page.ts 7.59% 3.84% 15.38% 8%
src/pages/campaign-selection.ts 64.28% 41.02% 63.63% 67.5%
Generated in workflow #170 for commit 0fcd75f by the Vitest Coverage Report Action

@thkruz thkruz merged commit a4208c2 into main Jan 1, 2026
10 of 11 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.

2 participants