highlight / highlight

highlight.io: The open source, full-stack monitoring platform. Error monitoring, session replay, logging, distributed tracing, and more.
https://app.highlight.io
Other
7.11k stars 320 forks source link

delete old code #8615

Closed Vadman97 closed 1 week ago

Vadman97 commented 2 weeks ago
linear[bot] commented 2 weeks ago

HIG-4680 delete old code

greptile-apps[bot] commented 2 weeks ago

Steps to delete old code and replace components:

  1. Delete Alert Code:

    • Remove /frontend/src/components/Alert/Alert.tsx and /frontend/src/components/Alert/Alert.module.css.
    • Remove alert-related code in /frontend/src/pages/Alerts directory.
  2. Delete Ant Design Component Wrappers:

    • Remove Ant Design wrappers in /frontend/src/components directory.
    • Specifically, delete wrappers for input, menu, modal, button, pillbutton, dropdown, skeleton, user dropdown, select, multiselect.
  3. Replace Components:

    • Replace input components in /frontend/src/components/Input.
    • Replace menu components in /frontend/src/components/Menu.
    • Replace modal components in /frontend/src/components/Modal.
    • Replace button components in /frontend/src/components/Button.
    • Replace pillbutton components in /frontend/src/components/PillButton.
    • Replace dropdown components in /frontend/src/components/Dropdown.
    • Replace skeleton components in /frontend/src/components/Skeleton.
    • Replace user dropdown components in /frontend/src/components/UserDropdown.
    • Replace select components in /frontend/src/components/Select.
    • Replace multiselect components in /frontend/src/components/MultiSelect.
  4. Audit Other Ant Design Components:

    • Search for remaining Ant Design components in the codebase and replace them with new implementations.
    • Ensure all instances of Ant Design components are removed or replaced.

References

/frontend/src/components/Alert /frontend/src/components/Select /frontend/src/components/Modal /frontend/src/components/SearchIssues /frontend/src/components/Switch /frontend/src/pages/Alerts /frontend/src/pages/ErrorsV2/ErrorIssueButton

Ask Greptile