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: Workflow title/description in workflow list view. Fixes #6529 #9805
feat: Workflow title/description in workflow list view. Fixes #6529 #9805
Conversation
STIL WIP Getting the following error do to a collision with Compiled with problems:X
ERROR
./node_modules/swagger-ui-react/swagger-ui-es-bundle-core.js 2:298485
Module parse failed: Unexpected token (2:298485)
File was processed with these loaders:
* ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| /*! For license information please see swagger-ui-es-bundle-core.js.LICENSE.txt */
... And line 2, character 298485 is a ...
;return e[r]??(e[r]=[]),e[r]
... I've taken a barebones repo and just added Still working through it. |
Maybe no markdown in v1? Could be a security risk, allow users to render JavaScript in other users browsers. |
@alexec that sounds good to me. Will rollback the Markdown. Cheers for the suggestion. |
be05d8c
to
2b81e7b
Compare
Have an issue where, when the list refreshes the first time (based on timer?) it shows the previous |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions. |
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.
Are you still working on this?
One last hurdle this weekend. Should have the PR ready for review in the next 24 hours. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions. |
…j#6529 Fixes argoproj#6529 - [x] title and description in list view Signed-off-by: jmeridth <jmeridth@gmail.com>
2b81e7b
to
d28d2ee
Compare
Found the issue with the refresh. Fixed. Waiting on CI and then will mark as ready for review. |
Master update is doing re-run, hope it gets past the timeout now. 🤞 |
@@ -90,6 +91,7 @@ export class WorkflowsService { | |||
'result.object.status.progress', | |||
'result.type', | |||
'result.object.metadata.labels', | |||
'result.object.metadata.annotations', |
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.
This was the part that I was missing on the refreshes. Old name was showing after 5 second watchlist refresh. Adding this keeps the title and description if present in the annotations on refresh.
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!
Already working in normal workflow view via argoproj#9805 - create shared react component for workflow row name to dry up usage of this code in both normal and archive workflow lists - add documentation regarding title and description annotations Signed-off-by: jmeridth <jmeridth@gmail.com>
Already working in normal workflow view via argoproj#9805 - create shared react component for workflow row name to dry up usage of this code in both normal and archive workflow lists - add documentation regarding title and description annotations Signed-off-by: jmeridth <jmeridth@gmail.com>
Already working in normal workflow view via argoproj#9805 - create shared react component for workflow row name to dry up usage of this code in both normal and archive workflow lists - add documentation regarding title and description annotations Signed-off-by: jmeridth <jmeridth@gmail.com>
Already working in normal workflow view via argoproj#9805 - create shared react component for workflow row name to dry up usage of this code in both normal and archive workflow lists - add documentation regarding title and description annotations Signed-off-by: jmeridth <jmeridth@gmail.com>
Already working in normal workflow view via argoproj#9805 - create shared react component for workflow row name to dry up usage of this code in both normal and archive workflow lists - add documentation regarding title and description annotations Signed-off-by: jmeridth <jmeridth@gmail.com>
Already working in normal workflow view via argoproj#9805 - create shared react component for workflow row name to dry up usage of this code in both normal and archive workflow lists - add documentation regarding title and description annotations Signed-off-by: jmeridth <jmeridth@gmail.com>
We include the PR URL in a custom annotation, and we set the argo annotation that allows us to control the Title used in the argo UI (see argoproj/argo-workflows#9805)
Fixes #6529 (partially, no markdown)
TL;DR
Add the following to your workflow annotations to get a title/description to show on the workflow list page:
Signed-off-by: jmeridth jmeridth@gmail.com
Fixes #TODO
Please do not open a pull request until you have checked ALL of these:
make pre-commit -B
to fix codegen and lint problems.If changes were requested, and you've made them, dismiss the review to get it reviewed again.