Skip to content

Fix local dashboard cloud side effects - #2

Merged
pitimon merged 1 commit into
mainfrom
fix/local-dashboard-ux
Jun 3, 2026
Merged

Fix local dashboard cloud side effects#2
pitimon merged 1 commit into
mainfrom
fix/local-dashboard-ux

Conversation

@pitimon

@pitimon pitimon commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep loopback /leaderboard local-safe by default and remove automatic login modal opening
  • make serve stop running sync on dashboard launch unless --sync is passed
  • remove direct browser probes to CORS-blocked China IP endpoints and add a regression guard

Closes #1

Verification

  • npm --prefix dashboard test -- LeaderboardPage
  • node --test test/serve-port-hint.test.js test/serve-bind-host.test.js test/cli-help.test.js test/ip-check-cors.test.js
  • npm --prefix dashboard run build
  • npm test (first run failed before build because dashboard/dist/index.html was absent; passed after build generated dashboard/dist)
  • Playwright smoke against node bin/tracker.js serve --no-open: /leaderboard had 0 dialogs and retained explicit Sign in CTA; sidebar navigation reached /limits; /ip-check produced no ip138.com, my.ip.cn, or CORS console noise

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.

Fix local dashboard navigation, cloud side effects, and IP check CORS noise

1 participant