-
Notifications
You must be signed in to change notification settings - Fork 86
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
Implemented alias action UX. #754
Conversation
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
…combo boxes at once. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
…get="_blank"' in the link attributes provides the icon. Updated snapshots. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #754 +/- ##
==========================================
+ Coverage 62.37% 63.40% +1.03%
==========================================
Files 337 340 +3
Lines 11437 11541 +104
Branches 2212 2239 +27
==========================================
+ Hits 7134 7318 +184
+ Misses 3739 3649 -90
- Partials 564 574 +10 |
It looks like the cypress workflow is executing as expected on the 2.x branch. I've created this PR in my fork that executes these checks against the 2.x branch, and all checks succeed. |
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
|
|
public/pages/VisualCreatePolicy/components/UIActions/AliasUIAction.tsx
Outdated
Show resolved
Hide resolved
public/pages/VisualCreatePolicy/components/UIActions/AliasUIAction.tsx
Outdated
Show resolved
Hide resolved
…/remove combo boxes. Implemented a modal to confirm clearing combo box entries when toggling display. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
@AWSHurneyt When disabling one of the toggles, instead of asking to clear the field, can we cache the selections, so if the user decides to toggle back on, the selections are still there? If the user leaves the "Add action" flyout, it will no longer save those selections. |
…based on PR feedback. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Captured some follow-up enhancements Ming brought up in issue #777 |
As mentioned in #754 (comment), the cypress test workflow is currently failing in the |
* Implemented UX component for configuring and editing alias actions. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented unit and integration tests for alias action UX. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored existing test to accommodate addition of alias action UX. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed a bug preventing validation messages from appearing under both combo boxes at once. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removed redundant 'popout' icons from 'Learn more' links. Having 'target="_blank"' in the link attributes provides the icon. Updated snapshots. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added unit tests for AliasUiAction. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored alias action UX to include toggles to hide/display the add/remove combo boxes. Implemented a modal to confirm clearing combo box entries when toggling display. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored UX to remove the alias combo box clear confirmation modal based on PR feedback. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated the 2.8 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> --------- Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit 5f5a172)
* Implemented UX component for configuring and editing alias actions. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented unit and integration tests for alias action UX. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored existing test to accommodate addition of alias action UX. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed a bug preventing validation messages from appearing under both combo boxes at once. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removed redundant 'popout' icons from 'Learn more' links. Having 'target="_blank"' in the link attributes provides the icon. Updated snapshots. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added unit tests for AliasUiAction. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored alias action UX to include toggles to hide/display the add/remove combo boxes. Implemented a modal to confirm clearing combo box entries when toggling display. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored UX to remove the alias combo box clear confirmation modal based on PR feedback. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated the 2.8 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> --------- Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit 5f5a172)
* Implemented UX component for configuring and editing alias actions. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented unit and integration tests for alias action UX. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored existing test to accommodate addition of alias action UX. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed a bug preventing validation messages from appearing under both combo boxes at once. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removed redundant 'popout' icons from 'Learn more' links. Having 'target="_blank"' in the link attributes provides the icon. Updated snapshots. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added unit tests for AliasUiAction. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored alias action UX to include toggles to hide/display the add/remove combo boxes. Implemented a modal to confirm clearing combo box entries when toggling display. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored UX to remove the alias combo box clear confirmation modal based on PR feedback. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated the 2.8 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> --------- Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit 5f5a172) Co-authored-by: AWSHurneyt <hurneyt@amazon.com>
* Implemented UX component for configuring and editing alias actions. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented unit and integration tests for alias action UX. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored existing test to accommodate addition of alias action UX. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed a bug preventing validation messages from appearing under both combo boxes at once. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removed redundant 'popout' icons from 'Learn more' links. Having 'target="_blank"' in the link attributes provides the icon. Updated snapshots. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added unit tests for AliasUiAction. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored alias action UX to include toggles to hide/display the add/remove combo boxes. Implemented a modal to confirm clearing combo box entries when toggling display. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored UX to remove the alias combo box clear confirmation modal based on PR feedback. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated the 2.8 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> --------- Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit 5f5a172) Co-authored-by: AWSHurneyt <hurneyt@amazon.com>
Description
popout
icons fromLearn more
links. Havingtarget="_blank"
in the link attributes provides the icon.Issues Resolved
#374
Screenshots
Blank UX.
UX with valid inputs.
UX with validation errors.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.