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

Add Grafana links to Cluster details page #3812

Closed
marians opened this issue Jan 6, 2025 · 4 comments
Closed

Add Grafana links to Cluster details page #3812

marians opened this issue Jan 6, 2025 · 4 comments
Assignees
Labels
honeybadger/ui In Team Honeybadger and dealing with user interfaces team/honeybadger Team Honey Badger ui/backstage The next generation web UI for Giant Swarm

Comments

@marians
Copy link
Member

marians commented Jan 6, 2025

We want two Grafana icons to show up on each cluster details page:

  1. Link to the Grafana Dashboards list page (for the MC that manages the current cluster)
  2. Link to the Grafana Alerts page (for the MC that manages the current cluster)

In addition, we show an icon linking to happa (for the MC that manages the current cluster).

@github-project-automation github-project-automation bot moved this to Inbox 📥 in Roadmap Jan 6, 2025
@marians marians changed the title Add Grafana Icons to Cluster details page Add Grafana links to Cluster details page Jan 6, 2025
@marians marians added team/honeybadger Team Honey Badger honeybadger/ui In Team Honeybadger and dealing with user interfaces ui/backstage The next generation web UI for Giant Swarm labels Jan 6, 2025
@marians
Copy link
Member Author

marians commented Jan 6, 2025

I did this for mockup purposes on the Entity page. The icons are supposed to show up on the cluster details page.

import { HomePageToolkit } from '@backstage/plugin-home';
import { GrafanaIcon } from '../../assets/icons/CustomIcons';

import NotificationsNoneIcon from '@mui/icons-material/NotificationsNone';
import PublicIcon from '@mui/icons-material/Public';

...

const tools = [
  {
    url: 'add dashboards URL here',
    label: 'Dashboards',
    icon: <GrafanaIcon />,
  },
  {
    url: 'add alerts URL here',
    label: 'Alerts',
    icon: <NotificationsNoneIcon />,
  },
  {
    url: 'add happa URL here',
    label: 'Web UI',
    icon: <PublicIcon />,
  },
];

...

<HomePageToolkit title="Tools" tools={tools} />

@marians
Copy link
Member Author

marians commented Jan 6, 2025

FYI @gusevda

@gusevda
Copy link

gusevda commented Jan 6, 2025

I'll take a look

@gusevda gusevda self-assigned this Jan 6, 2025
@marians
Copy link
Member Author

marians commented Jan 8, 2025

Figma mockup

@gusevda gusevda closed this as completed Jan 14, 2025
@github-project-automation github-project-automation bot moved this from Inbox 📥 to Validation ☑️ in Roadmap Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
honeybadger/ui In Team Honeybadger and dealing with user interfaces team/honeybadger Team Honey Badger ui/backstage The next generation web UI for Giant Swarm
Projects
Archived in project
Development

No branches or pull requests

2 participants