Skip to content

[polaris.shopify.com] Fix editPageLinkPath to include leading slash for correct URL generation - #13982

Open
SMAKSS wants to merge 2 commits into
Shopify:mainfrom
SMAKSS:fix-edit-this-page-link
Open

[polaris.shopify.com] Fix editPageLinkPath to include leading slash for correct URL generation#13982
SMAKSS wants to merge 2 commits into
Shopify:mainfrom
SMAKSS:fix-edit-this-page-link

Conversation

@SMAKSS

@SMAKSS SMAKSS commented Aug 9, 2025

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Fixes #8669 and addresses side effects of #11113

WHAT is this pull request doing?

  • Fix the 'Edit this page' reference link.

🎩 checklist

themarkappleby and others added 2 commits August 6, 2025 14:51
<!--
  ☝️How to write a good PR title:
- Prefix it with [ComponentName] (if applicable), for example: [Button]
  - Start with a verb, for example: Add, Delete, Improve, Fix…
  - Give as much context as necessary and as little as possible
  - Open it as a draft if it’s a work in progress
-->

### WHY are these changes introduced?

1.
[PageActions](https://polaris-react.shopify.com/components/actions/page-actions)
are a legacy UX solution. Page actions should instead be presented via
the [contextual save
bar](https://shopify.dev/docs/api/app-bridge-library/apis/save-bar) (in
the case of Save) OR via the [Polaris
Page](https://polaris-react.shopify.com/components/layout-and-structure/page)
action props (i.e. `primaryAction`, `secondaryActions`, `actionGroups`).
2.
[FullscreenBar](https://polaris-react.shopify.com/components/navigation/fullscreen-bar)
is a legacy UX solution. Instead [max variant
modals](https://shopify.dev/docs/api/app-bridge-library/web-components/ui-modal)
should be used in combination with the
[SaveBar](https://shopify.dev/docs/api/app-bridge-library/apis/save-bar)
and
[TitleBar](https://shopify.dev/docs/api/app-bridge-library/web-components/ui-title-bar).

The [App Design
Guidelines](https://shopify.dev/docs/apps/design/app-structure)
explicitly state not to use FullscreenBar.

<img width="840" height="324" alt="01-40-tyci1-sxt9y"
src="https://github.com/user-attachments/assets/66ad93f8-9c08-44bc-8eba-03888ff834f6"
/>

Built for Shopify requirement
[4.1.6](https://shopify.dev/docs/apps/launch/built-for-shopify/requirements#use-modals-appropriately),
lists using FullscreenBar as a failure example.
 
<img width="910" height="824" alt="01-43-t7px5-mzkqr"
src="https://github.com/user-attachments/assets/503c87b1-910b-4003-a821-4b67b20a597d"
/>

<!--
  Context about the problem that’s being addressed.
-->

### WHAT is this pull request doing?

This PR moves both the `PageActions` and `FullscreenBar` components to
the Deprecated section in the nav. It also displays a "Deprecated"
banner on both of the component pages.

<img width="1305" height="875" alt="01-59-c5awl-pclmj"
src="https://github.com/user-attachments/assets/c5edc48b-aa77-4e33-ba95-a30c286308d0"
/>

<img width="1307" height="823" alt="01-58-qmsur-50290"
src="https://github.com/user-attachments/assets/539050a1-89f3-4269-bd87-b8292e480bca"
/>

### How to 🎩

🖥 [Local development
instructions](https://github.com/Shopify/polaris/blob/main/README.md#install-dependencies-and-build-workspaces)
🗒 [General tophatting
guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md)
📄 [Changelog
guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog)

### 🎩 checklist

- [x] Tested a
[snapshot](https://github.com/Shopify/polaris/blob/main/documentation/Releasing.md#-snapshot-releases)
- [x] Tested on
[mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing)
- [x] Tested on [multiple
browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers)
- [x] Tested for
[accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md)
- [x] Updated the component's `README.md` with documentation changes
- [x] [Tophatted
documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md)
changes in the style guide
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Hi! We noticed there hasn’t been activity on this PR in a while. After 30 days, it will close automatically.

If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed.

@shopify-shipitnext

Copy link
Copy Markdown

🔎 View this PR in Shipit Next.

ℹ️ Expand to learn how to deploy and handle emergencies using Shipit Next

Overview

Shipit Next will merge your code on your behalf because this repository uses Shipit Next and its merge queue.

To ship this PR, you can either:

Comment Commands

  • /shipit: Enqueue this PR into the merge queue where it will eventually be merged and deployed.
  • /cancel: Eject this PR from the merge queue and rebuild PRs that were enqueued after this PR.
  • /shipit --jump-queue: Enqueue this PR at the top of the merge queue where it will be included in the next deploy. Use this for non-emergency situations.
    - Emergency handling procedure for this command can be found here.
  • /shipit --emergency: Merge this PR directly into main and deploy to all environments once all require_for_emergency CI checks pass. Please be aware that changes deployed with this command will not be automatically rolled back.

Commands exclusive to Deploy Before Merge

  • /cancel --emergency: Eject this PR from the merge and rollback any deployments containing this PR.

Documentation

Questions or feedback?

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.

[polaris.shopify.com] Missing a / in the link to edit docs page

2 participants