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

feat: add operator (logo, name) and updownio global dashboard page #286

Merged

Conversation

lsagetlethias
Copy link
Contributor

@lsagetlethias lsagetlethias commented Nov 29, 2023

Done

  • add operator optional property to dashlord.yml config
    type Operator = {
      /** Default direction is horizontal */
      logo: string | { src: string; direction: "horizontal" | "vertical" };
      name: string;
    };
  • use title from config in html title when available
  • better handling of json imports (config, report, trends)
  • add .nvmrc file locked to node 14 (version used in actions)
  • remove unused npm lock files as yarn is already in use
  • add path mapping for DX (e.g. @/report.json, @/components/ ; but didn't refacto previous imports yet)
  • add "Disponibilité" global page
    • add UpdownIoDashboard component that uses UpdownIo existing component
    • add title optional props to UpdownIo component and use it when available
    • fix alert display in UpdownIo component when no updownio report is available
    • add updownioStatusPage?: string; optional property to dashlord.yml config to be used as Panel url in "Disponibilité" page
  • fix "current" state on nav links

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@revolunet
Copy link
Member

nice changes thanks !

@revolunet revolunet merged commit 8f9b630 into SocialGouv:main Nov 30, 2023
7 of 8 checks passed
Copy link

🎉 This PR is included in version 1.33.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants