Resolve "Add view filter where link row contains"
Merge Request Checklist
-
changelog.md has been updated if required -
Documentation has been updated -
Quality Standards are met -
The UI/UX has been updated following UI Style Guide -
The redoc API pages have been updated for any REST API changes -
The per database user API docs page has been updated for any REST API changes made to endpoints which can be accessed via a user created token -
Has performance been considered and tested when appropriate? Ideally Baserow should be performant when working with hundreds of thousands of rows -
New/Changed Premium features are separated correctly in the premium folder
Closes #163 (closed)
What has changed
This newly introduced filter called link_row_has
makes it possible to filter rows based on if a link row value contains a relationship with the selected row. Newly introduced is the filter preload_values
which, in this case, preloads the display name of the related row to improve the user experience. The preloading is done just before a view filter is serialized.
Testing pointers
- It should be possible to choose a row in the related table when using this filter.
- Switching between filter types and fields should work.
- The primary field name of the related row should be visible as value.
- Real time collaboration should update the visible name of the chosen row.
- The web-frontend filter check should work.
- All the filter inputs should be tested because I refactored some parts.
Edited by Bram Wiepjes