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

Filters options linked with DB and consistent with UserPreferences #223

Merged
merged 11 commits into from
May 3, 2024

Conversation

Thimphou
Copy link
Contributor

@Thimphou Thimphou commented May 3, 2024

Description

This PR closes #176 and #179.

Modifications

FilterScreen takes now 4 new parameters to be consistent with the DiscoveryScreenViewModel. Those are selectedLevels, setSelectedLevels, selectedActivityType and setSelectedActivityType.

FilterScreen does now remember your prefered activity to be shown first, and your level into it! If you change sports, you have
this sport level, (and you can change it).

You have also the checkbox for that activates the option to show only "Known data activities", which is basically enabled and set in the ViewModel.

The PR concerning the filters next week should very much beneficiate from this!

@Andy130604 Andy130604 added this to the Milestone 2 milestone May 3, 2024
Copy link

sonarcloud bot commented May 3, 2024

@Thimphou Thimphou merged commit 3ef2afe into main May 3, 2024
3 checks passed
@Andy130604 Andy130604 deleted the filter/linking branch May 4, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants