forked from datalens-tech/datalens-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add undo/redo feature for wizard (datalens-tech#751)
* CHARTS-9301: add redo/undo feature for wizard * Fix icons * Fix passing targetState fields by link * Move history to global store * Revert reset wizard store change, add reset history * Move versioning to diffs * Add feature flag * Fix import * Fix import * Fix jest config * Fix resetting edit history * Fix ql tabs styles * Fix diffs with functions * Fix ignore path list * PR fixes * Fix compatibility between ql and wizard update * Fix new state passing * Fix colors dialog onApply * Fix PR issues * Fix dialog shapes * Add correct qa attributes * Add e2e tests * Add titles * Move jdp to utils * Revert dialog changes * Correct handle of addEditHistoryPoint * Move keys * Add skip for tests while not in production * Translations update from Weblate Gravity for PR datalens-tech#751 (datalens-tech#801) * Translated using Weblate (Russian) Currently translated at 100.0% (7 of 7 strings) Translation: DataLens/component.action-panel.view__751 Translate-URL: https://weblate.gravity-ui.com/projects/datalens/apanchuk-charts-9301-751/component-action-panel-view-751/ru/ * Translated using Weblate (English) Currently translated at 100.0% (7 of 7 strings) Translation: DataLens/component.action-panel.view__751 Translate-URL: https://weblate.gravity-ui.com/projects/datalens/apanchuk-charts-9301-751/component-action-panel-view-751/en/ --------- Co-authored-by: Darya Tikhonova <[email protected]> Co-authored-by: Matthew Casserly <[email protected]> * Fix old keys --------- Co-authored-by: WeblateGravity <[email protected]> Co-authored-by: Darya Tikhonova <[email protected]> Co-authored-by: Matthew Casserly <[email protected]>
- Loading branch information
1 parent
a19f1cd
commit 681eb00
Showing
30 changed files
with
823 additions
and
39 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"button_open-navigation": "Open navigation", | ||
"button_redo": "Restore", | ||
"button_switch-public": "Public access", | ||
"label_breadcrumb-new": "new {{scope}}", | ||
"label_history-changes": "History changes", | ||
"label_history-changes-date-limit": "You can view history for the past three months" | ||
"button_undo": "Undo", | ||
"label_history-changes": "Change history", | ||
"label_history-changes-date-limit": "You can view the history for the past three months" | ||
} |
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,7 +1,8 @@ | ||
{ | ||
"button_open-navigation": "Открыть навигацию", | ||
"button_redo": "Восстановить", | ||
"button_switch-public": "Публичный доступ", | ||
"label_breadcrumb-new": "new {{scope}}", | ||
"button_undo": "Отменить", | ||
"label_history-changes": "История изменений", | ||
"label_history-changes-date-limit": "Доступна история за последние три месяца" | ||
} |
10 changes: 10 additions & 0 deletions
10
src/server/components/features/features-list/EnableEditHistory.ts
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,10 @@ | ||
import {Feature} from '../../../../shared'; | ||
import {createFeatureConfig} from '../utils'; | ||
|
||
export default createFeatureConfig({ | ||
name: Feature.EnableEditHistory, | ||
state: { | ||
development: true, | ||
production: false, | ||
}, | ||
}); |
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
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.