Skip to content
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

⭐ Blueprint #1274

Closed
Ben8t opened this issue May 11, 2023 · 9 comments · Fixed by #1475
Closed

⭐ Blueprint #1274

Ben8t opened this issue May 11, 2023 · 9 comments · Fixed by #1475
Assignees
Labels
area/frontend Needs frontend code changes enhancement New feature or request

Comments

@Ben8t
Copy link
Member

Ben8t commented May 11, 2023

Feature description

Feature Description: having a “Blueprint” section within Kestra UI and website. This gallery will provide several Blueprints to users willing to get inspiration and know what’s possible with Kestra.

After several discussions, the MVP is :

  • A new section on the left side
  • A new icon on the right side of the editor where users can search/apply blueprints
  • Update the Create button to a dropdown button with the ability to "Create from gallery" where users are redirected to empty flow with right side panel focused on Flow Gallery
  • A "apply" button in blueprint pages - when a user click on it, it adds the blueprints to the last element of tasks Flow properties.
  • Blueprint Tags : Database, Schedule & Trigger, Cloud, Script, ETL/ELT, Kestra Core, Alerting (first list version, we could add tags in next releases, depending of the needs)
  • Search :
    • search bar on title, tags and task
    • tags filtering
    • dropdown by tasks (not in prototypes yet)

Blueprint Specification

A blueprint has :

  • title
  • description
  • tags
  • yaml code
  • topology preview
  • links to corresponding plugin documentation

Anticipation

At some point we would like to let any user create and propose Blueprints (via a form for example)


See comments for prototypes

@Ben8t Ben8t added enhancement New feature or request area/frontend Needs frontend code changes labels May 11, 2023
@Ben8t Ben8t added this to the 0.10.0 milestone May 11, 2023
@Ben8t Ben8t added this to All issues May 11, 2023
@github-project-automation github-project-automation bot moved this to Backlog in All issues May 11, 2023
@Ben8t Ben8t moved this from Backlog to Ready in All issues May 19, 2023
@anna-geller
Copy link
Member

Suggestion to the subheader - thousands of blueprints might be misleading - there'll be just tens of blueprints at first :)

how about: "First step is always the hardest. Explore blueprints to kickstart your next flow." - WDYT @Ben8t?

@kestra-io kestra-io deleted a comment from Nico-Kestra May 22, 2023
@Ben8t
Copy link
Member Author

Ben8t commented May 22, 2023

Flow Gallery in editor

image

image

Flow Gallery on the specific section (left side menu)

image

image

@Ben8t
Copy link
Member Author

Ben8t commented May 22, 2023

@brian-mulier-p
Copy link
Member

@Ben8t, do the "apply" button in the editor replace all the editor content with the selected blueprint ? I'm wondering if this button has any use, I feel like users will mostly want to take the source code of the blueprint and paste it where they want if they went inside the editor and not through the Flow Gallery ?

Or maybe it should copy everything except the id and namespace ? WDYT ?

@brian-mulier-p
Copy link
Member

Also, what about having a hover effect and show details on click instead of having a specific button ?

@Ben8t
Copy link
Member Author

Ben8t commented Jun 1, 2023

@Ben8t, do the "apply" button in the editor replace all the editor content with the selected blueprint ? I'm wondering if this button has any use, I feel like users will mostly want to take the source code of the blueprint and paste it where they want if they went inside the editor and not through the Flow Gallery ?

Or maybe it should copy everything except the id and namespace ? WDYT ?

👉 the idea in the description was "when a user click on it, it adds the blueprints to the last element of tasks Flow properties." (without taking the id and namespace yes) + copy/paste possibility - if all of these is technically possible 😅

@Ben8t
Copy link
Member Author

Ben8t commented Jun 1, 2023

Also, what about having a hover effect and show details on click instead of having a specific button ?

don't really understand what you means by this 🤔 Hover on the bluerprint code ?

@brian-mulier-p
Copy link
Member

@Ben8t, do the "apply" button in the editor replace all the editor content with the selected blueprint ? I'm wondering if this button has any use, I feel like users will mostly want to take the source code of the blueprint and paste it where they want if they went inside the editor and not through the Flow Gallery ?
Or maybe it should copy everything except the id and namespace ? WDYT ?

point_right the idea in the description was "when a user click on it, it adds the blueprints to the last element of tasks Flow properties." (without taking the id and namespace yes) + copy/paste possibility - if all of these is technically possible sweat_smile

What if there is more than simple tasks ? What about triggers or inputs for eg. ? Should we parse the blueprint and extract things and append them to the right section ?

Also, what about having a hover effect and show details on click instead of having a specific button ?

don't really understand what you means by this thinking Hover on the bluerprint code ?

What I mean is that I think it might be overkill to add a "Details" button, maybe we can simply open details on click anywhere on a blueprint in the list view with some "hover effects" to show that it is a clickable element ?

@brian-mulier-p brian-mulier-p self-assigned this Jun 1, 2023
@Ben8t Ben8t moved this from Ready to In Progress in All issues Jun 2, 2023
brian-mulier-p added a commit that referenced this issue Jun 8, 2023
brian-mulier-p added a commit that referenced this issue Jun 8, 2023
brian-mulier-p added a commit that referenced this issue Jun 9, 2023
brian-mulier-p added a commit that referenced this issue Jun 9, 2023
brian-mulier-p added a commit that referenced this issue Jun 9, 2023
brian-mulier-p added a commit that referenced this issue Jun 9, 2023
brian-mulier-p added a commit that referenced this issue Jun 9, 2023
tchiotludo pushed a commit that referenced this issue Jun 9, 2023
brian-mulier-p added a commit that referenced this issue Jun 9, 2023
brian-mulier-p added a commit that referenced this issue Jun 9, 2023
tchiotludo pushed a commit that referenced this issue Jun 11, 2023
Skraye pushed a commit that referenced this issue Jun 12, 2023
Skraye pushed a commit that referenced this issue Jun 12, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in All issues Jun 12, 2023
@Ben8t Ben8t changed the title ⭐ Flow Gallery ⭐ Blueprint Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Needs frontend code changes enhancement New feature or request
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants