-
Notifications
You must be signed in to change notification settings - Fork 5
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
gh-594 Update bulk editor item selection #621
Conversation
* Add child domain type selection to pick more than Data Elements * Change child item selection UI to use detailed selection list * Move breadcrumb component out of catalogue search and into shared module * Restyle the select form * Change buttons in spreadsheet view to make more sense * Clear context when going back to item selection * Support correct root item when bulk editing Data Classes Also resolves gh-582, gh-583 and gh-584 to allow bulk editor to work with more domain types: * Terminologies * Code Sets * Data Classes
This looks good and I found the bulk editing workflow much faster to use 👍 A few usability comments:
|
src/app/bulk-edit/bulk-edit-select/bulk-edit-select.component.ts
Outdated
Show resolved
Hide resolved
src/app/bulk-edit/bulk-edit-select/bulk-edit-select.component.ts
Outdated
Show resolved
Hide resolved
src/app/bulk-edit/bulk-edit-select/bulk-edit-select.component.html
Outdated
Show resolved
Hide resolved
* Rename "Elements" column to "Items" * Add labels to "Validate" and "Save" controls * Capitalise items in child domain type list
Thanks for the feedback @aaronforshaw . Some of this was simple to change, very minor. The terms list I need to look into, I might be able to implement virtual scrolling in the selection list to act as pagination. I wasn't aware of that limitation for term lists. Your other points I will investigate but may push out into separate issues:
|
The 'all' param does not work on that endpoint, so workaround it for now
Virtual scrolling should render the list item DOM options more efficiently when the list is large
@aaronforshaw I've completed all the feedback I can for now. I've created these separate issues to work on 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.
Thanks for addressing all the comments, raising new tickets where necessary.
I just noticed one other issue, which I didn't spot earlier: I think the validate button and indicator should be hidden for the default profile.
@aaronforshaw There is actually one case when we validate the default profile, it checks if the multiplicity value you entered is in the correct format e.g. "0..1" and not some random numbers/characters. To adjust that properly that would probably also require a custom cell editor, which I think would be another issue to raise. |
Resolves #594
Resolves #582
Resolves #583
Resolves #584
Also resolves gh-582, gh-583 and gh-584 to allow bulk editor to work with more domain types:
Note: the selection of profiles is still inside the "selection list" area of the bulk editor. Issue #595 will move that to the tabbed spreadsheet view.
Screenshots
Select different child domain types:
Updated item selection list UI:
Example of Data Classes being bulk edited: