Skip to content

[i18nIgnore] Update media guide nav component logic#12844

Merged
sarah11918 merged 2 commits into
mainfrom
media-nav-update
Dec 5, 2025
Merged

[i18nIgnore] Update media guide nav component logic#12844
sarah11918 merged 2 commits into
mainfrom
media-nav-update

Conversation

@sarah11918
Copy link
Copy Markdown
Member

This PR updates our media nav component to match the logic of the recently updated deploy guide nav component.

It is an analogous update to the backend nav component done in #12759

Notably:

  • updates the media navigation component to use a logo property for grabbing the logo and the sidebar.label property for generating the name under the icon
  • updates the media guide schema to require a logo
  • updates each guide individually (including translations) to replace service with logo, ensuring the value matches the value in logos.ts and checking that sidebar.label exists.

While I was updating the schema, I grouped all the third-party service schemas that work this way together.

Note: Other nav components (e.g. integrations, migration guides) rely on the logos too, but their pages and schema are different enough (and, these pages aren't added by community members) that I don't think we need to worry about updating any more of these nav components.

Future work:

This PR completes updating all our third-party guide logic, so I can now update the contributing guide with definitive instructions for adding a new Astro + X guide.

@github-actions github-actions Bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label Dec 5, 2025
@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented Dec 5, 2025

Lunaria Status Overview

🌑 This pull request will not trigger status changes.

Learn more

Lunaria automatically ignores changes on specific PRs by adding a ignored keyword in its title. Found: i18nIgnore.

You can change this by either removing the keyword above from the PR's title, or modifying the ignoreKeywords property in your Lunaria configuration file.

Tracked Files

Note

The notes below indicate what would happen if the pull request is merged when triggering status changes. Since a ignored keyword was found in the PR's title, the status changes indicated below won't be applied.

File Note
en/guides/media/cloudinary.mdx Source changed, localizations will be marked as outdated.
en/guides/media/mux.mdx Source changed, localizations will be marked as outdated.
es/guides/media/cloudinary.mdx Localization changed, will be marked as complete.
fr/guides/media/cloudinary.mdx Localization changed, will be marked as complete.
fr/guides/media/mux.mdx Localization changed, will be marked as complete.
ko/guides/media/cloudinary.mdx Localization changed, will be marked as complete.
ko/guides/media/mux.mdx Localization changed, will be marked as complete.
zh-cn/guides/media/cloudinary.mdx Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 5, 2025

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit e24b91d
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/69336392f5a2f60008c4221a
😎 Deploy Preview https://deploy-preview-12844--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

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

A nit, but otherwise this looks like a well handled PR to conclude the week! 🎉

Comment thread src/components/MediaGuidesNav.astro Outdated
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
@sarah11918 sarah11918 merged commit 7be565d into main Dec 5, 2025
10 checks passed
@sarah11918 sarah11918 deleted the media-nav-update branch December 5, 2025 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants