Skip to content

feat(webapp): name of the page in tab titles - #4517

Open
kathiekiwi wants to merge 9 commits into
mainfrom
feat/page-tab-titles
Open

feat(webapp): name of the page in tab titles#4517
kathiekiwi wants to merge 9 commits into
mainfrom
feat/page-tab-titles

Conversation

@kathiekiwi

@kathiekiwi kathiekiwi commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Adds a shared pageMeta() helper and 74 route declarations, so a title reads run_abc | Runs | Trigger.dev — the specific thing first, then the page, then the project and environment. Org pages get Team | Acme | Trigger.dev.

Page names are unchanged; the project and environment scope is what's new. Three wording changes on purpose: the queue page now names the queue, the model page names the model, and entity pages carry their section.

@changeset-bot

changeset-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a537f51

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 78924d70-b67d-4c9b-aaae-63e88d51a126

📥 Commits

Reviewing files that changed from the base of the PR and between 7acd1c4 and a537f51.

📒 Files selected for processing (3)
  • .server-changes/page-tab-titles.md
  • apps/webapp/app/utils/pageTitle.test.ts
  • apps/webapp/app/utils/pageTitle.ts
🚧 Files skipped from review as they are similar to previous changes (3)
  • .server-changes/page-tab-titles.md
  • apps/webapp/app/utils/pageTitle.ts
  • apps/webapp/app/utils/pageTitle.test.ts
📜 Recent review details
⏰ Context from checks skipped due to timeout. (18)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (5, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (9, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (1, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (12, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (10, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (11, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (2, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (7, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (3, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (6, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (8, 12)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (4, 12)
  • GitHub Check: typecheck / typecheck
  • GitHub Check: obsmap / 🧪 Unit Tests: Observability Map
  • GitHub Check: e2e-webapp / 🧪 E2E Tests: Webapp
  • GitHub Check: runops-guard / runops-guard
  • GitHub Check: code-quality / code-quality
  • GitHub Check: report

Walkthrough

Added a shared pageMeta utility that composes page, organization, project, environment, and application environment title segments. Updated the root title fallback to use appTitle. Migrated project, organization, account, onboarding, and integration routes to shared metadata declarations. Added dynamic titles for entity routes and page metadata for routes without titles. Added tests for inheritance, scoping, fallbacks, dynamic data, environment labels, and preserved root metadata.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the main implementation and title behavior, but it omits the required issue reference, checklist, testing, changelog, and screenshots sections. Add the template sections, link the closing issue, complete the checklist, describe testing, provide a changelog entry, and add screenshots or state that they are unavailable.
Docstring Coverage ⚠️ Warning Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: adding page names to browser tab titles.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/page-tab-titles

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kathiekiwi
kathiekiwi marked this pull request as ready for review August 6, 2026 00:02
@kathiekiwi kathiekiwi changed the title Tab titles that say which page you are on feat(webapp): tab titles that name the page, project and environment Aug 6, 2026
coderabbitai[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@kathiekiwi kathiekiwi changed the title feat(webapp): tab titles that name the page, project and environment feat(webapp): name of the page in tab titles Aug 6, 2026

@devin-ai-integration devin-ai-integration 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.

Devin Review found 1 new potential issue.

Open in Devin Review

Comment on lines +54 to +58
it("adds the project and environment scope to an environment page", () => {
const title = renderTitle([rootRoute, orgRoute, { id: "routes/runs", meta: pageMeta("Runs") }]);

expect(title).toBe("Runs | Trigger.dev");
});

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.

🔍 Test name and PR description claim project/environment scope that is not implemented

The test named "adds the project and environment scope to an environment page" asserts "Runs | Trigger.dev" — no project or environment appears in the title. The same claim is repeated in the PR description ("then the project and environment") and in the ENV_PARAMS comment. Only the organization scope is ever appended (scopeFromMatches in apps/webapp/app/utils/pageTitle.ts:70-75). Either the scope logic is missing project/env or the naming/description should be corrected so future readers don't assume the tested behaviour includes it.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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