Skip to content

ui: add --title flag to dev server for custom page titles#5224

Draft
aMayzner wants to merge 1 commit intomainfrom
dev/mayzner/title-flag
Draft

ui: add --title flag to dev server for custom page titles#5224
aMayzner wants to merge 1 commit intomainfrom
dev/mayzner/title-flag

Conversation

@aMayzner
Copy link
Member

When running multiple dev server instances (e.g. for different worktrees or branches), it's hard to tell browser tabs apart. This adds a --title flag that overrides the <title> in index.html at build time. The UI reads the initial document title so the override persists when traces are loaded.

Usage: ui/run-dev-server --title "My Custom Title"

When running multiple dev server instances (e.g. for different
worktrees or branches), it's hard to tell browser tabs apart.
This adds a --title flag that overrides the <title> in index.html
at build time. The UI reads the initial document title so the
override persists when traces are loaded.

Usage: ui/run-dev-server --title "My Custom Title"
@github-actions
Copy link

🎨 Perfetto UI Builds

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.

1 participant