Skip to content

Conversation

@chargome
Copy link
Member

@chargome chargome commented Oct 24, 2024

closes #10517

With this change we display the title and description of the requested page (if it exists).

before

Screenshot 2024-10-24 at 13 02 44

after

Screenshot 2024-10-24 at 12 58 33

The risk here is that different platforms might have different titles and descriptions for the same page, and in this PR we just take the first one we find (which is usually .NET I think). I tested out some pages and it seemed to work fine every time.

@vercel
Copy link

vercel bot commented Oct 24, 2024

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

Name Status Preview Comments Updated (UTC)
changelog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 11:18am
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 11:18am
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 11:18am

@codecov
Copy link

codecov bot commented Oct 24, 2024

Bundle Report

Changes will increase total bundle size by 158 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 7.37MB 215 bytes (0.0%) ⬆️
sentry-docs-edge-server-array-push 333.11kB 3 bytes (-0.0%) ⬇️
sentry-docs-client-array-push 6.44MB 54 bytes (-0.0%) ⬇️

@stephanie-anderson
Copy link
Contributor

Oh, how fast! Thanks for implementing this. I initially thought we would add the page titles and descriptions in the list of platforms (instead of .NET etc), but this is also an option. Would let @lizokm decide on what she would prefer

@chargome
Copy link
Member Author

@stephanie-anderson yeah I just went with lizas most recent comment in the connected issue

Copy link
Contributor

@cstavitsky cstavitsky left a comment

Choose a reason for hiding this comment

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

Nice!!! Excited to see this 🎉

@chargome chargome merged commit 27d09c2 into master Oct 28, 2024
13 checks passed
@chargome chargome deleted the cg/platform-redirect-title branch October 28, 2024 08:42
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Platform redirect page could be more specific about where you're heading next

4 participants