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(CanvasForm): Use component Title in CanvasForm #1858

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Dec 16, 2024

Context

Currently, the component name is being used as the title in the CanvasForm.

Changes

This commit uses the corresponding Title property if available from components, EIPs, and Kamelets, and the ID as a last resort.

Before After
image image
image image
image image

fix: #1462
prerequisite of: #1699

@lordrip lordrip force-pushed the feat/use-catalog-title branch from 6838f60 to df3353f Compare December 16, 2024 11:25
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

Attention: Patch coverage is 93.05556% with 5 lines in your changes missing coverage. Please review.

Project coverage is 78.99%. Comparing base (001a9b4) to head (ee781f4).
Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
...c/models/visualization/flows/pipe-visual-entity.ts 86.66% 2 Missing ⚠️
packages/ui/src/utils/pipe-custom-schema.ts 50.00% 2 Missing ⚠️
...odels/visualization/flows/kamelet-visual-entity.ts 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1858      +/-   ##
============================================
+ Coverage     78.62%   78.99%   +0.37%     
  Complexity      365      365              
============================================
  Files           439      465      +26     
  Lines         14234    14561     +327     
  Branches       2769     2792      +23     
============================================
+ Hits          11191    11502     +311     
- Misses         2954     2970      +16     
  Partials         89       89              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lordrip lordrip force-pushed the feat/use-catalog-title branch 3 times, most recently from b61224e to 0aa3d6f Compare December 16, 2024 12:53
@lordrip lordrip marked this pull request as ready for review December 16, 2024 13:15
Currently, the component name is being used as the title in the
`CanvasForm`.

This commit uses the corresponding `Title` property if available from
components, eips and kamelets, and the `ID` as a last resort.

fix: KaotoIO#1462
prerequisite of: KaotoIO#1699
@lordrip lordrip force-pushed the feat/use-catalog-title branch from 0aa3d6f to ee781f4 Compare December 16, 2024 13:26
Copy link

sonarcloud bot commented Dec 16, 2024

@lordrip lordrip merged commit fc5495b into KaotoIO:main Dec 16, 2024
13 checks passed
@lordrip lordrip deleted the feat/use-catalog-title branch December 16, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use title from the catalog for the title in the config panel for the "Processors" (akak EIP)
2 participants