Skip to content

Conversation

edisile
Copy link
Contributor

@edisile edisile commented Oct 13, 2025

Done

  • moved Policy page to Publisher layout
  • moved notifications to bottom right corner for consistency

How to QA

  • log in
  • select a brand store and open a Model
  • go to the Policies tab
    • there should be no visual glitches
  • click "Create policy"
    • the right panel should appear without any visual glitches
  • select a key and click "Add policy"
    • a notification will appear in the bottom right corner
  • click "Delete" on a policy
    • a modal should appear without any visual glitches
  • click "Delete policy"
    • a notification will appear in the bottom right corner

Testing

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

Issue / Card

Fixes WD-29284

Screenshots

BEFORE:
immagine

AFTER:
immagine

@webteam-app
Copy link

@edisile edisile force-pushed the _merge-publisher-layouts branch from f5f211a to 0924874 Compare October 13, 2025 13:23
@steverydz steverydz self-requested a review October 13, 2025 13:27
@steverydz steverydz self-assigned this Oct 13, 2025
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 👍

@abbiesims
Copy link
Contributor

small nit: when I click "delete policy" and whilst it's deleting, the "Delete" button is still actionable. Would be nice to disable this whilst deletion is happening
image

@edisile edisile force-pushed the _merge-publisher-layouts branch from 1360657 to 94e544a Compare October 13, 2025 14:14
@edisile
Copy link
Contributor Author

edisile commented Oct 13, 2025

@abbiesims good catch! As a drive-by I changed the layout a little bit to avoid the ugly resize when changing the modal's contents:
immagine

@edisile edisile mentioned this pull request Oct 13, 2025
2 tasks
@edisile edisile merged commit 50a595c into merge-publisher-layouts Oct 13, 2025
9 checks passed
@edisile edisile deleted the _merge-publisher-layouts branch October 13, 2025 14:34
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.

4 participants