-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
UI: HDS adoption replace <ConfirmAction> component #21520
Merged
hellobontempo
merged 46 commits into
main
from
ui/VAULT-17329/replace-confirm-action-dropdown-with-modal
Nov 17, 2023
Merged
Changes from 29 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
3ba8b36
replace confirm-action dropdown with button+modal
hellobontempo 9c69e5d
add modal frame to sidebar
hellobontempo 4d26f12
fix weird paragraph indent
hellobontempo 8ef70fe
pass button text as arg
hellobontempo e956d34
add warning color to rotate modals
hellobontempo c61423d
Merge branch 'main' into ui/VAULT-17329/replace-confirm-action-dropdo…
hellobontempo bb75f54
Merge branch 'main' into ui/VAULT-17329/replace-confirm-action-dropdo…
hellobontempo 4395212
update seal action and config ssh
hellobontempo b879604
cleanup confirm action
hellobontempo 3e3ea30
edit form
hellobontempo ffd2c5a
add dropdown arg
hellobontempo 1c81900
put back seal text
hellobontempo 2c73e4a
put back confirm button text
hellobontempo 8b59da6
fix toolbar stylinggp
hellobontempo 72be6c9
popup member group
hellobontempo 9fc8854
move up title
hellobontempo a0be23b
finish popup- components
hellobontempo 93419be
keymgmt
hellobontempo 4225667
fix modal button logic
hellobontempo 3c75577
remaining app template components
hellobontempo de38317
add period for angel
hellobontempo 65917e4
vault cluster items
hellobontempo 89ab510
add button text assertion
hellobontempo 3210bf4
remaining instances
hellobontempo 6b9ed16
remove arg for passing confirm text
hellobontempo 5b6c0e7
contextual confirm action components
hellobontempo 16fbe1a
delete old components
hellobontempo 69f2952
update docs
hellobontempo 44904ce
ammend dropdown loading states, add getter for confirm button color
hellobontempo ff4fcc9
address feedback
hellobontempo 0f1c938
remove @disabled arg and add @disabledMessage
hellobontempo 365992a
add changelog;
hellobontempo 7059e1a
mfa tests
hellobontempo e975a28
update test selectors
hellobontempo 8afc847
lol cleanup selectors
hellobontempo 4a33842
start confirm action tests WIP
hellobontempo b60b6c0
Merge branch 'main' into ui/VAULT-17329/replace-confirm-action-dropdo…
hellobontempo e3b5222
move dropdown class directly to component
hellobontempo 56f212f
add default color of isInDropdown
hellobontempo eda92ea
final cleanup
hellobontempo d085494
add tests
hellobontempo 8b2d558
remove @buttonColor as arg for dropdown
hellobontempo 009ddfb
update confirm action tests
hellobontempo 8642aad
updae modals with disabled message
hellobontempo d490985
refactor provider edit test
hellobontempo de200d3
Merge branch 'main' into ui/VAULT-17329/replace-confirm-action-dropdo…
hellobontempo 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,10 @@ | |
|
||
<div class="field is-grouped box is-fullwidth is-bottomless"> | ||
<ConfirmAction | ||
@buttonClasses="button is-primary" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
@buttonText="Seal" | ||
@confirmTitle="Seal this cluster?" | ||
@confirmMessage="You will not be able to read or write any data until the cluster is unsealed again." | ||
@confirmButtonText="Seal" | ||
@horizontalPosition="auto-left" | ||
@onConfirmAction={{this.handleSeal}} | ||
data-test-seal | ||
> | ||
Seal | ||
</ConfirmAction> | ||
/> | ||
</div> |
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,19 @@ | |
width: 100%; | ||
} | ||
|
||
// TODO HDS polish - temp styling fix for ConfirmAction dropdown buttons | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
// so they match other dropdown elements until we replace popup-menu with Hds::Dropdown | ||
.hds-confirm-action-critical { | ||
&:hover { | ||
background-color: $ui-gray-050; | ||
} | ||
div { | ||
margin-left: -$spacing-4; | ||
font-size: $size-7; | ||
font-weight: $font-weight-semibold; | ||
} | ||
} | ||
|
||
button.link, | ||
.ember-power-select-option, | ||
.ember-power-select-option[aria-current='true'], | ||
|
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.
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.