-
Notifications
You must be signed in to change notification settings - Fork 9
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
UIREC-291: add dropdown action buttons #468
Conversation
Jest Unit Test Statistics180 tests +5 179 ✔️ +5 2m 50s ⏱️ -1s Results for commit 1398cf8. ± Comparison against base commit 4543d7b. This pull request removes 1 and adds 6 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
src/TitleDetails/AddPieceModal/ModalActionButtons/ModalActionButtons.js
Outdated
Show resolved
Hide resolved
It seems that "Save and create another" not working after changes |
chrome_S8ZMwxqk63.mp4 |
And I don't think we need "Delete" action for a new piece form |
Since we have the new action for "Save & create another", "Save&close" button should always save a piece and close the modal. Currently after clicking "Save & create another", Saving flow has to be updated according to new requirements. chrome_lPD4I6JE5k.mp4 |
@usavkov-epam here is the screen record for fixing Screen.Recording.2023-12-13.at.7.11.04.PM.mov |
change('isCreateAnother', true); | ||
onSave(e); | ||
}, [change, onSave]); | ||
handleSubmit(); |
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.
what about the validation on abandoned holdings b57abfd#diff-3dc65bda5cd25a0bdfd88592bcb6c213a492a05738d4bda9e2bcac1352bac488R115
will it be applied for the "save & create another" action?
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.
I've checked locally - it's not
border-top-left-radius: 0; | ||
margin-left: -1px; | ||
|
||
&::before, &:focus::before { |
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.
UX of the dropdown btn should be the same as for other btns
}} | ||
> | ||
<DropdownMenu data-role="menu"> | ||
{actionMenus} |
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.
why is it plural?
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Purpose
UIREC-291 - Combine piece action buttons into action menu
Approach
Screen.Recording.2023-12-13.at.4.55.49.PM.mov
TODOS and Open Questions
Learning
Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.
If there are breaking changes, please STOP and consider the following:
Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment. Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.