Skip to content

fix: point empty counters list link to /available - #737

Merged
GabuTheDev merged 1 commit into
tosuapp:masterfrom
Ryuga-Hideki-L:fix/empty-list-available-link
Nov 17, 2026
Merged

GabuTheDev merged 1 commit into
tosuapp:masterfrom
Ryuga-Hideki-L:fix/empty-list-available-link

Conversation

@Ryuga-Hideki-L

Copy link
Copy Markdown
Contributor

Problem

After you delete the last installed counter on the dashboard, deleteCounter in packages/server/assets/homepage.js replaces the list with "No counters, Go here to get one" linking to /available-overlays. No route serves that path (the router handles /available), so the link opens a missing page. The server-rendered empty state (emptyNotice in packages/server/utils/htmls.ts) already links to /available.

Reproduction

  1. Have exactly one counter installed.
  2. Delete it from the dashboard.
  3. Click "Go here to get one". The page is not found instead of the available counters list.

Solution

Change the link to /available.

Affected Files

  • packages/server/assets/homepage.js

Verification

  • Checked the routes in packages/server/router/index.ts: /available is handled, and /available-overlays is not.
  • prettier --check passes on the file.

AI Declaration

The change was written with Anthropic Claude Opus 5.5 (claude-opus-5-5).

After deleting the last installed counter the dashboard showed a link to
/available-overlays, which no route serves. The server-rendered empty
list already links to /available.
@GabuTheDev GabuTheDev added area:dashboard The web frontend of tosu. ai-written Not human made :( labels Nov 17, 2026
@GabuTheDev
GabuTheDev merged commit 3202d11 into tosuapp:master Nov 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-written Not human made :( area:dashboard The web frontend of tosu.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants