rill
rill copied to clipboard
Fix dashboard dimension search bug
Fixes APP-581: Dashboard dimension search failing with trailing spaces.
Previously, searching for a dimension with a trailing space (e.g., "site ") would incorrectly return "No matching dimensions". This change trims the search input before filtering, ensuring that leading or trailing whitespace does not interfere with matching dimensions.
Checklist:
- [ ] Covered by tests
- [ ] Ran it and it works as intended
- [x] Reviewed the diff before requesting a review
- [ ] Checked for unhandled edge cases
- [x] Linked the issues it closes
- [ ] Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
- [ ] Intend to cherry-pick into the release branch
- [x] I'm proud of this work!
Linear Issue: APP-581