[COMPASS-6411] Errors in embedded mongosh cause the page to resize and overflow Created: 05/Jan/23  Updated: 29/Oct/23  Resolved: 09/Jan/23

Status: Closed
Project: Compass
Component/s: Embedded Shell
Affects Version/s: 1.34.2
Fix Version/s: 1.35.0

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

Attachments: PNG File Screen Shot 2023-01-05 at 3.07.27 PM.png    
Issue Links:
Related
related to COMPASS-6398 In mongoDb compass, On opening mongos... Closed
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Seahorse

 Description   

When an error occurs in mongosh it looks like it causes the page to overflow the bounds. In the screenshot you can see the right side collection toolbar options are not shown as they're off the page and there is no scrollbar.

We should instead make the error scrollable similar to how we handle other shell output.
While we're there lets make sure other things that the browser-repl can show do not have the ability to overflow.



 Comments   
Comment by Githook User [ 13/Jan/23 ]

Author:

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

Message: fix(compass-shell): set width of compass shell to avoid overflow COMPASS-6411 (#3945)
Branch: more-darkmode-support-2
https://github.com/mongodb-js/compass/commit/547ca584047fb1273434be69a62df67aba055f65

Comment by Githook User [ 12/Jan/23 ]

Author:

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

Message: fix(compass-shell): set width of compass shell to avoid overflow COMPASS-6411 (#3945)
Branch: regression-test-for-identify
https://github.com/mongodb-js/compass/commit/547ca584047fb1273434be69a62df67aba055f65

Comment by Githook User [ 10/Jan/23 ]

Author:

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

Message: fix(compass-shell): set width of compass shell to avoid overflow COMPASS-6411 (#3945)
Branch: COMPASS-6388-focus-modal-content
https://github.com/mongodb-js/compass/commit/547ca584047fb1273434be69a62df67aba055f65

Comment by Githook User [ 10/Jan/23 ]

Author:

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

Message: fix(compass-shell): set width of compass shell to avoid overflow COMPASS-6411 (#3945)
Branch: 1.35-releases
https://github.com/mongodb-js/compass/commit/547ca584047fb1273434be69a62df67aba055f65

Comment by Githook User [ 10/Jan/23 ]

Author:

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

Message: fix(compass-shell): set width of compass shell to avoid overflow COMPASS-6411 (#3945)
Branch: import-export-api
https://github.com/mongodb-js/compass/commit/547ca584047fb1273434be69a62df67aba055f65

Comment by Githook User [ 09/Jan/23 ]

Author:

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

Message: fix(compass-shell): set width of compass shell to avoid overflow COMPASS-6411 (#3945)
Branch: COMPASS-6142-react-17-dnd-kit
https://github.com/mongodb-js/compass/commit/547ca584047fb1273434be69a62df67aba055f65

Comment by Githook User [ 09/Jan/23 ]

Author:

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

Message: fix(compass-shell): set width of compass shell to avoid overflow COMPASS-6411 (#3945)
Branch: main
https://github.com/mongodb-js/compass/commit/547ca584047fb1273434be69a62df67aba055f65

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