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

Add Import Examples Feature to Flow Editor #175

Merged
merged 12 commits into from
Apr 24, 2023
Merged

Add Import Examples Feature to Flow Editor #175

merged 12 commits into from
Apr 24, 2023

Conversation

anovazzi1
Copy link
Contributor

This pull request adds a new feature to the flow editor that allows users to easily import example flows from the logspace-ai/langflow_examples repository on GitHub. The feature is accessible via the import example button

Clicking on the "Import Examples" button opens a dialog box that displays a list of available example flows from the GitHub repository. Users can select one example to import, and the flow editor will automatically add the selected flow to the user's current project.

This feature saves users time and effort by providing a convenient way to explore and utilize pre-built flows.

Additionally, this feature promotes collaboration and community involvement by encouraging users to contribute their own flows to the repository for others to use and benefit from.

Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

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

We can set the color of the example cards to be the same as the card in the previous page (the first import popup).

Also, we should add a link to the examples repo. Maybe a github icon in the bottom right? What do you think?

Also, the text in the popup is "Import from", so we need to fix that.

@Ryangr0
Copy link

Ryangr0 commented Apr 21, 2023

Hey guys, just came across this project. Is there anything I can do to help? I'm working on implementing several langchain features together and I'd like to import my current project. I'd love to see a visual representation of it.

@ogabrielluiz
Copy link
Contributor

Hey, @Ryangr0 could you open a discussion for us to talk there? I'm not sure I follow what you asked.

@ogabrielluiz
Copy link
Contributor

@anovazzi1 The button should probably be in the middle like:
LangFlow Examples [icon] and have an outline to indicate it is a button.

Can the text in the cards be justified center? It seems the word Conversational is a bit off.

@anovazzi1 anovazzi1 merged commit b3155a5 into dev Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants