Skip to content

Comments

fix: fix progressive onboarding tooltips#11715

Merged
artsy-peril[bot] merged 6 commits intomainfrom
dariakoko/fix-progressive-onboarding
Mar 19, 2025
Merged

fix: fix progressive onboarding tooltips#11715
artsy-peril[bot] merged 6 commits intomainfrom
dariakoko/fix-progressive-onboarding

Conversation

@dariakoko
Copy link
Contributor

@dariakoko dariakoko commented Mar 18, 2025

This PR resolves []

Description

Fix progressive onboarding tooltips make app freeze

  • use useDebouncedValue
  • dismiss 'alert-finish' popover when sort and filter modal close
  • hide popovers on save behind a feature flag

Co-authored-by: @MounirDhahri

POPOVERS.webm

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 progressive onboarding tooltips make app freeze

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.

Co-authored-by: Mounir Dhahri <soussouheros@gmail.com>
Co-authored-by: Mounir Dhahri <soussouheros@gmail.com>
@ArtsyOpenSource
Copy link
Contributor

ArtsyOpenSource commented Mar 18, 2025

This PR contains the following changes:

  • Cross-platform user-facing changes (fix progressive onboarding tooltips make app freeze - dariakoko)

Generated by 🚫 dangerJS against db38f22

Copy link
Member

@MounirDhahri MounirDhahri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! this should do it until we revisit our alerts implementation

Comment on lines +354 to +357
jest.mock("app/utils/hooks/useDebouncedValue", () => ({
useDebouncedValue: ({ value }: any) => ({ debouncedValue: value }),
}))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I was just mocking debounce for every test separately
Does your implementation have any risks?

@artsy-peril artsy-peril bot merged commit 7c267b0 into main Mar 19, 2025
7 checks passed
@artsy-peril artsy-peril bot deleted the dariakoko/fix-progressive-onboarding branch March 19, 2025 08:05
MounirDhahri added a commit that referenced this pull request Mar 19, 2025
* fix: popovers blocking the screen
Co-authored-by: Mounir Dhahri <soussouheros@gmail.com>

* fix: dismiss alert-finish at a right place
Co-authored-by: Mounir Dhahri <soussouheros@gmail.com>

* feat: hide tooltip on saved behind a feature flag

* fix: broken tests

* chore: increase duration between taps on android

* fix: ts issue

---------

Co-authored-by: Mounir Dhahri <soussouheros@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants