-
Notifications
You must be signed in to change notification settings - Fork 14
Search and Delete Job Codes #411
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
Search and Delete Job Codes #411
Conversation
7cddc2a to
3d99156
Compare
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.
User functionality changes
While deleting multiple job codes at the same time as there is an option at the bottom of the page "delete selected" the "delete" option on single record/checkbox on single record needs to be disabled.
Having a single record delete option is deleting only a single record even when multiple are selected and the "select all" box doesn't clear but each of the single selects gets cleared.
After that the "delete selected" option is still visible to the user and when clicked deletes all the records.
Note: If more than one record is selected, enable "delete selected" option else disable that and keep "delete" option on single record enabled.
Screenshots demonstrating the UI experience
ui/src/app/metadata/detail/metadata-list/metadata-list.component.ts
Outdated
Show resolved
Hide resolved
04c0130 to
0cb85d8
Compare
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.
- Empty pop up showing while "delete" option is disabled. Instead disable the click on three dots.
- "Select all" checkbox needs to reset when:
- All records are deleted
- All records are not selected
- Select all resets if data in table has changed or for new search.
42f3de9 to
39f0839
Compare
9f4aea8 to
9cd2094
Compare
- Add EnableGlobalMethodSecurity annotation in SecurityConfig
- Add id in ApiJobCode (ui & api) - Call request to delete in ui
- Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions.
39f0839 to
71c55ff
Compare
wgu-edwin
left a comment
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.
Looks good to me
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
* Working with pagination * Add sort insensitive * Add job code level and parents * Delete job code * Fix delete test * Remove PaginatedJobCodes * Show job codes in list * Request all on clear search * Delete job code by id - Add id in ApiJobCode (ui & api) - Call request to delete in ui * Show toast when job code is deleted * Add confirm message & reload on delete * Fix broken tests * Update open API * Update table job codes - Sort by code - Remove framework name column * Show parents - Add pipe to show parents * Sort by job code level * Add validation to delete a job code - You cannot delete a jobcode with RSDs - You cannot delete a job code with children * Fix create from api * Add error messages on delete job code * Add test new functions back end * Update texts * Update values for MetadataType * Add new tests * Fix broken tests * Remove unused import * Add id property for job code in open api - Requests are without id and responses are with id. * Delete multiple job codes * Improve notifications on delete * Add back to top * Add abstract list * Fix text on action * Clean selected data after delete one or more job codes * Fix table * Disable delete single if select all is checked * Add property to job code in open api - Matching query is updated until we search, not while we type. - If select all is selected and unselect one job code, select all is unchecked. - Disable dots menu if is without actions. * Uncheck select all if items change * Check all selected if all are selected
News
all Paginatedto request all job codes and filter them (API / UI)Changes
queryparameter inallPaginatedmethod to support search.idinApiJobCodebecause ID is used to delete, update and get a specified job code.