[COMPASS-6724] Show error state when query bar editor focused Created: 13/Apr/23  Updated: 29/Oct/23  Resolved: 17/Apr/23

Status: Closed
Project: Compass
Component/s: Query Bar, UI / UX
Affects Version/s: None
Fix Version/s: 1.36.4

Type: Bug Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Story Points: 1
Documentation Changes: Not Needed
Sprint: Iteration Zebrafish

 Description   

Currently there's no visual feedback when the Filter/Sort/Project fields are invalid and the editor is focused. Down the line we should show something similar to LeafyGreen editors (the warning icon displayed in the right of the editor). For this ticket let's just make sure there's something visual when the editor is focused.



 Comments   
Comment by Githook User [ 24/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-query-bar): show error border when focused COMPASS-6724 (#4248)
Branch: COMPASS-6530-auto-add-curly-braces
https://github.com/mongodb-js/compass/commit/a7489ff247a303dc5d00f7c4eae58c5f1dd9f0c0

Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-query-bar): show error border when focused COMPASS-6724 (#4248)
Branch: 1.36-releases
https://github.com/mongodb-js/compass/commit/a7489ff247a303dc5d00f7c4eae58c5f1dd9f0c0

Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-query-bar): show error border when focused COMPASS-6724 (#4248)
Branch: stage-wizard-fields
https://github.com/mongodb-js/compass/commit/a7489ff247a303dc5d00f7c4eae58c5f1dd9f0c0

Comment by Githook User [ 17/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-query-bar): show error border when focused COMPASS-6724 (#4248)
Branch: main
https://github.com/mongodb-js/compass/commit/a7489ff247a303dc5d00f7c4eae58c5f1dd9f0c0

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