[COMPASS-7152] "Drop collection" name confirmation field is not cleared Created: 29/Aug/23  Updated: 15/Dec/23  Resolved: 29/Aug/23

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

Type: Bug Priority: Major - P3
Reporter: Eden Gottlieb Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Issue Links:
Duplicate
duplicates COMPASS-7035 Clear the "Drop Collection" Modal inp... Closed
is duplicated by COMPASS-7151 Drop Closed
Assigned Teams:
Developer Tools
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

When trying to drop a collection with compass, there's a text field in which you have to type in the collection's name in order to drop it.

If you drop a collection, create it again (via code, not through compass) and then open the "drop collection" dialog again, the text in the "input field" is still populated with the collection's name (cached from the previous time it was dropped), enabling the "drop" button instantly and may lead to unintentionally dropped collection

Steps to Reproduce

Drop a collection, create it again (via code, not through compass) and then open the drop dialog again

Expected Results

I expect the text field for the drop collection confirmation to be cleared.

Actual Results

The text field for the drop collection confirmation should be cleared, to prevent accidental collection drops



 Comments   
Comment by Rhys Howell [ 29/Aug/23 ]

Fixed in COMPASS-7035 - thanks for opening the issue!

Comment by PM Bot [ 29/Aug/23 ]

Hello gsi12344321@gmail.com, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible.

Please review your issue to ensure you've included your environment details and have attached relevant logs (with any sensitive data redacted), so that we're best able to provide you a timely and thorough response. Thanks again!

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