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 info about other custom triggers #836

Merged
merged 5 commits into from
Jun 9, 2023

Conversation

NeerajGartia21
Copy link
Collaborator

@NeerajGartia21 NeerajGartia21 commented Jun 6, 2023

Description of your changes

This PR adds curl commands for all types of custom triggers.

Screen.Recording.2023-06-07.at.8.24.15.AM.mov

Fixes #834

I have:

  • Read and followed KubeVela's contribution process.
  • Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
  • Run yarn lint to ensure the frontend changes are ready for review.
  • Run make reviewableto ensure the server changes are ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

Special notes for your reviewer

@codecov
Copy link

codecov bot commented Jun 6, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.12 🎉

Comparison is base (c01aa00) 60.91% compared to head (eb38dfb) 61.04%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #836      +/-   ##
==========================================
+ Coverage   60.91%   61.04%   +0.12%     
==========================================
  Files         110      110              
  Lines       19406    19406              
==========================================
+ Hits        11822    11846      +24     
+ Misses       6122     6103      -19     
+ Partials     1462     1457       -5     
Flag Coverage Δ
apiserver-unittests 33.80% <ø> (-0.07%) ⬇️
server-e2e-tests 49.39% <ø> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 11 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@chivalryq
Copy link
Member

The function looks good to me. I think it will be better to optimize some style.

  1. Tabs are shown under the "Curl Command"
  2. Do not use capsule.
  3. Try to make the colors more coordinated. For example, you can make the selected tab black so it is the same to CopyToClipboard's color.

@NeerajGartia21
Copy link
Collaborator Author

Sure, I will try to implement these styles.

action: 'rollback',
step : 'suspend'
}
}

Check notice

Code scanning / CodeQL

Semicolon insertion Note

Avoid automated semicolon insertion (92% of all statements in
the enclosing function
have an explicit semicolon).
@NeerajGartia21
Copy link
Collaborator Author

Done @chivalryq !

@chivalryq
Copy link
Member

Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
@chivalryq chivalryq merged commit 1c7641e into kubevela:main Jun 9, 2023
15 checks passed
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.

[Feature] Add Info about all the supported actions for the custom triggers in the manual triggers page.
2 participants