Skip to content
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

fix: purchase button disappears #11492

Merged
merged 3 commits into from
Feb 5, 2025
Merged

Conversation

brainbicycle
Copy link
Contributor

@brainbicycle brainbicycle commented Feb 5, 2025

This PR resolves PBRW-412

Description

This is a workaround for the purchase button disappearing after tapping the artsy logo in the purchase flow.

This is happening because this logo redirects to https://www.artsy.net which maps to the Home module, so under the modal navigation happens and this breaks the display of the artwork page. This just prevents navigation in this case.

Follow-up:

This is not a great solution I think it would be better to remove the artsy logo or make tapping a no-op when visiting the checkout pages from Eigen in force.

Screenshots

Before

before-low.mov

After

after-low.mov

PR Checklist

  • I have tested my changes on iOS and Android.
  • I hid my changes behind a feature flag, or they don't need one.
  • I have included screenshots or videos, or I have not changed the UI.
  • I have added tests, or my changes don't require any.
  • I added an app state migration, or my changes do not require one.
  • I have documented any follow-up work that this PR will require, or it does not require any.
  • I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

  • I would like at least one of the reviewers to run this PR on the simulator or device.
Changelog updates

Changelog updates

Cross-platform user-facing changes

  • fix purchase button disappearing in artwork page - brian

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

@brainbicycle brainbicycle self-assigned this Feb 5, 2025
@ArtsyOpenSource
Copy link
Contributor

This PR contains the following changes:

  • Cross-platform user-facing changes (fix purchase button disappearing in artwork page - brian - brainbicycle)

Generated by 🚫 dangerJS against 22b15c1

@brainbicycle brainbicycle merged commit 1b71207 into main Feb 5, 2025
7 checks passed
@brainbicycle brainbicycle deleted the brian/purchase-button-disappears branch February 5, 2025 22:44
brainbicycle added a commit that referenced this pull request Feb 5, 2025
* get rid of now unused native-code-version

* update license date

* don't support redirecting to home from webview
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.

2 participants