Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve dashboard legend #8568

Open
Vadman97 opened this issue May 14, 2024 — with Linear · 2 comments
Open

improve dashboard legend #8568

Vadman97 opened this issue May 14, 2024 — with Linear · 2 comments
Labels

Comments

Copy link
Member

Vadman97 commented May 14, 2024

Screenshot from 2024-05-14 11-08-59.png

  • overflow should be handled by making the popover expand as wide as it needs to be
@Vadman97 Vadman97 added the waterloo label May 14, 2024 — with Linear
Copy link

linear bot commented May 14, 2024

Copy link

greptile-apps bot commented May 14, 2024

To improve the dashboard legend and handle overflow, follow these steps:

  1. Update CustomLegend in LineChart.tsx:

    • Add CSS styles to handle overflow.
    <div className="flex h-full w-full justify-center align-middle overflow-x-auto">
  2. Update Dashboard.tsx:

    • Ensure the Graph component's container handles overflow.
    <Box className="overflow-x-auto">
  3. Update DashboardOverview.tsx:

    • Ensure the dashboard table rows handle overflow.
    <div className="overflow-x-auto">
  4. Update Graph.tsx:

    • Ensure the graph container handles overflow.
    <div className="overflow-x-auto">
  5. Update LatencyChart.tsx:

    • Ensure the latency chart container handles overflow.
    <ResponsiveContainer className="overflow-x-auto">

These changes will ensure that the legends and charts handle overflow properly.

References

/frontend/src/components/LineChart/LineChart.tsx
/frontend/src/pages/Graphing/Dashboard.tsx
/frontend/src/pages/Graphing/DashboardOverview.tsx
/frontend/src/pages/Graphing/components/Graph.tsx
/frontend/src/pages/Traces/LatencyChart.tsx

Ask Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant