-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update labels in Markdown editor when workflow labels change. #17863
Update labels in Markdown editor when workflow labels change. #17863
Conversation
cfae4a5
to
df340f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davelopez Thanks for the screencast - I can reproduce the problem but I wrote unit tests so this seems unfair. I think the GUI should what the tests say it should 😆. I'll work on this next week - thanks for the review so much. |
Okay - the function fails if labels contain spaces at the end... which they invariably will briefly if using a keyboard to type them in and we update on each keystroke. The missing test is obvious so that is great - I'll try to fix it now. |
df340f5
to
beeaa27
Compare
Okay - I think I fixed the problem in the screenshot view! Thanks again for the detailed review @davelopez |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! it works nicely!
Co-authored-by: David López <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @jmchilton & @davelopez
Extends the work of @assuntad23 and myself in #16864 and #17264 to handle spaces and quotes in labels better and to include workflow output labels in addition to input and step labels.
How to test the changes?
(Select all options that apply)
License