kubevela / velaux

The KubeVela User Experience (UX) Platform
Apache License 2.0
138 stars 111 forks source link

Fix: Set default values for traits in VelaUX #913

Open am6737 opened 1 month ago

am6737 commented 1 month ago

Description of your changes

Fixes #650

I have:

Special notes for your reviewer

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 51.08%. Comparing base (2ab672c) to head (0ee5c80). Report is 6 commits behind head on main.

:exclamation: There is a different number of reports uploaded between BASE (2ab672c) and HEAD (0ee5c80). Click for more details.

HEAD has 2 uploads less than BASE | Flag | BASE (2ab672c) | HEAD (0ee5c80) | |------|------|------| |apiserver-unittests|1|0| |server-e2e-tests|2|1|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #913 +/- ## ========================================== - Coverage 59.01% 51.08% -7.94% ========================================== Files 116 116 Lines 19846 16511 -3335 ========================================== - Hits 11713 8435 -3278 - Misses 6696 6833 +137 + Partials 1437 1243 -194 ``` | [Flag](https://app.codecov.io/gh/kubevela/velaux/pull/913/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubevela) | Coverage Δ | | |---|---|---| | [apiserver-unittests](https://app.codecov.io/gh/kubevela/velaux/pull/913/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubevela) | `?` | | | [server-e2e-tests](https://app.codecov.io/gh/kubevela/velaux/pull/913/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubevela) | `51.08% <ø> (+2.77%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubevela#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.