Skip to content

Commit b339a38

Browse files
os-muskclaude
andauthored
docs(metadata-protocol): record that hidden does not govern getUiView's default sort (#14493)
`getUiView`'s list branch withholds a declared-`hidden` field from `columns` but still names `created_at` in `sort`. Ruled 2026-09-01: `hidden` governs display, not derived ordering, so the current behaviour is correct. State it beside the `sort:` construction so the next reader does not repair it as residue. Comment only: no behaviour change, no schema change. Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7251bdb commit b339a38

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/metadata-protocol/src/protocol.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8209,6 +8209,7 @@ export class ObjectStackProtocolImplementation implements
82098209
label: fields[f]?.label || f,
82108210
sortable: true
82118211
})),
8212+
// `hidden` withholds the column; it does not govern the derived default sort (ruled 2026-09-01).
82128213
sort: fields['created_at'] ? ([{ field: 'created_at', order: 'desc' }] as any) : undefined,
82138214
searchableFields: columns.slice(0, 3) // Make first few textual columns searchable
82148215
}

0 commit comments

Comments
 (0)