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

Angi architecture frontend #2766

Merged
merged 3 commits into from
Jul 11, 2024
Merged

Angi architecture frontend #2766

merged 3 commits into from
Jul 11, 2024

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Jul 10, 2024

Description

Add architecture type visualization in the frontend, between classic and angi. Only applicable for HANA clusters.
Basically, a simple icon.

  • info icon if classic
  • green star icon if angi

The icon is displayed in cluster details view, checks selection view and checks execution results view.
Besides that, the cluster checks selection filters checks with the current architecture (if the cluster is angi, only bring checks with this arch type, filtering out classic specific checks). Even though we don't have such a distinction by now...

angi-icon

How was this tested?

UT and storybook changes added

@arbulu89 arbulu89 added enhancement New feature or request env Create an ephimeral environment for the pr branch labels Jul 10, 2024
@arbulu89 arbulu89 force-pushed the angi-architecture-frontend branch from 6e9675e to 27a2a81 Compare July 10, 2024 12:59
@arbulu89 arbulu89 force-pushed the angi-architecture-frontend branch from 27a2a81 to 4aefb08 Compare July 10, 2024 13:16
@arbulu89 arbulu89 marked this pull request as ready for review July 10, 2024 14:41
@angelabriel
Copy link

I like the implementation. Green Star for Angi 😃

Copy link
Member

@EMaksy EMaksy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done man, i guess there is only one small typo, but besides this lgtm!

{ arch: 'angi', tooltip: 'Angi architecture' },
{ arch: 'classic', tooltip: 'Classic architecture' },
])(
'should show cluster type with $arch architecture',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why $ in arch ? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To interpolate the value of arch value coming in the scenarios

Copy link
Member

@CDimonaco CDimonaco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

:chef_kiss:

@arbulu89 arbulu89 merged commit 6b7be12 into main Jul 11, 2024
26 checks passed
@arbulu89 arbulu89 deleted the angi-architecture-frontend branch July 11, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request env Create an ephimeral environment for the pr branch
Development

Successfully merging this pull request may close these issues.

4 participants