[COMPASS-7326] Add Bulk Delete modal Created: 11/Oct/23  Updated: 23/Oct/23  Resolved: 20/Oct/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.41.0

Type: Task Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Kevin Mas Ruiz
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-7333 Add Delete button next to querybar Closed
is depended on by COMPASS-7328 Add Delete Toast Closed
is depended on by COMPASS-7335 Add an export to language button to t... Closed
Epic Link: COMPASS-6671
Story Points: 3
Documentation Changes: Not Needed

 Description   

Could split this into sub-tasks, but basically:

  • how many documents will be deleted?
  • the filter (readonly)
  • an area with some preview documents (3 or 5 - make it a constant we can change later). Use the same component we use elsewhere (Documents and Aggregations tabs) to display the documents
  • Delete button that will close the modal and show a confirmation modal if clicked
  • If confirmation is confirmed close the modal and do the update. We'll do Deleting, Done and Error toasts in another ticket.


 Comments   
Comment by Githook User [ 23/Oct/23 ]

Author:

{'name': 'Kevin Mas Ruiz', 'email': 'kevin.mas@hey.com', 'username': 'kmruiz'}

Message: feat: delete bulk operation modal COMPASS-7326 (#5005)

  • chore: e2e flow
  • chore: add bulk state in a new substate
  • chore: add todo markers
  • chore: styling
  • chore: more styling 💅
  • chore: linting
  • chore: add dependency to query-parser
  • chore: more styling
  • chore: fix height of preview
  • chore: linting
  • chore: fix package-lock.json
  • chore: fix package-lock
  • chore: fix tests
  • chore: test modal
  • chore: oops i did it again, remove the .only
  • chore: remove unused imports
  • chore: test bulk dialog
  • chore: last minute design changes
Comment by Githook User [ 23/Oct/23 ]

Author:

{'name': 'Kevin Mas Ruiz', 'email': 'kevin.mas@hey.com', 'username': 'kmruiz'}

Message: feat: delete bulk operation modal COMPASS-7326 (#5005)

  • chore: e2e flow
  • chore: add bulk state in a new substate
  • chore: add todo markers
  • chore: styling
  • chore: more styling 💅
  • chore: linting
  • chore: add dependency to query-parser
  • chore: more styling
  • chore: fix height of preview
  • chore: linting
  • chore: fix package-lock.json
  • chore: fix package-lock
  • chore: fix tests
  • chore: test modal
  • chore: oops i did it again, remove the .only
  • chore: remove unused imports
  • chore: test bulk dialog
  • chore: last minute design changes
Comment by Githook User [ 23/Oct/23 ]

Author:

{'name': 'Kevin Mas Ruiz', 'email': 'kevin.mas@hey.com', 'username': 'kmruiz'}

Message: feat: delete bulk operation modal COMPASS-7326 (#5005)

  • chore: e2e flow
  • chore: add bulk state in a new substate
  • chore: add todo markers
  • chore: styling
  • chore: more styling 💅
  • chore: linting
  • chore: add dependency to query-parser
  • chore: more styling
  • chore: fix height of preview
  • chore: linting
  • chore: fix package-lock.json
  • chore: fix package-lock
  • chore: fix tests
  • chore: test modal
  • chore: oops i did it again, remove the .only
  • chore: remove unused imports
  • chore: test bulk dialog
  • chore: last minute design changes
Comment by Githook User [ 23/Oct/23 ]

Author:

{'name': 'Kevin Mas Ruiz', 'email': 'kevin.mas@hey.com', 'username': 'kmruiz'}

Message: feat: delete bulk operation modal COMPASS-7326 (#5005)

  • chore: e2e flow
  • chore: add bulk state in a new substate
  • chore: add todo markers
  • chore: styling
  • chore: more styling 💅
  • chore: linting
  • chore: add dependency to query-parser
  • chore: more styling
  • chore: fix height of preview
  • chore: linting
  • chore: fix package-lock.json
  • chore: fix package-lock
  • chore: fix tests
  • chore: test modal
  • chore: oops i did it again, remove the .only
  • chore: remove unused imports
  • chore: test bulk dialog
  • chore: last minute design changes
Comment by Githook User [ 20/Oct/23 ]

Author:

{'name': 'Kevin Mas Ruiz', 'email': 'kevin.mas@hey.com', 'username': 'kmruiz'}

Message: feat: delete bulk operation modal COMPASS-7326 (#5005)

  • chore: e2e flow
  • chore: add bulk state in a new substate
  • chore: add todo markers
  • chore: styling
  • chore: more styling 💅
  • chore: linting
  • chore: add dependency to query-parser
  • chore: more styling
  • chore: fix height of preview
  • chore: linting
  • chore: fix package-lock.json
  • chore: fix package-lock
  • chore: fix tests
  • chore: test modal
  • chore: oops i did it again, remove the .only
  • chore: remove unused imports
  • chore: test bulk dialog
  • chore: last minute design changes
Comment by Githook User [ 20/Oct/23 ]

Author:

{'name': 'Kevin Mas Ruiz', 'email': 'kevin.mas@hey.com', 'username': 'kmruiz'}

Message: feat: delete bulk operation modal COMPASS-7326 (#5005)

  • chore: e2e flow
  • chore: add bulk state in a new substate
  • chore: add todo markers
  • chore: styling
  • chore: more styling 💅
  • chore: linting
  • chore: add dependency to query-parser
  • chore: more styling
  • chore: fix height of preview
  • chore: linting
  • chore: fix package-lock.json
  • chore: fix package-lock
  • chore: fix tests
  • chore: test modal
  • chore: oops i did it again, remove the .only
  • chore: remove unused imports
  • chore: test bulk dialog
  • chore: last minute design changes
Comment by Githook User [ 19/Oct/23 ]

Author:

{'name': 'Kevin Mas Ruiz', 'email': 'kevin.mas@hey.com', 'username': 'kmruiz'}

Message: Merge branch 'main' into feature/COMPASS-7326
Branch: feature/COMPASS-7326
https://github.com/mongodb-js/compass/commit/466e1de0883a691350acf251e6c6d0f75848ff8b

Generated at Wed Feb 07 22:46:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.