[COMPASS-5671] Update performance tab error banner in Compass to leafygreen Created: 04/Apr/22  Updated: 20/Apr/22  Resolved: 18/Apr/22

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

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

Attachments: PNG File error in toolbar example-1.png     PNG File error outside toolbar exmaple.png    
Epic Link: COMPASS-5484
Story Points: 5
Documentation Changes: Not Needed
Sprint: Iteration Yonkers, Iteration Zanzibar

 Description   

Performance page error banners (compass-server-stats): https://github.com/mongodb-js/compass/blob/main/packages/compass-serverstats/src/components/dberror-component.jsx#L32
Let's fix the bug that hides the displaying of the error banner in the performance page when the view is unmounted and remounted if it's easily done, if that's significant work we can create a ticket and do it another time.

In some of the views we are currently displaying the error banner inside of the toolbar. Let's make sure the performance errors are be displayed inside of the content. (mocks)

Update (with a leafygreen banner in the status row) to

Let's follows the conventions from: https://docs.google.com/document/d/1ZLz_DJYpwTiS_DiPcQMKoLoz2iNxSsMKRTuXXxHb6ak/edit# when making changes.



 Comments   
Comment by Githook User [ 20/Apr/22 ]

Author:

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

Message: chore(compass-serverstats): Move `ErrorSummary` to compass-components, use in compass-serverstats COMPASS-5671 COMPASS-4148 (#2973)
Branch: 1.31-releases
https://github.com/mongodb-js/compass/commit/3677d72fb139d98c3438d8589b30ec942b0a864a

Comment by Githook User [ 19/Apr/22 ]

Author:

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

Message: chore(compass-serverstats): Move `ErrorSummary` to compass-components, use in compass-serverstats COMPASS-5671 COMPASS-4148 (#2973)
Branch: COMPASS-5519-update-collection-header-styles
https://github.com/mongodb-js/compass/commit/3677d72fb139d98c3438d8589b30ec942b0a864a

Comment by Githook User [ 19/Apr/22 ]

Author:

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

Message: chore(compass-serverstats): Move `ErrorSummary` to compass-components, use in compass-serverstats COMPASS-5671 COMPASS-4148 (#2973)
Branch: clustered-collections
https://github.com/mongodb-js/compass/commit/3677d72fb139d98c3438d8589b30ec942b0a864a

Comment by Githook User [ 19/Apr/22 ]

Author:

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

Message: chore(compass-serverstats): Move `ErrorSummary` to compass-components, use in compass-serverstats COMPASS-5671 COMPASS-4148 (#2973)
Branch: 5717-dev
https://github.com/mongodb-js/compass/commit/3677d72fb139d98c3438d8589b30ec942b0a864a

Comment by Githook User [ 14/Apr/22 ]

Author:

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

Message: chore(compass-serverstats): Move `ErrorSummary` to compass-components, use in compass-serverstats COMPASS-5671 COMPASS-4148 (#2973)
Branch: COMPASS-5543
https://github.com/mongodb-js/compass/commit/3677d72fb139d98c3438d8589b30ec942b0a864a

Comment by Githook User [ 14/Apr/22 ]

Author:

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

Message: chore(compass-serverstats): Move `ErrorSummary` to compass-components, use in compass-serverstats COMPASS-5671 COMPASS-4148 (#2973)
Branch: COMPASS-5610-move-maxtime-ms
https://github.com/mongodb-js/compass/commit/3677d72fb139d98c3438d8589b30ec942b0a864a

Comment by Githook User [ 14/Apr/22 ]

Author:

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

Message: chore(compass-serverstats): Move `ErrorSummary` to compass-components, use in compass-serverstats COMPASS-5671 COMPASS-4148 (#2973)
Branch: main
https://github.com/mongodb-js/compass/commit/3677d72fb139d98c3438d8589b30ec942b0a864a

Comment by Githook User [ 14/Apr/22 ]

Author:

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

Message: Merge branch 'main' into COMPASS-5671-update-error-banners-to-lg
Branch: COMPASS-5671-update-error-banners-to-lg
https://github.com/mongodb-js/compass/commit/72d53f0564fe1562eb5d917a80298629d0ac697b

Comment by Githook User [ 14/Apr/22 ]

Author:

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

Message: Merge branch 'main' into COMPASS-5671-update-error-banners-to-lg
Branch: COMPASS-5671-update-error-banners-to-lg
https://github.com/mongodb-js/compass/commit/64b94724c0b3acd4131093d1d3fb91aa9fce1e2a

Comment by Githook User [ 14/Apr/22 ]

Author:

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

Message: Merge branch 'main' into COMPASS-5671-update-error-banners-to-lg
Branch: COMPASS-5671-update-error-banners-to-lg
https://github.com/mongodb-js/compass/commit/d4f392e73ce20039b86637722099f38cf66619bd

Comment by Githook User [ 14/Apr/22 ]

Author:

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

Message: Merge branch 'main' into COMPASS-5671-update-error-banners-to-lg
Branch: COMPASS-5671-update-error-banners-to-lg
https://github.com/mongodb-js/compass/commit/fdec378592a6351fd3dff7cfd03cad54907abc5f

Comment by Githook User [ 13/Apr/22 ]

Author:

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

Message: Merge branch 'main' into COMPASS-5671-update-error-banners-to-lg
Branch: COMPASS-5671-update-error-banners-to-lg
https://github.com/mongodb-js/compass/commit/2434a466aa801885dad939afc1b377abed835b5f

Comment by Githook User [ 11/Apr/22 ]

Author:

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

Message: Merge branch 'main' into COMPASS-5671-update-error-banners-to-lg
Branch: COMPASS-5671-update-error-banners-to-lg
https://github.com/mongodb-js/compass/commit/6d04c943719778abdc87ecd671241ec8782656c7

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