Skip to content

fix: [M3-10606] - Redirects /settings to /account-settings#12841

Merged
cpathipa merged 3 commits intolinode:stagingfrom
cpathipa:fix-rerouting-settings-accountsettings
Sep 9, 2025
Merged

fix: [M3-10606] - Redirects /settings to /account-settings#12841
cpathipa merged 3 commits intolinode:stagingfrom
cpathipa:fix-rerouting-settings-accountsettings

Conversation

@cpathipa
Copy link
Copy Markdown
Contributor

@cpathipa cpathipa commented Sep 9, 2025

Description 📝

This PR redirects /settings route to /account-settings.

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Target release date 🗓️

9/9

Preview 📷

settings-accountsettings.mov

How to test 🧪

Verification steps

(How to verify changes)

  • Checkout, run the app locally and navigate to localhost:3000/settings
  • Verify it should re-route to account-settings
  • verify no regression in routing to /account-settings, /settings, /account/settings page.
Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@cpathipa cpathipa self-assigned this Sep 9, 2025
@cpathipa cpathipa requested a review from a team as a code owner September 9, 2025 11:45
@cpathipa cpathipa requested review from bill-akamai and bnussman-akamai and removed request for a team September 9, 2025 11:45
@linode-gh-bot
Copy link
Copy Markdown
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing739 Passing6 Skipped41m 53s

Details

Failing Tests
SpecTest
timerange-verification.spec.tsCloud Manager Cypress Tests→Integration tests for verifying Cloudpulse custom and preset configurations » should implement and validate custom date/time picker for a specific date and time range

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/cloudpulse/timerange-verification.spec.ts"

Copy link
Copy Markdown
Contributor

@jdamore-linode jdamore-linode left a comment

Choose a reason for hiding this comment

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

Thanks Chandra! Confirmed:

  • /account/settings redirects to /account-settings
  • /settings redirects to /account-settings

Copy link
Copy Markdown
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

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

feature flag on:
✅ /account/settings redirects to /account-settings
✅ /settings redirects to /account-settings

feature flag off:
✅ /account-settings redirects to /account/settings
✅ /settings redirects to /account/settings

thanks @cpathipa!
(Left a comment below - if this needs to be merged quickly for the release, maybe the comment can be addressed in a follow up instead)

Comment on lines +43 to +51

// This supports redirecting from /settings to /account-settings(which renamed from 'settings' to 'account-settings' ).
export const settingsRouteTree = createRoute({
getParentRoute: () => rootRoute,
path: 'settings',
beforeLoad: () => {
throw redirect({ to: '/account-settings' });
},
});
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Instead of adding this, would changing the parent route on line 14 to routeTree help?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The line 14 block is to handle any invalid routes. This will be removed eventually as part of feature flag cleanup in the future releases.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

got it, seeing the differences with further testing - thanks Chandra!

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Sep 9, 2025
@coliu-akamai coliu-akamai added the Approved Multiple approvals and ready to merge! label Sep 9, 2025
@cpathipa cpathipa merged commit d008f10 into linode:staging Sep 9, 2025
34 of 35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Sep 9, 2025
cpathipa added a commit to cpathipa/manager that referenced this pull request Sep 9, 2025
…ettings-accountsettings"

This reverts commit d008f10, reversing
changes made to 6232778.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Multiple approvals and ready to merge! 🚨 Urgent

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants