twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
Other
17.84k stars 2.11k forks source link

I can see the workflow versions and runs as RecordTable #6907

Closed thomtrp closed 2 weeks ago

thomtrp commented 1 month ago

We want the workflow versions and executions to be accessible in record table and show page. But we do not want them to always be displayed in the navigation bar to the left. We want these entities to be displayed only when the user clicks on "See versions" or "See executions" from the parent workflow. This is not possible with the current design. Either an entity is system and is not displayed to the left, but also cannot be accessed through record table. Either an entity is not system and will always be in the navigation bar.

To achieve this, we will stop relying on wether an entity is system or not to display it in the navigation menu. Instead, we will add a favorite entity linked to the object views we want to see on the left. Those will be "Workspace Favorites" because they do not have a workspace member associated, as regular favorites. It will allow to:

Steps to achieve this:

1/ Create favorites associated to the active object views https://github.com/twentyhq/twenty/pull/6904

2/ Set versions and runs as non system objects. Create "All" views associated but without favorites

3/ When the entity displayed in the record table do not have favorite, there will be no tab to be selected on the left menu. To avoid this, we will display a temporary tab on the left with the object name.

thomtrp commented 1 month ago

cc @Bonapara @FelixMalfait @Weiko