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(explore-dash): sorting options for All category #638

Merged
merged 5 commits into from
Jan 22, 2024

Conversation

Syn-McJ
Copy link
Member

@Syn-McJ Syn-McJ commented Jan 22, 2024

Issue being fixed or feature implemented

In the All category, the app shows "A-Z / Z-A" sorting options while it should be "by name / by distance", and hidden if the location services are off.

What was done?

  • Alphabetical sorting is removed.
  • "by name / by distance" optoin is added.
  • Hide distance sorting options if location is not allowed.
  • Hide "gift card/dash" description from the filters panel.

How Has This Been Tested?

QA

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@Syn-McJ Syn-McJ requested a review from pankcuf January 22, 2024 04:56
@Syn-McJ Syn-McJ self-assigned this Jan 22, 2024

@objc
func enteredBackround() {
dismiss(animated: false)
Copy link
Member Author

@Syn-McJ Syn-McJ Jan 22, 2024

Choose a reason for hiding this comment

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

Dismiss the filter dialog if the user switches from the app as they might be in the settings to change the location permission. The filters will be refreshed on re-open.

Dynamic view update might be better here, but more complicated.

@Syn-McJ Syn-McJ changed the title fix(explore): sorting options for All category fix(explore-dash): sorting options for All category Jan 22, 2024
Copy link
Collaborator

@pankcuf pankcuf left a comment

Choose a reason for hiding this comment

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

LGTM

@Syn-McJ Syn-McJ merged commit 7258682 into dashpay:develop Jan 22, 2024
1 of 2 checks passed
@Syn-McJ Syn-McJ deleted the fix/explore-sorting branch January 22, 2024 07:11
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.

2 participants