-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor & redesign selectors edit dialog (#1964)
- Loading branch information
Showing
61 changed files
with
754 additions
and
750 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
src/i18n-keysets/dash.controls-placement-dialog.edit/en.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/i18n-keysets/dash.controls-placement-dialog.edit/ru.json
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
src/i18n-keysets/dash.extended-settings-dialog.edit/en.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"button_back": "Back", | ||
"button_cancel": "Cancel", | ||
"button_save": "Save", | ||
"context_apply-button": "This option enables a button for applying selectors", | ||
"context_reset-button": "This option enables a button for resetting selectors", | ||
"context_update-controls-on-change": "Once you enable this option, the dependent selectors will have influence on each other before you click Apply.", | ||
"label_apply-button-checkbox": "Apply button", | ||
"label_autoheight-checkbox": "Autoheight", | ||
"label_field-validation": "Invalid width value", | ||
"label_group-name": "Name", | ||
"label_group-parameters": "Group parameters", | ||
"label_note": "Selectors whose width does not fit completely inside the widget that unites a group of selectors will be moved to the next line", | ||
"label_reset-button-checkbox": "Reset button", | ||
"label_selectors-representation": "Selectors representation order and width", | ||
"label_title": "Settings for selectors group", | ||
"label_update-controls-on-change": "Auto-updating dependent selectors", | ||
"value_auto": "Auto", | ||
"value_percent": "%", | ||
"value_pixels": "px" | ||
} |
21 changes: 21 additions & 0 deletions
21
src/i18n-keysets/dash.extended-settings-dialog.edit/ru.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"button_back": "Назад", | ||
"button_cancel": "Отмена", | ||
"button_save": "Сохранить", | ||
"context_apply-button": "Опция включает кнопку для применения селекторов", | ||
"context_reset-button": "Опция включает кнопку для сброса селекторов", | ||
"context_update-controls-on-change": "При включении опции зависимые селекторы будут влиять друг на друга до нажатия кнопки «Применить».", | ||
"label_apply-button-checkbox": "Кнопка «Применить»", | ||
"label_autoheight-checkbox": "Автовысота", | ||
"label_field-validation": "Некорректное значение ширины", | ||
"label_group-name": "Название", | ||
"label_group-parameters": "Параметры группы", | ||
"label_note": "Селекторы, которые по ширине не помещаются в виджет, объединяющий группу селекторов, будут перенесены на следующую строку", | ||
"label_reset-button-checkbox": "Кнопка «Сбросить»", | ||
"label_selectors-representation": "Порядок отображения и ширина селекторов", | ||
"label_title": "Настройки группы селекторов", | ||
"label_update-controls-on-change": "Автообновление зависимых селекторов", | ||
"value_auto": "Авто", | ||
"value_percent": "%", | ||
"value_pixels": "px" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
{ | ||
"button_add-selector": "Add", | ||
"button_add-selector": "Add selector", | ||
"button_cancel": "Cancel", | ||
"button_extended-settings": "Extended settings", | ||
"button_paste-selector": "Paste", | ||
"button_save": "Save", | ||
"button_selectors-placement": "Selector placement", | ||
"context_apply-button": "This option enables a button for applying selectors", | ||
"context_reset-button": "This option enables a button for resetting selectors", | ||
"context_update-controls-on-change": "Once you enable this option, the dependent selectors will have influence on each other before you click Apply.", | ||
"label_apply-button-checkbox": "Apply button", | ||
"label_autoheight-checkbox": "Autoheight", | ||
"label_copy-invalid-control": "Failed to copy selector: some fields did not pass validation", | ||
"label_data": "Data", | ||
"label_default-tab": "Selector {{index}}", | ||
"label_reset-button-checkbox": "Reset button", | ||
"label_filtration": "Filtration", | ||
"label_representation": "Representation", | ||
"label_selector-settings": "Selector settings", | ||
"label_selectors-list": "Selectors", | ||
"label_source": "Source", | ||
"label_title-placement": "Title placement", | ||
"label_update-controls-on-change": "Auto-updating dependent selectors", | ||
"value_title-hidden": "Hidden", | ||
"value_title-placement-left": "Left", | ||
"value_title-placement-top": "Top" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
{ | ||
"button_add-selector": "Добавить", | ||
"button_add-selector": "Добавить селектор", | ||
"button_cancel": "Отменить", | ||
"button_extended-settings": "Расширенные настройки", | ||
"button_paste-selector": "Вставить", | ||
"button_save": "Сохранить", | ||
"button_selectors-placement": "Размещение селекторов", | ||
"context_apply-button": "Опция включает кнопку для применения селекторов", | ||
"context_reset-button": "Опция включает кнопку для сброса селекторов", | ||
"context_update-controls-on-change": "При включении опции зависимые селекторы будут влиять друг на друга до нажатия кнопки «Применить».", | ||
"label_apply-button-checkbox": "Кнопка «Применить»", | ||
"label_autoheight-checkbox": "Автовысота", | ||
"label_copy-invalid-control": "Не удалось скопировать селектор: некоторые его поля заполнены некорректно", | ||
"label_data": "Данные", | ||
"label_default-tab": "Селектор {{index}}", | ||
"label_reset-button-checkbox": "Кнопка «Сбросить»", | ||
"label_filtration": "Фильтрация", | ||
"label_representation": "Отображение", | ||
"label_selector-settings": "Настройки селектора", | ||
"label_selectors-list": "Селекторы", | ||
"label_source": "Источник", | ||
"label_title-placement": "Размещение заголовка", | ||
"label_update-controls-on-change": "Автообновление зависимых селекторов", | ||
"value_title-hidden": "Скрыт", | ||
"value_title-placement-left": "Слева", | ||
"value_title-placement-top": "Сверху" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
src/ui/components/ControlComponents/Sections/AppearanceSection/AppearanceSection.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
.control2-appearance-section { | ||
&__setting-container { | ||
display: flex; | ||
align-items: center; | ||
align-items: flex-start; | ||
min-height: var(--gc-form-row-field-height); | ||
} | ||
|
||
&__setting-checkbox { | ||
margin-right: 8px; | ||
|
||
&_top { | ||
align-self: flex-start; | ||
margin-top: 4px; | ||
} | ||
margin-block-start: var(--g-spacing-1); | ||
margin-inline-end: var(--g-spacing-2); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.