Clicking the app title should open the current board, not the first one #113
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Grandiras/Ponente#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🤖 On it — follow along in the action run; the reply will link the full session transcript.
📜 Live transcript — updating every ~5 minutes while the task runs.
Fixed on branch
claude/issue-113.What was wrong
The wordmark in the header was a hard-coded
href="/". A bare path in this app means the default board — the first one in your list — so from a second board's calendar, its tags page, or the board itself, the one control everyone presses to get back to the cards quietly moved you to somebody else's board and dropped the one you had picked. That is exactly the silent substitutionAdminHrefwas already written to refuse, one row to the left.The change
NavHeader.razornow builds the link from the board the URL is already about:/calendar/board/7,/admin/tags/7,/admin/columns/7or/board/7→/board/7./exactly whereActiveBoardIdis null and there is no board to name: signed out, on the general calendar (/calendar/allis every board at once, so it claims none), and on/admin/members//admin/boards.Also in the commit: a bullet in
Changelog.Unreleasedin both locales, the reasoning written intodocs/boards-and-permissions.mdbeside the switcher's own rules, and a new e2e test intests/e2e/boards.spec.js(the wordmark goes back to the board you are on) covering both board-scoped pages plus the general-calendar fallback.Verified
Ran the app for real in this container (host Postgres 15 +
dotnet runin Development on:8090) and drove it with Playwright:dotnet build/dotnet test Ponente.sln— 312 passed, includingChangelogTestsandDocumentationTests.boards.spec.js— the new test passes, and I checked it the other way round too: with thehref="/"restored and the app rebuilt, it fails onunexpected value "http://localhost:8090/", so it actually pins the behaviour.board.spec.js— 23/23, includingadmin pages show nav header, which is the existing test that clicks this link.One pre-existing failure, not caused by this change:
boards.spec.js:156 the nav switches boards…fails atexpectVisibleSoon('.calendar-week')— it fails identically withNavHeader.razorreverted to the unmodified file, and it is the prerender/entrance racedocs/testing.mdalready documents as why the e2e suite is not trustworthy inside a job container. Not filed as an issue for that reason.⏱ 9m 41s · 65 turns · tokens: 85.8k in / 17.7k out (+4732.4k cache-read)
📜 Full session transcript
→ Opened PR: #126