-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify workflow for dashboard copy creation in both view and edit interaction modes #180938
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
d28203a
flush dashboard settings button so it aligns
eokoneyo bcaa425
remove save as nav option from dashboard view for existing dashboards
eokoneyo 389e65f
change nav menu item render order to reduce visual jank
eokoneyo 606505d
modify translation key string to match changeset
eokoneyo 6120971
test: align a11y tests to match expectation
eokoneyo e575c4d
changes to accomodate new direction
eokoneyo d2be40e
add modal for saveas and duplicate action in edit and view dashboard …
eokoneyo b0e498d
fix issue with A11y tests
eokoneyo 1b666a2
fix issue with dashboard save related tests
eokoneyo c791131
convert dashboard modal to functional component and add idfferentiato…
eokoneyo 2662018
modify dashboard page objects to account for new duplicate and save a…
eokoneyo 30a9895
add description to differentiate runClone and runSaveAs method
eokoneyo 8893c75
more test fixes
eokoneyo 25c8743
adjust existing tests to accomodate change in dashboard page object m…
eokoneyo 3900781
extend test expectation adjustment to missed occurrence
eokoneyo e32bf84
consolidate saveas and clone methods into new interactiveSave method
eokoneyo 2d3c553
extend new interactive save method to be used in top nav menu items
eokoneyo 1be2054
adjustment to test to accomodate new changes
eokoneyo 93bd157
adjust defaut count for extractTitleAndCount
eokoneyo 7926932
remove comment
eokoneyo 7fd8089
fix issue with dashboard getting scrolled on opening save modal
eokoneyo 7b87800
incorporate feedback on operation property for the saveDashboard page…
eokoneyo b8a4419
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 8b0fc1d
fix failing test relating to dashboard duplication behaviour
eokoneyo 1796bc9
incorporate PR feedback
eokoneyo 472d85b
condense store time description into tooltip
eokoneyo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
53 changes: 35 additions & 18 deletions
53
.../public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Return zero instead of 1 when passed string is not of duplicate format. So we can increment whatever value is returned from this function with reckless abandon on duplicate attempt, other wise if we choose not to do so, the first duplicate dashboard value would be of the form
dashboard name (2)
especially that we wouldn't be able to guard against it.