(core) Update sort and filter UI

Summary:
The sort and filter UI now has a more unified UI, with similar
capabilities that are accessible from different parts of Grist.
It's now also possible to pin individual filters to the filter bar,
which replaces the old toggle for showing all filters in the
filter bar.

Test Plan: Various tests (browser, migration, project).

Reviewers: jarek, dsagal

Reviewed By: jarek, dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3669
This commit is contained in:
George Gevoian
2022-11-17 15:17:51 -05:00
parent af462fc938
commit 1a6d427339
34 changed files with 1350 additions and 933 deletions

View File

@@ -240,8 +240,8 @@
"Settings_savecommon": "Save as common settings",
"Settings_revertcommon": "Revert to common settings"
},
"FilterBar": {
"AddFilter": "Add Filter"
"FilterConfig":{
"AddColumn": "Add Column"
},
"GridOptions": {
"GridOptions": "Grid Options",
@@ -469,6 +469,20 @@
"SwitchSites":"Switch Sites",
"CreateNewTeamSite":"Create new team site"
},
"SortConfig":{
"AddColumn": "Add Column",
"UpdateData": "Update Data",
"UseChoicePosition": "Use choice position",
"NaturalSort": "Natural sort",
"EmptyValuesLast": "Empty values last"
},
"SortFilterConfig":{
"Save": "Save",
"Revert": "Revert",
"Sort": "SORT",
"Filter": "FILTER",
"UpdateSortFilterSettings": "Update Sort & Filter settings"
},
"ThemeConfig": {
"Appearance": "Appearance ",
"SyncWithOS": "Switch appearance automatically to match system"
@@ -533,7 +547,9 @@
"Customized":"(customized)",
"Modified":"(modified)",
"Empty":"(empty)",
"CustomOptions":"Custom options"
"CustomOptions":"Custom options",
"Sort": "SORT",
"Filter": "FILTER"
},
"aclui": {
"AccessRules": {
@@ -687,13 +703,6 @@
"Rows": "Rows"
},
"ViewConfigTab": {
"Save": "Save",
"Revert": "Revert",
"UpdateData": "Update Data",
"UseChoicePosition": "Use choice position",
"NaturalSort": "Natural sort",
"EmptyValuesLast": "Empty values last",
"AddColumn": "Add Column",
"UnmarkOnDemandTitle": "Unmark table On-Demand?",
"UnmarkOnDemandButton": "Unmark On-Demand",
"UnmarkOnDemandText": "If you unmark table {{- table}}' as On-Demand, its data will be loaded into the calculation engine and will be available for use in formulas. For a big table, this may greatly increase load times.{{- br}}{{-br}}Changing this setting will reload the document for all users.",
@@ -702,8 +711,6 @@
"MakeOnDemandText": "If you make table {{table}} On-Demand, its data will no longer be loaded into the calculation engine and will not be available for use in formulas. It will remain available for viewing and editing.",
"AdvancedSettings": "Advanced settings",
"BigTablesMayBeMarked": "Big tables may be marked as \"on-demand\" to avoid loading them into the data engine.",
"UpdateFilterSettings": "Update Filter settings",
"AddFilter": "Add Filter",
"Form": "Form",
"Compact": "Compact",
"Blocks": "Blocks",

View File

@@ -238,8 +238,8 @@
"Settings_savecommon": "Save common settings",
"Settings_revertcommon": "Revert common settings"
},
"FilterBar": {
"AddFilter": "Ajouter un filtre"
"FilterConfig": {
"AddColumn": "Ajouter une colonne"
},
"GridOptions": {
"GridOptions": "Options de la grille",
@@ -466,6 +466,20 @@
"SwitchSites": "Changer despace",
"CreateNewTeamSite": "Créer un nouvel espace d'équipe"
},
"SortConfig":{
"AddColumn": "Ajouter une colonne",
"UpdateData": "Mettre à jour les données",
"UseChoicePosition": "Use choice position",
"NaturalSort": "Natural sort",
"EmptyValuesLast": "Valeurs vides en dernier"
},
"SortFilterConfig":{
"Save": "Enregistrer",
"Revert": "Restaurer",
"Sort": "TRI",
"Filter": "FILTRE",
"UpdateSortFilterSettings": "Mettre à jour le tri et le filtre"
},
"ThemeConfig": {
"Appearance": "Apparence ",
"SyncWithOS": "Adapter l'apparence au système"
@@ -530,7 +544,9 @@
"Customized": "(personnalisé)",
"Modified": "(modifié)",
"Empty": "(vide)",
"CustomOptions": "Options personnalisées"
"CustomOptions": "Options personnalisées",
"Sort": "TRI",
"Filter": "FILTRE"
},
"aclui": {
"AccessRules": {
@@ -684,13 +700,6 @@
"Rows": "Lignes"
},
"ViewConfigTab": {
"Save": "Enregistrer",
"Revert": "Restaurer",
"UpdateData": "Mettre à jour les données",
"UseChoicePosition": "Use choice position",
"NaturalSort": "Natural sort",
"EmptyValuesLast": "Valeurs vides en dernier",
"AddColumn": "Ajouter une colonne",
"UnmarkOnDemandTitle": "Unmark table On-Demand?",
"UnmarkOnDemandButton": "Unmark On-Demand",
"UnmarkOnDemandText": "If you unmark table {{- table}}' as On-Demand, its data will be loaded into the calculation engine and will be available for use in formulas. For a big table, this may greatly increase load times.{{- br}}{{-br}}Changing this setting will reload the document for all users.",
@@ -699,8 +708,6 @@
"MakeOnDemandText": "If you make table {{table}} On-Demand, its data will no longer be loaded into the calculation engine and will not be available for use in formulas. It will remain available for viewing and editing.",
"AdvancedSettings": "Paramètres avancés",
"BigTablesMayBeMarked": "Big tables may be marked as \"on-demand\" to avoid loading them into the data engine.",
"UpdateFilterSettings": "Régler les filtres",
"AddFilter": "Ajouter un filtre",
"Form": "Formulaire",
"Compact": "Compact",
"Blocks": "Blocs",