Skip to content

Commit 75aaa32

Browse files
authored
Merge pull request #794 from objectstack-ai/copilot/add-toolbar-visibility-controls
2 parents 749de6c + 74931c8 commit 75aaa32

File tree

13 files changed

+81
-5
lines changed

13 files changed

+81
-5
lines changed

ROADMAP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ ObjectUI is a universal Server-Driven UI (SDUI) engine built on React + Tailwind
251251
2. ~~**Console `renderListView`:** Omits toolbar/display flags from `fullSchema`~~ → Now passes all config properties
252252
3. ~~**`NamedListView` type:** Missing toolbar/display properties~~ → Added as first-class properties
253253
4. ~~**Plugin `renderListView` schema missing toolbar flags:** `renderContent``renderListView` schema did not include `showSearch`/`showFilters`/`showSort`~~ → Now propagated (PR #771)
254-
5. ~~**ListView toolbar unconditionally rendered:** Search/Filter/Sort buttons always visible regardless of schema flags~~ → Now conditionally rendered based on `schema.showSearch`/`showFilters`/`showSort` (PR #771)
254+
5. ~~**ListView toolbar unconditionally rendered:** Search/Filter/Sort buttons always visible regardless of schema flags~~ → Now conditionally rendered based on `schema.showSearch`/`showFilters`/`showSort` (PR #771); `userActions.sort`/`search`/`filter`/`rowHeight`/`addRecordForm` now override toolbar flags (Issue #737)
255255
6. ~~**Hide Fields/Group/Color/Density buttons always visible:** No schema property to control visibility~~ → Added `showHideFields`/`showGroup`/`showColor`/`showDensity` with conditional rendering (Issue #719)
256256
7. ~~**Export toggle broken:** ViewConfigPanel writes `allowExport: boolean` but ListView checks `exportOptions` object~~ → Export now checks both `exportOptions && allowExport !== false`; Console clears `exportOptions` when `allowExport === false` (Issue #719)
257257
8. ~~**`hasExport` logic bug:** `draft.allowExport !== false` was always true when undefined~~ → Fixed to `draft.allowExport === true || draft.exportOptions != null` (Issue #719)

packages/i18n/src/locales/ar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ const ar = {
101101
list: {
102102
recordCount: '{{count}} سجلات',
103103
recordCountOne: '{{count}} سجل',
104+
addRecord: 'إضافة سجل',
104105
},
105106
kanban: {
106107
addCard: 'إضافة بطاقة',

packages/i18n/src/locales/de.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const de = {
100100
list: {
101101
recordCount: '{{count}} Datensätze',
102102
recordCountOne: '{{count}} Datensatz',
103+
addRecord: 'Datensatz hinzufügen',
103104
},
104105
kanban: {
105106
addCard: 'Karte hinzufügen',

packages/i18n/src/locales/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const en = {
100100
list: {
101101
recordCount: '{{count}} records',
102102
recordCountOne: '{{count}} record',
103+
addRecord: 'Add record',
103104
},
104105
kanban: {
105106
addCard: 'Add card',

packages/i18n/src/locales/es.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const es = {
100100
list: {
101101
recordCount: '{{count}} registros',
102102
recordCountOne: '{{count}} registro',
103+
addRecord: 'Agregar registro',
103104
},
104105
kanban: {
105106
addCard: 'Añadir tarjeta',

packages/i18n/src/locales/fr.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const fr = {
100100
list: {
101101
recordCount: '{{count}} enregistrements',
102102
recordCountOne: '{{count}} enregistrement',
103+
addRecord: 'Ajouter un enregistrement',
103104
},
104105
kanban: {
105106
addCard: 'Ajouter une carte',

packages/i18n/src/locales/ja.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const ja = {
100100
list: {
101101
recordCount: '{{count}} 件のレコード',
102102
recordCountOne: '{{count}} 件のレコード',
103+
addRecord: 'レコードを追加',
103104
},
104105
kanban: {
105106
addCard: 'カードを追加',

packages/i18n/src/locales/ko.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const ko = {
100100
list: {
101101
recordCount: '{{count}}개 레코드',
102102
recordCountOne: '{{count}}개 레코드',
103+
addRecord: '레코드 추가',
103104
},
104105
kanban: {
105106
addCard: '카드 추가',

packages/i18n/src/locales/pt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const pt = {
100100
list: {
101101
recordCount: '{{count}} registros',
102102
recordCountOne: '{{count}} registro',
103+
addRecord: 'Adicionar registro',
103104
},
104105
kanban: {
105106
addCard: 'Adicionar cartão',

packages/i18n/src/locales/ru.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const ru = {
100100
list: {
101101
recordCount: '{{count}} записей',
102102
recordCountOne: '{{count}} запись',
103+
addRecord: 'Добавить запись',
103104
},
104105
kanban: {
105106
addCard: 'Добавить карточку',

0 commit comments

Comments
 (0)