-
Notifications
You must be signed in to change notification settings - Fork 116
Merge publisher layouts (pt2): account details page #5401
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
Conversation
There was a problem hiding this 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 migrates the account details page from BrandStoreLayout to PublisherLayout as part of consolidating publisher layouts. The changes remove the hardcoded navigation and main container structure from the AccountDetails component and move the route from the brand store section to the publisher section.
Key changes:
- Removed hardcoded navigation and layout wrapper from AccountDetails component
- Moved account details route from BrandStoreLayout to PublisherLayout in routing configuration
- Fixed code formatting and indentation throughout the component
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
static/js/publisher/pages/AccountDetails/AccountDetails.tsx | Removed Navigation import and layout wrapper, cleaned up formatting |
static/js/publisher/index.tsx | Moved account details route from brand store to publisher layout section |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 - just a typo which copilot caught :)
* Merge publisher layouts (pt1): Portal helpers and move Brand store snaps (#5398) * feature: add portal helpers * chore: move brand store snaps page to Publisher layout * fix: remove redundant fragments * fix: better error check in useMergeRefs * Merge publisher layouts (pt2): account details page (#5401) * chore: move account details page to Publisher layout * fix: typo Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: move brand store members page to Publisher layout (#5408) * chore: move brand store settings page to Publisher layout (#5409) * chore: move signing keys page to Publisher layout (#5410) * chore: move signing keys page to Publisher layout * fix: test * chore: move models page to Publisher layout (#5412) * chore: move Model details page to Publisher layout (#5413) * chore: move Policy page to Publisher layout (#5415) * chore: move Policy page to Publisher layout * fix: tests * fix: Delete policy modal button * chore: cleanup store not found logic (#5418) * chore: cleanup store not found logic * fix: route for redirect when visiting /admin/:id -> /admin/:id/snaps * chore: rename portal componen and linting --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
big diff because of the indentation
Done
How to QA
Testing
Issue / Card
Fixes WD-29279
Screenshots