#282 Show Page Name In Browser Tab Title#287
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
b-at-neu
commented
Jun 29, 2026
b-at-neu
left a comment
Collaborator
Author
There was a problem hiding this comment.
Code Review — Cycle 1 · needs revision
1 open — ⚪ Nit (see inline)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
b-at-neu
force-pushed
the
282-show-page-name-in-browser-tab-title
branch
from
June 29, 2026 09:29
aadadde to
cee54c9
Compare
Collaborator
Author
Revision — Cycle 1fixed R1-N1 · cee54c9 |
b-at-neu
commented
Jun 29, 2026
b-at-neu
left a comment
Collaborator
Author
There was a problem hiding this comment.
Code Review — Cycle 2 · approved
0 open — clean
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #282
Summary
metadata.title.templateseparator from-to the bullet•(U+2022)metadataexports to every static page that was missing one (positions, applications, my-applications, users, global-questions, profile, login, dev-login)generateMetadatafunctions to three dynamic[id]pages (application detail, position apply, position edit) so each tab shows a record-specific titleApliodefaultChanges
app/layout.tsx— change template separator from-to•app/(main)/positions/page.tsx— addmetadata.title = 'Positions'app/(main)/(auth)/applications/page.tsx— addmetadata.title = 'Applications'app/(main)/(auth)/my-applications/page.tsx— addmetadata.title = 'My Applications'app/(main)/(auth)/users/page.tsx— addmetadata.title = 'Users'app/(main)/(auth)/global-questions/page.tsx— addmetadata.title = 'Global Questions'app/(main)/profile/page.tsx— addmetadata.title = 'Profile'app/login/page.tsx— addmetadata.title = 'Sign In'app/login/bypass/page.tsx— addmetadata.title = 'Dev Login'app/(main)/(auth)/applications/[id]/page.tsx— addgenerateMetadatareturning applicant name; falls back to{}when not foundapp/(main)/(auth)/positions/[id]/apply/page.tsx— addgenerateMetadatareturningApply: <title>; falls back to{}when not foundapp/(main)/(auth)/positions/[id]/edit/page.tsx— addgenerateMetadatareturningEdit: <title>; falls back to{}when not foundTesting plan
npm run devand open each route, confirming browser tab text:/(dashboard) → exactlyAplio(no suffix, no separator)/positions→Aplio • Positions/applications(as admin/manager) →Aplio • Applications/my-applications→Aplio • My Applications/users(as admin) →Aplio • Users/global-questions(as admin) →Aplio • Global Questions/profile→Aplio • Profile/login→Aplio • Sign In/login/bypass→Aplio • Dev Login/positions/<id>(public detail) →Aplio • <Position Title>/positions/<id>/apply→Aplio • Apply: <Position Title>/positions/<id>/edit(as admin/manager) →Aplio • Edit: <Position Title>/applications/<id>(as admin/manager) →Aplio • <Applicant Name>•(bullet), not a hyphen or pipe/positions/<bad-id>→ tab falls back toAplio(default), page shows not-found/applications/<bad-id>→ tab falls back toAplio(default), page shows not-foundAutomated checks
Notes
The bullet character
•is U+2022 written literally inapp/layout.tsx; it is distinct from a hyphen-minus or pipe. The dynamicgenerateMetadatafunctions reuse the same data-fetch calls the page already makes — Next.js/React request deduplication collapses identical fetches within a single request, so there is no extra DB cost.