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

ref(insights): Use module URLs from constants for routing #71288

Merged
merged 2 commits into from
May 22, 2024

Conversation

gggritso
Copy link
Member

We're moving all the Starfish modules from /performance URLs to /insights URLs. As part of this whole thing, I also want to clean up how the routes are generated. We define the base URLs for the modules in constants files, and the routes file should respect those! That way, everything is in sync.

  • Flatten Insights URL structure

    The nesting is fine, but it's easier to use configured URL prefixes if
    they're unrolled. React Router supports slashes in routes, so the routing
    works correctly.

  • Use module settings for routing

The nesting is fine, but it's easier to use configured URL prefixes if
they're unrolled.
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 21, 2024
@gggritso gggritso marked this pull request as ready for review May 21, 2024 20:34
@gggritso gggritso requested a review from a team as a code owner May 21, 2024 20:34
@gggritso gggritso requested review from DominikB2014 and a team May 21, 2024 20:34
Copy link

codecov bot commented May 21, 2024

Bundle Report

Changes will decrease total bundle size by 16.48kB ⬇️

Bundle name Size Change
app-webpack-bundle-array-push 27.66MB 16.48kB ⬇️

@gggritso gggritso merged commit 2f1149d into master May 22, 2024
42 checks passed
@gggritso gggritso deleted the ref/insights/use-configured-module-urls-in-routes branch May 22, 2024 13:46
@github-actions github-actions bot locked and limited conversation to collaborators Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants