Repository navigation
Filter explore results by tag - #184
Merged
Merged
Conversation
- Add Browse.by_tag: locations carry tags, and a tag's experiences, plans and moments are the ones that reach a tagged location, so the scope mirrors by_city_name rather than adding a browses column - Read a tag param on explore, carry it in filter_params so load-more reproduces it, and count it as an active filter for own moments - Offer the curated tag sets in a filter-bar select, handled by the explore Stimulus controller like the city select, with bs/en keys Tests: not run, this machine has no bundle or test database; ruby -c clean on the changed Ruby files.
- Choosing a tag reloads explore with only the places carrying it, and the url names the tag; the controller tests covered the server, this covers the select's wiring in explore_controller.js
misabegovic
marked this pull request as ready for review
October 8, 2026 08:38
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Explore can now be narrowed to one tag, so someone looking for a kind of place sees only places with that tag and the experiences, plans and moments that visit them.
Until now a tag helped only through full text search, which finds the word anywhere but cannot limit results to places carrying the tag. A tag select now sits beside the city select and works the same way: it carries over to load more and clears with the other filters.
It is safe to ship as it is. Nothing is stored or migrated, the tags come from the places already in the database, and with no tag chosen the results are exactly what they are today.
The feature inventory and the open issues list the tag filter as shipped, so the product pages match the code.