Repository navigation
Minor Changes
-
a6232da: Added: a "Shown fields" menu next to a list's filters hides and shows fields in every layout — table, cards, board, calendar, gallery, items, split — instead of only a table's columns, one table at a time
views.list.fields: { toggle, persist, hidden }: the menu (on by default), where the choice is kept ("local"orfalse), and the fields hidden until the reader shows them.- Fields are data keys, nested ones included: hiding
userhidesuser.name;user.emailcan be hidden alone. <Field name="price">…</Field>anduseFieldVisible("price")let a list component of your own follow the menu;useFieldVisibility()reads and changes the whole choice.- The choice is kept per resource, shared by its layouts, through the new
fieldVisibilityport ofconfigurePorts(read,write, optionalsubscribe):localStorageby default, SSR-safe, or an API. - The table's "Properties" menu keeps the column order; the columns hidden there before are carried over to the new store the first time the list opens.
- Saved views and presets remember the fields hidden as
hiddenFields; a view saved withcolumns.hiddenstill applies it.