Skip to content

chore: bring back trailing slashes#1076

Merged
marxtin merged 1 commit intomasterfrom
feature-TECH-3012
Feb 2, 2026
Merged

chore: bring back trailing slashes#1076
marxtin merged 1 commit intomasterfrom
feature-TECH-3012

Conversation

@marxtin
Copy link
Contributor

@marxtin marxtin commented Jan 30, 2026

Changes

  • ...

Checklist

  • Akzeptanzkriterien sind erfüllt
  • Tests sind geschrieben
  • Code ist dokumentiert
  • A11y-Aspekte wurden berücksichtigt sofern erforderlich
  • UX/UI review hat vor dem PR stattgefunden sofern erforderlich

@vercel
Copy link

vercel bot commented Jan 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-packages Ready Ready Preview, Comment Jan 30, 2026 3:37pm

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes internal URLs to include trailing slashes and slightly adjusts several component type declarations to better reflect their actual props.

Changes:

  • Updated various navigation, footer, header, storybook, and user menu links to use trailing slashes in their href/action URLs.
  • Adjusted Ratio.d.ts to explicitly include the ratio prop in the styled component type and align it with RatioProps.
  • Updated Link.d.ts, HoverLink.d.ts, and Icon.d.ts to expose a type prop and include it in the StyledComponent generic typing.

Reviewed changes

Copilot reviewed 8 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/storybook/src/stories/components/layout/pageLayout.stories.tsx Storybook brand teaser URL updated to /technology-review/ to match trailing-slash convention.
packages/storybook/src/stories/components/layout/pageHeader.stories.tsx Storybook header brand teaser URL updated to /technology-review/ with trailing slash.
packages/components/src/UserMenu/UserMenu.tsx Default account-related links (login, logout, abo, reading list, account edit) updated to trailing-slash URLs.
packages/components/src/Ratio/Ratio.d.ts Declaration updated so the styled Ratio component explicitly carries ratio: RatioProps["ratio"] and includes "ratio" in its prop key union.
packages/components/src/PageHeader/components/BurgerNav.tsx Burger navigation account, search, subscription, podcast, and events links/actions switched to trailing-slash URLs.
packages/components/src/PageHeader/PageHeader.tsx Header subscription / abo-landing links updated to /dein-abo/ and /abos/.
packages/components/src/PageFooter/MobileFooter.tsx Mobile footer navigation links for abo, abos, team, jobs, and abo cancellation updated to trailing-slash URLs.
packages/components/src/PageFooter/DesktopFooter.tsx Desktop footer navigation links (team, jobs, abo cancel, dein-abo, abos, podcast, events, brandhub) adjusted to trailing slashes.
packages/components/src/Link/Link.d.ts Link declaration extended so type is present in the base prop object and included in the StyledComponent prop key union.
packages/components/src/Link/HoverLink.d.ts HoverLink declaration similarly updated to expose type and include it in the prop key union.
packages/components/src/LegacyBookmarkModal/LegacyBookmarkModal.tsx Legacy bookmark modal registration button href updated to /account/register/.
packages/components/src/Icon/Icon.d.ts Icon declaration updated to include a type string prop in the base props and prop key union.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marxtin marxtin merged commit 86a5bda into master Feb 2, 2026
16 of 17 checks passed
@marxtin marxtin deleted the feature-TECH-3012 branch February 2, 2026 10:50
@marxtin marxtin restored the feature-TECH-3012 branch February 2, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants