-
Notifications
You must be signed in to change notification settings - Fork 0
151 add filtering on mymatchespage #154
Merged
Merged
+1,483
−606
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…n PlantSearchForm
4 tasks
alexajah
reviewed
Nov 23, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
veldig mye bra! Eneste er om man skulle tenkt på å style my matches siden ulikt fra explor siden for nå ser de veldig like ut, eksempelvis kunne man gjort explore page mere grønn og beholdt my matches rosa
alexajah
approved these changes
Nov 23, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good after changes!
Sign in
to join this conversation on GitHub.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
My Matches gets the same search, filters and match counts as Explore Plants, and both pages can now also sort by the user's preferences.
Search and filters on My Matches
sessionStorage, like the sort order already was. The matches belong to the user in this browser, so a URL that could be shared would not helpmyMatchestakes the same search and filter arguments asexplorePlants, and counts only among the user's matches. Both use the samefindPlantPageandPlantPagetypePlantSearchFormcomponent, so Explore and My Matches look and work the same, and the filters are defined once inplantFilters.tsSort by preferences
Smaller fixes
.visually-hiddenis global, so hidden text also works on pages opened before ExploreTests
myMatches, and sorting by preferences on both