Skip to content

Show the document title in the browser tab - #1795

Open
AnotherDork wants to merge 1 commit into
getprobo:mainfrom
AnotherDork:document-page-title
Open

Show the document title in the browser tab#1795
AnotherDork wants to merge 1 commit into
getprobo:mainfrom
AnotherDork:document-page-title

Conversation

@AnotherDork

@AnotherDork AnotherDork commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Every document tab rendered under DocumentLayout (description, controls, approvals, signatures) kept the static Probo Console title from index.html, so several documents open at once are indistinguishable in the browser tab strip.

DocumentLayout now calls the existing usePageTitle hook with the current version's title, matching what the risk, measure, third-party and campaign detail pages already do. The title comes from the version already loaded by DocumentLayoutQuery, so no extra request — just title added to the two DocumentVersion selections.

Verified: make relay, npm run check -w @probo/console, eslint on the changed file.


Summary by cubic

Sets the browser tab title to the current document's title for every tab rendered under DocumentLayout, so several open documents are no longer indistinguishable in the tab strip. The title comes from the version already loaded by the query, so no extra request is needed.

App: console +5 -0

  • Calls usePageTitle with the current version's title and adds title to the two DocumentVersion selections.

Written for commit a4bf30d. Summary will update on new commits.

Review in cubic

Every document tab rendered under the shared layout kept the static
"Probo Console" title, so several open documents were
indistinguishable in the browser tab strip. Set the page title from
the current version's title, as the other detail pages already do.

Signed-off-by: Gren Paut <90505696+AnotherDork@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 28, 2026 13:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@AnotherDork

Copy link
Copy Markdown
Contributor Author

@gearnode

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