Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing page titles #8477

Merged
merged 4 commits into from
Oct 18, 2024
Merged

fix: missing page titles #8477

merged 4 commits into from
Oct 18, 2024

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Oct 18, 2024

About the changes

Fixing page titles:

Screenshot 2024-10-18 at 12 44 37 Screenshot 2024-10-18 at 12 44 28 Screenshot 2024-10-18 at 12 44 20 Screenshot 2024-10-18 at 12 44 13 Screenshot 2024-10-18 at 12 44 06 Screenshot 2024-10-18 at 12 43 59

Details:
Pages using PageContent component with a header property automatically get their title set.
Screenshot 2024-10-18 at 12 37 22

All the other pages need explicit usePageTitle invocation.

I tried to add more info to the title where it makes sense:

  • username in personal dashboard
  • SSO method in SSO page

Important files

Discussion points

Copy link

vercel bot commented Oct 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2024 10:44am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2024 10:44am

Copy link
Contributor

github-actions bot commented Oct 18, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

</Typography>
</PageHeader>
}
header={<PageHeader title='Feature flag types' />}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

header property automatically handles page title and typography

@kwasniew kwasniew merged commit 9b3529d into main Oct 18, 2024
11 checks passed
@kwasniew kwasniew deleted the missing-page-title branch October 18, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants