Skip to content

Re-use recent DagRun JSON-configurations #27714

Closed

Description

@sk-ilya

Description

Allow users to re-use recent DagRun configurations upon running a DAG.
This can be achieved by adding a dropdown that contains some information about recent configurations. When user selects an item, the relevant JSON configuration can be pasted to the "Configuration JSON" textbox.
Screen Shot 2022-11-16 at 16 22 30
Screen Shot 2022-11-16 at 16 22 38
Screen Shot 2022-11-16 at 16 38 40

Use case/motivation

Commonly, DAGs are triggered using repetitive configurations. Sometimes the same configuration is used for triggering a DAG, and sometimes, the configuration differs by just a few parameters.

This interaction forces a user to store the templates he uses somewhere on his machine or to start searching for the configuration he needs in dagrun/list/, which does take extra time.

It will be handy to offer a user an option to select one of the recent configurations upon running a DAG.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:feature
    on Nov 16, 2022
  2. boring-cyborg commented on Nov 16, 2022

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  3. added
    area:UI
    on Nov 16, 2022
  4. aaronabraham311 commented on Nov 16, 2022

    @aaronabraham311
    Contributor

    Hi can I claim this issue?

  5. potiuk commented on Nov 16, 2022

    @potiuk
    Member

    Feel free.

  6. bbovenzi commented on Nov 18, 2022

    @bbovenzi
    Contributor

    In the meantime, we did just add the ability to copy the whole config: #27639

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:UIgood first issuekind:feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions