Description
Why?
Most entity pages do not need tabs, but the ones that do need it, really need it.
Cameron Collins
See the feedback linked to this Feature: some key Entity Views (e.g. Project, Contact, Employee) gradually get overwhelming with too many Fields. This leads to two major problems:
Use cases
It shouldn’t be intimidating to open up entity views. Someone new to Fibery doing a specific workflow (ex. adding a new contact) should be able to open the entity view and easily see what they should and shouldn’t edit with minimal training.
Dimitri
Here the ways to slice information into multiple Entity Views:
Special cases
How
Starting point
All Databases start with a single Entity View. Moreover, most Databases won't ever need multiple Entity Views , so we should keep the UI clean by default even for those who can manage a DB (mind ).
Thus, there is no Entity Views switcher by default. Instead, we utilize the existing Manage Fields & Layout control to enable it.
This control is used by the right people in the right context, so it only makes sense to enable multiple Entity Views from here.
We can also proactively Suggest multiple Entity Views when too many Fields are displayed. Only mature and complex DBs need multiple Entity Views so we Require Pro plan to create multiple Entity Views. Note, that we show Pro badge near the title. On Pro Plan, we show the Pro ✓ badge.
Switcher
Once Multiple Views are enabled, the switcher appears for everyone showing one View:
By default, we name Views in View N+1 format: View 1, View 2, View 10. User is free to rename a View from (…) menu
User can Add new Views via + Add View button, rename, duplicate and delete a view via (…) menu. A link to user guide on Multiple Views should also be provided (and created)
The list of Entity Views is the same for everyone for now.
The first Entity View opens by default (for now)
When a user switches between Entity Views, we remember the selection per User per Database [per device].
If user creates N views and turns Multiple Views off = we are reverting to first View (default)
If user creates N views and turns Multiple Views off = we don't delete them. We store keep them hidden until he turns on Views again
🦄 Allow undo of deleted views. Show toast <View name> deleted [Undo]
These settings are saved per Entity View per DB
Layout (1 or 2 Column)
Positioning of Field units
Hidden or Visible Field units
Visualisation option for Field units
"Hidden when empty" setting for Field units
Pinned units, their order & "Display as" (for 2 Column layout)
These settings are saved per user per DB. If user changes it on one Entity View, it won't affect other Views
Personalized and conditional defaults are out of scope of the first release:
In the future, we might specify a default Entity View per User/Group
Or introduce conditional defaults, when first Entity View is defined via other Field value (or Formula?)
Personal Entity Views (similar to My Filters) might be added later, so people don't have to rely on Creators.
New Entity View defaults
Managing Entity Views
Switcher:
There is always at least one Entity View, the last one can't be deleted.
Every Entity View has a name, it doesn't have to be unique to simplify the development.
Entity Views can be reordered via drag'n'drop.
Context menu:
Fields and layouts:
Entity Views are configured independently of each other.
Any Field can be present on any number of Entity Views, from zero to ∞.
Entity Views of the same DB can have different layouts.
update(Type) capability is required to create, update, and delete Entity Views.
Navigation
❓ How do I display two Entity Views for the same Entity side by side? For example [Feature #32] Feedback + [Feature #32] Planning.
Navigate to correct Entity View from search results: rich text (Field or comment) which satisfies the query might be on any of the Entity Views.
Notes
Figma
https://www.figma.com/design/PNuydKoOLiNlszgQOI2hyr/PA---Entity-View?node-id=16249-30117&t=41tChLSoaf6hiWTl-1
🦄 Next
Avoid unnecessary switching:
Add functionality: