Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

LL-2041 - Feature: Persist all market page settings in store #2492

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

nparigi-ledger
Copy link
Contributor

@nparigi-ledger nparigi-ledger commented May 6, 2022

Screen_Recording_20220506-145555_LL.DEV.mp4

Store all the parameters (sort, time, currency, show favorite) in the store so nothing change when you open again the market page even after restarting the app.

Type

Feature

Context

https://ledgerhq.atlassian.net/browse/LIVE-2041

Parts of the app affected / Test plan

Market page

@github-actions
Copy link

github-actions bot commented May 6, 2022

Thanks for your contribution.
To be groomed for next release, you need to:

  • pass the CI
  • if needed, run /generate-screenshots
  • have a dev review
  • have a QA review

Why /generate-screenshots ?

If your PR contains UI related changes,
it might be necessary to regenerate screenshots.

@nparigi-ledger nparigi-ledger changed the title LL-2041 - Persist all market page settings in store LL-2041 - Feature: Persist all market page settings in store May 6, 2022
@nparigi-ledger nparigi-ledger marked this pull request as ready for review May 6, 2022 13:19
@nparigi-ledger nparigi-ledger requested a review from a team as a code owner May 6, 2022 13:19
@@ -335,61 +357,63 @@ export default function Market({ navigation }: { navigation: any }) {

const renderEmptyComponent = useCallback(
() =>
search ? ( // shows up in case of no search results
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This whole part is just lint to the end of the file

Copy link
Contributor

Choose a reason for hiding this comment

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

I hope you didn't sneak in an easter egg hoping we just trust you and don't review the end of the file 👀

Copy link
Contributor

@ofreyssinet-ledger ofreyssinet-ledger left a comment

Choose a reason for hiding this comment

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

All good with the code, no easter egg found 👍

Copy link

@ychen-ledger ychen-ledger left a comment

Choose a reason for hiding this comment

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

Validated with:

  • LLM 3.0.8-sha.3dd6ad142a04c49b1b18fe0b39738446b5ac934f
  • iOS 14.7/Android 12
  • Starred/Sort/Time/Currency

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants