twenty
twenty copied to clipboard
Show Page - Relation field - Add "All" button
Context
See #3099
For this issue:
- In the Show Page, in the Relation field sections: add the "All ([record nb])" button.
- On click, navigate to the related Object's table page, with a filter on the related field. Example: on the "Qonto" company show page, when I click on the "People" > "All" button, I navigate to the People table page, with a filter set for: "Company: Qonto".
- To refine:
- Introduce a
temporaryViewFiltersState
Recoil state? It overridescurrentViewFiltersScopedFamilyState
when it is set, with only the filter on the related field. - Or introduce an url parameter to override the current view?
- Introduce a
Figma
https://www.figma.com/file/xt8O9mFeLl46C5InWwoMrN/Twenty?type=design&node-id=17315%3A103370&mode=dev