You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 78fd39c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(auth): signing out keeps the list layout for the same person; a change of user still clears it
7
+
8
+
Clause-②: no
9
+
Metadata-protocol: none
10
+
11
+
Column widths, row height and tab order are kept only in the browser, so the sign-out purge (`purgeSignedOutUserClientState`, run by `AuthProvider` on `signOut()` and on every session read that answers "no session", including a session that ended on its own) reset every list at every sign-out. It now keeps the list layout: `localStorage` keys starting `list-layout:` (written by `@object-ui/app-shell`) and `grid-columns-` (the grid's own copy of column widths and order, also used by a record page's related tab). An entry is kept only while it holds that layout and nothing else: view ids, field names, widths and a row height. An entry holding anything more, such as a filter, a search term or record data, is removed like any other key. These keys are kept only in `localStorage`; the same keys in `sessionStorage` are still removed.
12
+
13
+
A different person signing in on that browser still clears everything (`purgePreviousUserClientState` keeps none of these keys), so their lists open at each view's defaults. Nothing changes for an app that writes no keys under these prefixes.
docs(spec): the `compactToolbar` describe says which toolbar is the default and that it draws no Refresh
7
+
8
+
Clause-②: no
9
+
Metadata-protocol: none
10
+
11
+
The `compactToolbar` description on a list view (and the view form's hint for it, which mirrors it) now says what a renderer does when the key is omitted and which toolbar `userActions.refresh` applies to: the compact toolbar (the View settings popover) is on by default, omitted or `true`; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. This matches the `userActions.refresh` description, which already scopes the toggle to the wide toolbar.
12
+
13
+
Description text only: the key, its type, its optionality and the accepted values are unchanged, so every view that parsed before parses the same. The generated reference pages and the English metadata-forms help text carry the new sentence; the translated help texts keep their current wording.
fix(fields): on a phone a lookup's candidates open in a bottom drawer that scrolls by touch
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
On a phone a create or edit form fills the screen as a modal dialog, and a lookup's candidate list opened in a small dropdown rendered outside that dialog. The dialog's scroll lock cancelled every touch move on it, so the list could not be scrolled by touch, and with the keyboard up the dropdown flipped above the field and showed only three or four rows.
11
+
12
+
Below the phone breakpoint (the width at which the search-first people picker already switches to a sheet) the candidate list now opens in a bottom drawer titled with the field's label: the search box at the top, the candidates scrolling by touch in the middle, and quick-create and "show all results" pinned at the bottom. The drawer follows the on-screen keyboard, and the search box is not focused when it opens, so the keyboard comes up only when the user taps it. Quick-create shows under the same rule as on the desktop: only when the field offers it and the user may create the target record. Picking a candidate fills the field and closes the drawer. The desktop dropdown and the list cell's editor are unchanged.
Copy file name to clipboardExpand all lines: content/docs/references/api/protocol.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1995,7 +1995,7 @@ The published metadata item body, opaque by ruling (1C). Shape is the item's own
1995
1995
|**searchableFields**|`string[]`| optional | Fields enabled for search |
1996
1996
|**filterableFields**|`never`| optional |[REMOVED]`view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
|**compactToolbar**|`boolean`| optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover |
1998
+
|**compactToolbar**|`boolean`| optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.|
|**navigation**|`{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }`| optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) |
@@ -2075,7 +2075,7 @@ The published metadata item body, opaque by ruling (1C). Shape is the item's own
2075
2075
|**searchableFields**|`string[]`| optional | Fields enabled for search |
2076
2076
|**filterableFields**|`never`| optional |[REMOVED]`view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
|**compactToolbar**|`boolean`| optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover |
2078
+
|**compactToolbar**|`boolean`| optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.|
|**navigation**|`{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }`| optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) |
Copy file name to clipboardExpand all lines: content/docs/references/data/object.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -416,7 +416,7 @@ const result = ApiMethod.parse(data);
416
416
|**searchableFields**|`string[]`| optional | Fields enabled for search |
417
417
|**filterableFields**|`never`| optional |[REMOVED]`view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
|**compactToolbar**|`boolean`| optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover |
419
+
|**compactToolbar**|`boolean`| optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.|
|**navigation**|`{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }`| optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) |
0 commit comments