Skip to content

WIP Add trigger to new UI#43058

Closed
jscheffl wants to merge 2 commits intoapache:mainfrom
jscheffl:feature/add-trigger-to-new-ui
Closed

WIP Add trigger to new UI#43058
jscheffl wants to merge 2 commits intoapache:mainfrom
jscheffl:feature/add-trigger-to-new-ui

Conversation

@jscheffl
Copy link
Contributor

Draft to add a new Trigger UI

WIP:

  • Triggering of DAG run not working
  • Validation of DAG run config missing
  • Form field generation missing, just a plan JSON for the start
  • JSON CodeMirror is not auto-formatted
  • If DAG is paused, add the option to enable

image

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 15, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<Button isLoading={isSubmitting} onClick={handleSubmit(onTrigger)}>
<Button isLoading={isSubmitting} onClick={() => handleSubmit(onTrigger)}>

We need to pass the function not the return value of a called function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried this - also as eslint is cmplaining about this... but then it is not working...

Copy link
Contributor

Choose a reason for hiding this comment

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

What error did you get?

Sometimes I need to run pnpm install before linting.
In vscode, once in a while I also need to cmd+shift+P and restart the eslint server:
Screenshot 2024-10-17 at 12 01 15 PM

@jscheffl jscheffl force-pushed the feature/add-trigger-to-new-ui branch from 1a5d4df to 25251a1 Compare October 16, 2024 21:57
@jscheffl jscheffl force-pushed the feature/add-trigger-to-new-ui branch from 25251a1 to c074d54 Compare October 25, 2024 19:39
@jscheffl jscheffl force-pushed the feature/add-trigger-to-new-ui branch from c074d54 to 6929d37 Compare October 25, 2024 19:43
@jscheffl
Copy link
Contributor Author

jscheffl commented Nov 6, 2024

Close in favor of moving forward with #43367

@jscheffl jscheffl closed this Nov 6, 2024
@jscheffl jscheffl deleted the feature/add-trigger-to-new-ui branch October 5, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants