Skip to content

Commit b01c091

Browse files
Copilothotlong
andcommitted
feat: restructure ViewConfigPanel with Airtable-style layout, collapsible sections, new appearance/user-action fields, breadcrumb header, and i18n for all 11 locales
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent feb9531 commit b01c091

11 files changed

Lines changed: 741 additions & 246 deletions

File tree

apps/console/src/components/ViewConfigPanel.tsx

Lines changed: 464 additions & 246 deletions
Large diffs are not rendered by default.

packages/i18n/src/locales/ar.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,35 @@ const ar = {
210210
columnsConfigured: '{{count}} أعمدة',
211211
save: 'حفظ',
212212
discard: 'تجاهل',
213+
createView: 'إنشاء عرض',
214+
newView: 'عرض جديد',
215+
advancedEditor: 'محرر متقدم',
216+
typeOptions: 'خيارات النوع',
217+
groupByField: 'حقل التجميع',
218+
startDateField: 'حقل تاريخ البدء',
219+
titleField: 'حقل العنوان',
220+
latitudeField: 'حقل خط العرض',
221+
longitudeField: 'حقل خط الطول',
222+
imageField: 'حقل الصورة',
223+
dateField: 'حقل التاريخ',
224+
selectField: 'اختر حقلاً...',
225+
gridOptionsHint: 'يستخدم عرض الشبكة الأعمدة المكونة أعلاه.',
226+
groupBy: 'تجميع حسب',
227+
prefixField: 'حقل البادئة',
228+
fields: 'الحقول',
229+
fieldsVisible: '{{count}} مرئي',
230+
sortsCount: '{{count}} ترتيبات',
231+
filtersCount: '{{count}} مرشحات',
232+
endDateField: 'حقل تاريخ الانتهاء',
233+
color: 'اللون',
234+
fieldTextColor: 'لون نص الحقل',
235+
rowHeight: 'ارتفاع الصف',
236+
wrapHeaders: 'التفاف العناوين',
237+
showFieldDescriptions: 'إظهار أوصاف الحقول',
238+
collapseAllByDefault: 'طي الكل افتراضياً',
239+
editRecordsInline: 'تحرير السجلات مباشرة',
240+
addDeleteRecordsInline: 'إضافة/حذف السجلات مباشرة',
241+
clickIntoRecordDetails: 'انقر لعرض تفاصيل السجل',
213242
},
214243
localeSwitcher: {
215244
label: 'اللغة',

packages/i18n/src/locales/de.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,35 @@ const de = {
214214
columnsConfigured: '{{count}} Spalten',
215215
save: 'Speichern',
216216
discard: 'Verwerfen',
217+
createView: 'Ansicht erstellen',
218+
newView: 'Neue Ansicht',
219+
advancedEditor: 'Erweiterter Editor',
220+
typeOptions: 'Typoptionen',
221+
groupByField: 'Gruppierungsfeld',
222+
startDateField: 'Startdatumsfeld',
223+
titleField: 'Titelfeld',
224+
latitudeField: 'Breitengradfeld',
225+
longitudeField: 'Längengradfeld',
226+
imageField: 'Bildfeld',
227+
dateField: 'Datumsfeld',
228+
selectField: 'Feld auswählen...',
229+
gridOptionsHint: 'Die Tabellenansicht verwendet die oben konfigurierten Spalten.',
230+
groupBy: 'Gruppieren nach',
231+
prefixField: 'Präfixfeld',
232+
fields: 'Felder',
233+
fieldsVisible: '{{count}} sichtbar',
234+
sortsCount: '{{count}} Sortierungen',
235+
filtersCount: '{{count}} Filter',
236+
endDateField: 'Enddatumsfeld',
237+
color: 'Farbe',
238+
fieldTextColor: 'Feldtextfarbe',
239+
rowHeight: 'Zeilenhöhe',
240+
wrapHeaders: 'Kopfzeilen umbrechen',
241+
showFieldDescriptions: 'Feldbeschreibungen anzeigen',
242+
collapseAllByDefault: 'Standardmäßig alle einklappen',
243+
editRecordsInline: 'Datensätze inline bearbeiten',
244+
addDeleteRecordsInline: 'Datensätze inline hinzufügen/löschen',
245+
clickIntoRecordDetails: 'Klicken für Datensatzdetails',
217246
},
218247
localeSwitcher: {
219248
label: 'Sprache',

packages/i18n/src/locales/en.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,22 @@ const en = {
227227
dateField: 'Date field',
228228
selectField: 'Select field...',
229229
gridOptionsHint: 'Grid view uses the columns configured above.',
230+
groupBy: 'Group by',
231+
prefixField: 'Prefix field',
232+
fields: 'Fields',
233+
fieldsVisible: '{{count}} visible',
234+
sortsCount: '{{count}} sorts',
235+
filtersCount: '{{count}} filters',
236+
endDateField: 'End date field',
237+
color: 'Color',
238+
fieldTextColor: 'Field text color',
239+
rowHeight: 'Row height',
240+
wrapHeaders: 'Wrap headers',
241+
showFieldDescriptions: 'Show field descriptions',
242+
collapseAllByDefault: 'Collapse all by default',
243+
editRecordsInline: 'Edit records inline',
244+
addDeleteRecordsInline: 'Add/delete records inline',
245+
clickIntoRecordDetails: 'Click into record details',
230246
},
231247
localeSwitcher: {
232248
label: 'Language',

packages/i18n/src/locales/es.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,35 @@ const es = {
209209
columnsConfigured: '{{count}} columnas',
210210
save: 'Guardar',
211211
discard: 'Descartar',
212+
createView: 'Crear vista',
213+
newView: 'Nueva vista',
214+
advancedEditor: 'Editor avanzado',
215+
typeOptions: 'Opciones de tipo',
216+
groupByField: 'Campo de agrupación',
217+
startDateField: 'Campo de fecha de inicio',
218+
titleField: 'Campo de título',
219+
latitudeField: 'Campo de latitud',
220+
longitudeField: 'Campo de longitud',
221+
imageField: 'Campo de imagen',
222+
dateField: 'Campo de fecha',
223+
selectField: 'Seleccionar campo...',
224+
gridOptionsHint: 'La vista de cuadrícula usa las columnas configuradas arriba.',
225+
groupBy: 'Agrupar por',
226+
prefixField: 'Campo de prefijo',
227+
fields: 'Campos',
228+
fieldsVisible: '{{count}} visibles',
229+
sortsCount: '{{count}} ordenamientos',
230+
filtersCount: '{{count}} filtros',
231+
endDateField: 'Campo de fecha de fin',
232+
color: 'Color',
233+
fieldTextColor: 'Color del texto del campo',
234+
rowHeight: 'Altura de fila',
235+
wrapHeaders: 'Ajustar encabezados',
236+
showFieldDescriptions: 'Mostrar descripciones de campos',
237+
collapseAllByDefault: 'Contraer todo por defecto',
238+
editRecordsInline: 'Editar registros en línea',
239+
addDeleteRecordsInline: 'Agregar/eliminar registros en línea',
240+
clickIntoRecordDetails: 'Clic para detalles del registro',
212241
},
213242
localeSwitcher: {
214243
label: 'Idioma',

packages/i18n/src/locales/fr.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,35 @@ const fr = {
214214
columnsConfigured: '{{count}} colonnes',
215215
save: 'Enregistrer',
216216
discard: 'Annuler',
217+
createView: 'Créer une vue',
218+
newView: 'Nouvelle vue',
219+
advancedEditor: 'Éditeur avancé',
220+
typeOptions: 'Options de type',
221+
groupByField: 'Champ de regroupement',
222+
startDateField: 'Champ de date de début',
223+
titleField: 'Champ de titre',
224+
latitudeField: 'Champ de latitude',
225+
longitudeField: 'Champ de longitude',
226+
imageField: "Champ d'image",
227+
dateField: 'Champ de date',
228+
selectField: 'Sélectionner un champ...',
229+
gridOptionsHint: 'La vue grille utilise les colonnes configurées ci-dessus.',
230+
groupBy: 'Regrouper par',
231+
prefixField: 'Champ de préfixe',
232+
fields: 'Champs',
233+
fieldsVisible: '{{count}} visibles',
234+
sortsCount: '{{count}} tris',
235+
filtersCount: '{{count}} filtres',
236+
endDateField: 'Champ de date de fin',
237+
color: 'Couleur',
238+
fieldTextColor: 'Couleur du texte du champ',
239+
rowHeight: 'Hauteur de ligne',
240+
wrapHeaders: 'Retour à la ligne des en-têtes',
241+
showFieldDescriptions: 'Afficher les descriptions des champs',
242+
collapseAllByDefault: 'Tout réduire par défaut',
243+
editRecordsInline: 'Modifier les enregistrements en ligne',
244+
addDeleteRecordsInline: 'Ajouter/supprimer des enregistrements en ligne',
245+
clickIntoRecordDetails: "Cliquer pour les détails de l'enregistrement",
217246
},
218247
localeSwitcher: {
219248
label: 'Langue',

packages/i18n/src/locales/ja.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,35 @@ const ja = {
209209
columnsConfigured: '{{count}} 列',
210210
save: '保存',
211211
discard: '破棄',
212+
createView: 'ビューを作成',
213+
newView: '新しいビュー',
214+
advancedEditor: '詳細エディター',
215+
typeOptions: 'タイプオプション',
216+
groupByField: 'グループ化フィールド',
217+
startDateField: '開始日フィールド',
218+
titleField: 'タイトルフィールド',
219+
latitudeField: '緯度フィールド',
220+
longitudeField: '経度フィールド',
221+
imageField: '画像フィールド',
222+
dateField: '日付フィールド',
223+
selectField: 'フィールドを選択...',
224+
gridOptionsHint: 'グリッドビューは上記で設定された列を使用します。',
225+
groupBy: 'グループ化',
226+
prefixField: 'プレフィックスフィールド',
227+
fields: 'フィールド',
228+
fieldsVisible: '{{count}} 件表示',
229+
sortsCount: '{{count}} 件の並べ替え',
230+
filtersCount: '{{count}} 件のフィルター',
231+
endDateField: '終了日フィールド',
232+
color: 'カラー',
233+
fieldTextColor: 'フィールドテキストカラー',
234+
rowHeight: '行の高さ',
235+
wrapHeaders: 'ヘッダーの折り返し',
236+
showFieldDescriptions: 'フィールド説明を表示',
237+
collapseAllByDefault: 'デフォルトですべて折りたたむ',
238+
editRecordsInline: 'インラインでレコードを編集',
239+
addDeleteRecordsInline: 'インラインでレコードを追加/削除',
240+
clickIntoRecordDetails: 'レコード詳細をクリックで表示',
212241
},
213242
localeSwitcher: {
214243
label: '言語',

packages/i18n/src/locales/ko.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,35 @@ const ko = {
209209
columnsConfigured: '{{count}}개 열',
210210
save: '저장',
211211
discard: '취소',
212+
createView: '뷰 생성',
213+
newView: '새 뷰',
214+
advancedEditor: '고급 편집기',
215+
typeOptions: '유형 옵션',
216+
groupByField: '그룹화 필드',
217+
startDateField: '시작 날짜 필드',
218+
titleField: '제목 필드',
219+
latitudeField: '위도 필드',
220+
longitudeField: '경도 필드',
221+
imageField: '이미지 필드',
222+
dateField: '날짜 필드',
223+
selectField: '필드 선택...',
224+
gridOptionsHint: '그리드 뷰는 위에서 구성된 열을 사용합니다.',
225+
groupBy: '그룹화 기준',
226+
prefixField: '접두사 필드',
227+
fields: '필드',
228+
fieldsVisible: '{{count}}개 표시',
229+
sortsCount: '{{count}}개 정렬',
230+
filtersCount: '{{count}}개 필터',
231+
endDateField: '종료 날짜 필드',
232+
color: '색상',
233+
fieldTextColor: '필드 텍스트 색상',
234+
rowHeight: '행 높이',
235+
wrapHeaders: '헤더 줄바꿈',
236+
showFieldDescriptions: '필드 설명 표시',
237+
collapseAllByDefault: '기본적으로 모두 접기',
238+
editRecordsInline: '인라인으로 레코드 편집',
239+
addDeleteRecordsInline: '인라인으로 레코드 추가/삭제',
240+
clickIntoRecordDetails: '레코드 상세 보기 클릭',
212241
},
213242
localeSwitcher: {
214243
label: '언어',

packages/i18n/src/locales/pt.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,35 @@ const pt = {
209209
columnsConfigured: '{{count}} colunas',
210210
save: 'Salvar',
211211
discard: 'Descartar',
212+
createView: 'Criar visualização',
213+
newView: 'Nova visualização',
214+
advancedEditor: 'Editor avançado',
215+
typeOptions: 'Opções de tipo',
216+
groupByField: 'Campo de agrupamento',
217+
startDateField: 'Campo de data de início',
218+
titleField: 'Campo de título',
219+
latitudeField: 'Campo de latitude',
220+
longitudeField: 'Campo de longitude',
221+
imageField: 'Campo de imagem',
222+
dateField: 'Campo de data',
223+
selectField: 'Selecionar campo...',
224+
gridOptionsHint: 'A visualização de grade usa as colunas configuradas acima.',
225+
groupBy: 'Agrupar por',
226+
prefixField: 'Campo de prefixo',
227+
fields: 'Campos',
228+
fieldsVisible: '{{count}} visíveis',
229+
sortsCount: '{{count}} ordenações',
230+
filtersCount: '{{count}} filtros',
231+
endDateField: 'Campo de data de término',
232+
color: 'Cor',
233+
fieldTextColor: 'Cor do texto do campo',
234+
rowHeight: 'Altura da linha',
235+
wrapHeaders: 'Quebrar cabeçalhos',
236+
showFieldDescriptions: 'Mostrar descrições dos campos',
237+
collapseAllByDefault: 'Recolher tudo por padrão',
238+
editRecordsInline: 'Editar registros em linha',
239+
addDeleteRecordsInline: 'Adicionar/excluir registros em linha',
240+
clickIntoRecordDetails: 'Clique para detalhes do registro',
212241
},
213242
localeSwitcher: {
214243
label: 'Idioma',

packages/i18n/src/locales/ru.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,35 @@ const ru = {
209209
columnsConfigured: '{{count}} столбцов',
210210
save: 'Сохранить',
211211
discard: 'Отменить',
212+
createView: 'Создать представление',
213+
newView: 'Новое представление',
214+
advancedEditor: 'Расширенный редактор',
215+
typeOptions: 'Параметры типа',
216+
groupByField: 'Поле группировки',
217+
startDateField: 'Поле даты начала',
218+
titleField: 'Поле заголовка',
219+
latitudeField: 'Поле широты',
220+
longitudeField: 'Поле долготы',
221+
imageField: 'Поле изображения',
222+
dateField: 'Поле даты',
223+
selectField: 'Выберите поле...',
224+
gridOptionsHint: 'Представление таблицы использует столбцы, настроенные выше.',
225+
groupBy: 'Группировать по',
226+
prefixField: 'Поле префикса',
227+
fields: 'Поля',
228+
fieldsVisible: '{{count}} видимых',
229+
sortsCount: '{{count}} сортировок',
230+
filtersCount: '{{count}} фильтров',
231+
endDateField: 'Поле даты окончания',
232+
color: 'Цвет',
233+
fieldTextColor: 'Цвет текста поля',
234+
rowHeight: 'Высота строки',
235+
wrapHeaders: 'Перенос заголовков',
236+
showFieldDescriptions: 'Показать описания полей',
237+
collapseAllByDefault: 'Свернуть всё по умолчанию',
238+
editRecordsInline: 'Редактировать записи встроенно',
239+
addDeleteRecordsInline: 'Добавлять/удалять записи встроенно',
240+
clickIntoRecordDetails: 'Нажмите для просмотра деталей записи',
212241
},
213242
localeSwitcher: {
214243
label: 'Язык',

0 commit comments

Comments
 (0)