Skip to content

Conversation

edisile
Copy link
Contributor

@edisile edisile commented Oct 7, 2025

big diff because of the indentation

Done

  • moved the account details page to PublisherLayout

How to QA

  • log in
  • visit the account details page
    • there should be no graphical glitches

Testing

  • This PR has tests
  • No testing required (explain why):

Issue / Card

Fixes WD-29279

Screenshots

@webteam-app
Copy link

Copy link
Contributor

@Copilot 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 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.

Copy link
Contributor

@steverydz steverydz left a 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 :)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@edisile edisile merged commit af28ff6 into merge-publisher-layouts Oct 8, 2025
8 of 9 checks passed
@edisile edisile deleted the _merge-publisher-layouts branch October 8, 2025 15:55
@edisile edisile mentioned this pull request Oct 8, 2025
2 tasks
edisile added a commit that referenced this pull request Oct 17, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants