twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Show Page - Relation field - Add "All" button

Open thaisguigon opened this issue 1 year ago • 0 comments

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 overrides currentViewFiltersScopedFamilyState when it is set, with only the filter on the related field.
      • Or introduce an url parameter to override the current view?

Figma

Image

https://www.figma.com/file/xt8O9mFeLl46C5InWwoMrN/Twenty?type=design&node-id=17315%3A103370&mode=dev

thaisguigon avatar Dec 22 '23 11:12 thaisguigon