refactor: [M3-6411] - MUI v5 - Components > Tag#9164
refactor: [M3-6411] - MUI v5 - Components > Tag#9164hana-akamai merged 8 commits intolinode:developfrom
Components > Tag#9164Conversation
1 flaky tests on run #3915 ↗︎Details:
|
|||||||||||||||||||||
| Test | Artifacts | |
|---|---|---|
| object storage failure paths > shows error upon object upload failure |
Output
Screenshots
Video
|
|
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.
Components > TabComponents > Tag
mjac0bs
left a comment
There was a problem hiding this comment.
I just noticed this issue in prod where the tag text is illegible on highlight of an item in the search results drop down in light mode. Would you prefer I make a separate ticket?
Screen.Recording.2023-05-25.at.2.03.25.PM.mov
|
@mjac0bs Don't seem to see the issue anymore, can you check again? 🤔 Screen.Recording.2023-05-26.at.9.56.33.AM.mov |
|
@hana-linode You're right, looks good! Not sure what happened -- I thought I verified with this branch as well as prod, but maybe I had another mistakenly checked out. Glad it's fixed here, though! |
mjac0bs
left a comment
There was a problem hiding this comment.
Styling and functionality LGTM other than the one thing I've called out here.
abailly-akamai
left a comment
There was a problem hiding this comment.
Thanks for the changes!
…sLanding (#9046) * Initial idea for RQ events Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Initial working version of useEventsPolling hook Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Re-implementation of useEventsPolling hook Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Completed initial implementation of useEvents hook Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Invalidate events cache when new events are fetched Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Use read instead of seen flag for polling Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Implement polling interval Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Switch to RQ hook for notifications menu Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Switch EventsLanding to RQ hook and enhance top-menu Fixes notification menu button background color disappearing on hover in dark mode Fix Notification menu doesn't close when navigating to EventsLanding Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Implement markEventsAsSeen mutation Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Temporarily re-enable redux polling Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Track previously existing in-progress events Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Remove old test Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Move NotificationMenu styled component to dedicated file * Follow style guide in EventsLanding * Rename TopMenuIconWrapper * fix: Re-add `fs` import to Cypress config (#9199) * add `fs` import * use cleaner import --------- Co-authored-by: Banks Nussman <banks@nussman.us> * refactor: [M3-6382] - MUI v5 - `Components > Radio` (#9185) * move styles to theme and update stories * remove incorrect color --------- Co-authored-by: Banks Nussman <banks@nussman.us> * refactor: [M3-6411] - MUI v5 - `Components > Tag` (#9164) ## Description 📝 Migrate styles for the Tag component ## How to test 🧪 Confirm that there have been no Tag regressions across the app Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com> * refactor: [M3-6412, M3-6413, M3-6650] - MUI v5 - `Components > TagCell, Tags, AddTag` (#9186) ## Description 📝 Migrate styles for the TagCell and AddTag component Update Tags component to match our current patterns ## How to test 🧪 - Check tags around the app for regressions - Ensure the Tags story renders in Storybook --------- Co-authored-by: Hussain Khalil <hussain@sanpilot.co> Co-authored-by: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com> Co-authored-by: Banks Nussman <banks@nussman.us> Co-authored-by: Hana Xu <115299789+hana-linode@users.noreply.github.com> Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
* refactor: [M3-6570] - RQ-ify Events - Part 1: NotificationMenu, EventsLanding (#9046) * Initial idea for RQ events Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Initial working version of useEventsPolling hook Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Re-implementation of useEventsPolling hook Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Completed initial implementation of useEvents hook Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Invalidate events cache when new events are fetched Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Use read instead of seen flag for polling Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Implement polling interval Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Switch to RQ hook for notifications menu Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Switch EventsLanding to RQ hook and enhance top-menu Fixes notification menu button background color disappearing on hover in dark mode Fix Notification menu doesn't close when navigating to EventsLanding Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Implement markEventsAsSeen mutation Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Temporarily re-enable redux polling Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Track previously existing in-progress events Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Remove old test Co-authored-by: Hussain Khalil <hussain@sanpilot.co> * Move NotificationMenu styled component to dedicated file * Follow style guide in EventsLanding * Rename TopMenuIconWrapper * fix: Re-add `fs` import to Cypress config (#9199) * add `fs` import * use cleaner import --------- Co-authored-by: Banks Nussman <banks@nussman.us> * refactor: [M3-6382] - MUI v5 - `Components > Radio` (#9185) * move styles to theme and update stories * remove incorrect color --------- Co-authored-by: Banks Nussman <banks@nussman.us> * refactor: [M3-6411] - MUI v5 - `Components > Tag` (#9164) ## Description 📝 Migrate styles for the Tag component ## How to test 🧪 Confirm that there have been no Tag regressions across the app Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com> * refactor: [M3-6412, M3-6413, M3-6650] - MUI v5 - `Components > TagCell, Tags, AddTag` (#9186) ## Description 📝 Migrate styles for the TagCell and AddTag component Update Tags component to match our current patterns ## How to test 🧪 - Check tags around the app for regressions - Ensure the Tags story renders in Storybook --------- Co-authored-by: Hussain Khalil <hussain@sanpilot.co> Co-authored-by: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com> Co-authored-by: Banks Nussman <banks@nussman.us> Co-authored-by: Hana Xu <115299789+hana-linode@users.noreply.github.com> Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com> * Undo no-longer needed changes to top menu icons * refactor: [M3-6571] - RQ-ify Events - Part 2: Event Handlers (#9293) * Make polling part of EventsInfiniteQuery * Move event utilities to utilities folder * Create events query container * Migrate App events handlers to new events hook * Migrate toast notifications to new hook * Move app event handlers to hook * Finish migrating event handlers * Remove events redux store * Fix failing test * Fix issue causing multiple pages of events to refresh * implement page zero for new events * Optimize/reduce calls to events endpoint * Implement rolling-time polling * Fix events being duplicated * Fix unsupported API filter * Fix index out of bounds bug * Fix broken in-progress events polling * Get rid of separate page zero cache and store new events in first page instead * Undo accidental changes to cachedData * remove leftover pageZero stuff * Fix undefined recent event * Start from page 1 * Feedback @jaalah-akamai * New hook for synchronizing polling intervals * Remove unused exports * Custom implementation of partition util * Sort in-progress events to top * Use events instead of data * Use React.useMemo * Fix state accidental deletion * Clean up useToastNotifications * Add changesets * Remove Redux connector in EventsLanding * Rename to NotificationMenu.styles.ts * nodebalanacer -> nodebalancer * Import from src/components instead of MUI * Replace CombinedProps with EventsLandingProps --------- Co-authored-by: Hussain Khalil <hussain@sanpilot.co> Co-authored-by: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com> Co-authored-by: Banks Nussman <banks@nussman.us> Co-authored-by: Hana Xu <115299789+hana-linode@users.noreply.github.com> Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>


Description 📝
Migrate styles for the Tag component
How to test 🧪
Confirm that there have been no Tag regressions across the app