Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions examples/app-showcase/src/ui/views/task.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ export const TaskViews = defineView({
{ field: 'estimate_hours' },
],

// @objectstack/spec ListViewSchema.sort accepts a bare STRING
// ("field [asc|desc]"), not only the {field,order}[] array form. This
// is the exact shape that used to crash the renderer with
// "schema.sort.map is not a function" (objectui#2601) — kept here as a
// live coverage fixture so a real list view exercises the string form.
sort: 'estimate_hours desc',

// ADR-0053 — NO `userFilters` here: on an object list view ("views"
// mode) the console suppresses them by design (the view switcher is
// the only nav control; objectui warns since #2220). End-user filter
Expand Down