argo-workflows icon indicating copy to clipboard operation
argo-workflows copied to clipboard

feat: Workflow title/description in workflow list view. Fixes #6529

Open jmeridth opened this issue 3 years ago • 4 comments

Screen Shot 2022-10-16 at 10 52 08 PM

Fixes #6529 (partially, no markdown)

  • [x] title and description in list view

Signed-off-by: jmeridth [email protected]

Fixes #TODO

Please do not open a pull request until you have checked ALL of these:

  • [x] Create the PR as draft .
  • [x] Run make pre-commit -B to fix codegen and lint problems.
  • [x] Sign-off your commits (otherwise the DCO check will fail).
  • [x] Use a conventional commit message (otherwise the commit message check will fail).
  • [x] "Fixes #" is in both the PR title (for release notes) and this description (to automatically link and close the issue).
  • [ ] Add unit or e2e tests. Say how you tested your changes. If you changed the UI, attach screenshots.
  • [x] Github checks are green.
  • [ ] Once required tests have passed, mark your PR "Ready for review".

If changes were requested, and you've made them, dismiss the review to get it reviewed again.

jmeridth avatar Oct 13 '22 01:10 jmeridth

STIL WIP

Getting the following error do to a collision with react-markdown and swagger-ui-react

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 ?? character (nullish coalescing operator).

...
;return e[r]??(e[r]=[]),e[r]
...

I've taken a barebones repo and just added swagger-ui as a dependency and got compilation errors also. Either I find another markdown library or figure out this issue.

Still working through it.

jmeridth avatar Oct 13 '22 01:10 jmeridth

Maybe no markdown in v1? Could be a security risk, allow users to render JavaScript in other users browsers.

alexec avatar Oct 13 '22 14:10 alexec

@alexec that sounds good to me. Will rollback the Markdown. Cheers for the suggestion.

jmeridth avatar Oct 14 '22 18:10 jmeridth

Have an issue where, when the list refreshes the first time (based on timer?) it shows the previous workflow.metadata.name until the screen is manually refreshed. The refresh is not including the annotations I believe. Looking where this might be missing.

jmeridth avatar Oct 17 '22 14:10 jmeridth

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.

stale[bot] avatar Nov 01 '22 22:11 stale[bot]

One last hurdle this weekend. Should have the PR ready for review in the next 24 hours.

jmeridth avatar Nov 07 '22 13:11 jmeridth

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.

stale[bot] avatar Nov 23 '22 03:11 stale[bot]

Found the issue with the refresh. Fixed. Waiting on CI and then will mark as ready for review.

jmeridth avatar Nov 28 '22 05:11 jmeridth

~@terrytangyuan could you please rerun the cancelled GitHub Action (job)? It timed out after 8mins. I don't think my change would cause that. If that can finish/pass, I'm ready for this change to be reviewed. Cheers.~

Master update is doing re-run, hope it gets past the timeout now. 🤞

jmeridth avatar Nov 28 '22 05:11 jmeridth