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: render pipeline warnings as line annotations #831

Merged
merged 9 commits into from
Jan 10, 2025

Conversation

plyr4
Copy link
Contributor

@plyr4 plyr4 commented Jan 3, 2025

this is the first iteration for rendering pipeline warnings in the UI
see: go-vela/community#1009
and also server changes: go-vela/server#1232

Examples

Screenshot 2025-01-03 at 3 11 30 PM

Expanded Pipeline

The line numbers become inaccurate, so i shielded the experience by disabling the line annotations and buttons when the pipeline is expanded, and showing a note: .

Screenshot 2025-01-03 at 3 10 34 PM

@plyr4 plyr4 requested a review from a team as a code owner January 3, 2025 21:15
src/elm/Vela.elm Outdated Show resolved Hide resolved
src/elm/Vela.elm Outdated Show resolved Hide resolved
Copy link
Member

@wass3rw3rk wass3rw3rk left a comment

Choose a reason for hiding this comment

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

minor: i noticed the line numbers are pretty low contrast on light theme when the line number is disabled (due to template expansion).

image

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

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

lgtm

@wass3rw3rk wass3rw3rk merged commit 1c2b091 into main Jan 10, 2025
13 checks passed
@wass3rw3rk wass3rw3rk deleted the feat/pipeline-warnings branch January 10, 2025 21:15
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.

3 participants