[COMPASS-6018] User lands on an empty view after deleting a collection Created: 16/Aug/22  Updated: 29/Oct/23  Resolved: 15/Feb/23

Status: Closed
Project: Compass
Component/s: Collection, UI / UX
Affects Version/s: 1.32.6
Fix Version/s: 1.36.0

Type: Bug Priority: Minor - P4
Reporter: Claudia De Angelis Assignee: Le Roux Bodenstein
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2022-08-16 at 10.12.37.png    
Issue Links:
Related
related to COMPASS-6434 User stays in the same view after dro... Closed
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Seahorse, Iteration Turtle, Iteration Unicornfish, Iteration Velvet Crab

 Description   

Steps to Reproduce

  • delete a collection
  • a new empty view is shown (empty screen with nothing in it)

Expected Results

After deleting a collection, the user should be taken to the database view (where the deleted collection was) with the list of collections.

 



 Comments   
Comment by Githook User [ 01/Mar/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: feat(collections): when dropping a collection or database, redirect to either the database or databases view COMPASS-6018, COMPASS-6434 (#3972)

  • when deleting a collection, redirect to either the database or databases view
  • e2e test for the redirect
  • redirect to databases when dropping a database
  • active database/collection dropped only
  • e2e test tweaks
  • Update packages/compass-e2e-tests/tests/instance-sidebar.test.ts

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>

  • linting
  • fix selector used in e2e tests
  • WIP test outline
  • e2e tests for redirects after dropping collections and databases

---------

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>
Branch: github-link
https://github.com/mongodb-js/compass/commit/dffa686d00cda7becbc1ba0338d4e5d0e18b0361

Comment by Githook User [ 27/Feb/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: feat(collections): when dropping a collection or database, redirect to either the database or databases view COMPASS-6018, COMPASS-6434 (#3972)

  • when deleting a collection, redirect to either the database or databases view
  • e2e test for the redirect
  • redirect to databases when dropping a database
  • active database/collection dropped only
  • e2e test tweaks
  • Update packages/compass-e2e-tests/tests/instance-sidebar.test.ts

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>

  • linting
  • fix selector used in e2e tests
  • WIP test outline
  • e2e tests for redirects after dropping collections and databases

---------

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>
Branch: 1.35-releases
https://github.com/mongodb-js/compass/commit/dffa686d00cda7becbc1ba0338d4e5d0e18b0361

Comment by Githook User [ 15/Feb/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: feat(collections): when dropping a collection or database, redirect to either the database or databases view COMPASS-6018, COMPASS-6434 (#3972)

  • when deleting a collection, redirect to either the database or databases view
  • e2e test for the redirect
  • redirect to databases when dropping a database
  • active database/collection dropped only
  • e2e test tweaks
  • Update packages/compass-e2e-tests/tests/instance-sidebar.test.ts

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>

  • linting
  • fix selector used in e2e tests
  • WIP test outline
  • e2e tests for redirects after dropping collections and databases

---------

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>
Branch: remove-tracking-defaults
https://github.com/mongodb-js/compass/commit/dffa686d00cda7becbc1ba0338d4e5d0e18b0361

Comment by Githook User [ 15/Feb/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: feat(collections): when dropping a collection or database, redirect to either the database or databases view COMPASS-6018, COMPASS-6434 (#3972)

  • when deleting a collection, redirect to either the database or databases view
  • e2e test for the redirect
  • redirect to databases when dropping a database
  • active database/collection dropped only
  • e2e test tweaks
  • Update packages/compass-e2e-tests/tests/instance-sidebar.test.ts

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>

  • linting
  • fix selector used in e2e tests
  • WIP test outline
  • e2e tests for redirects after dropping collections and databases

---------

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>
Branch: main
https://github.com/mongodb-js/compass/commit/dffa686d00cda7becbc1ba0338d4e5d0e18b0361

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