-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Playground #1824
Merged
Merged
Playground #1824
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add playground button to flow cards in MainPage * Add IOModal component for playground functionality * Update playground button styling not working yet
…ase and from input data (#1750) * Update build_and_cache_graph function to handle graph data from database and from input data * Update get_vertices endpoint to handle graph data from input * Update build_vertex function to handle graph data from database * Update build_vertex function to handle graph data from input * Update FlowDataRequest schema to include optional viewport field
… changes when skipSave parameter is true
…odel_dump() method for graph data
…loadingPlayground state handling
… type hinting for data parameter
…ON input data in the language flow system ✨ (KeyPairInput.py): add a new component called "KeyPairInput" to handle dictionary input data in the language flow system ✨ (CSVOutput.py): add a new component called "CSVOutput" to handle CSV output data in the language flow system ✨ (ImageOutput.py): add a new component called "ImageOutput" to handle image output data in the language flow system ✨ (JsonOutput.py): add a new component called "JsonOutput" to handle JSON output data in the language flow system ✨ (PDFOutput.py): add a new component called "PDFOutput" to handle PDF output data in the language flow system 📝 (App.css): update CSS to improve readability and formatting 📝 (parameterComponent/index.tsx): fix a bug where rangeSpec is not properly accessed in the FloatComponent 📝 (cardComponent/index.tsx): update the CollectionCardComponent to include a new button for opening the playground and handle the opening and closing of the IOModal 📝 (codeTabsComponent/index.tsx): fix conditional rendering of InputListComponent by using optional chaining operator to check if the list property exists in the template object 📝 (keypairListComponent/index.tsx): refactor the initialization of the ref variable to handle both empty and non-empty values correctly 📝 (constants.ts): add "JsonInput" and "JsonOutput" to the INPUT_TYPES and OUTPUT_TYPES constants to support JSON input and output components 📝 (editNodeModal/index.tsx): fix conditional rendering of InputListComponent by using optional chaining operator to check if the list property exists in the template object 📝 (ioFieldView/components/JSONInput/index.tsx): add JSONInput component to handle JSON input in the IOFieldView component 📝 (ioFieldView/components/keyPairInput/index.tsx): add keyPairInput component to handle key-value pair input in the IOFieldView component ✨ (IOFieldView/index.tsx): add useState import to use state hook in functional component ✨ (IOFieldView/index.tsx): add support for KeyPairInput component in IOFieldView ✨ (IOFieldView/index.tsx): add support for JsonInput component in IOFieldView ✨ (IOFieldView/index.tsx): add support for JsonOutput component in IOFieldView 📝 (dictAreaModal/index.tsx): add useDarkStore import to use dark mode state in DictAreaModal component 📝 (classes.css): add CSS classes for json-view component in different themes 📝 (types/components/index.ts): remove duplicate InputGlobalComponentType definition
* fix opening modal error * Fix cleanOnClose behavior in IOModal component * Refactor useEffect dependency in CollectionCardComponent * remove console * add console.log for debugging --------- Co-authored-by: anovazzi1 <otavio2204@gmail.com>
…Input" to handle string list inputs ✨ (KeyPairOutput.py): add a new custom component called "KeyPairOutput" to handle dictionary outputs ✨ (StringListOutput.py): add a new custom component called "StringListOutput" to handle string list outputs 🚀 (constants.ts): add "StringListInput" and "StringListOutput" to the list of supported input and output types ♻️ (index.tsx): refactor IOKeyPairInput component to accept an additional prop "isInputField" and disable input fields if it's false ♻️ (index.tsx): refactor IOFieldView component to handle rendering of "StringListInput" and "StringListOutput" components
…value" to improve clarity and consistency 📝 (StringListOutput.py): update parameter name from "param" to "input_value" to improve clarity and consistency 📝 (index.tsx): add InputListComponent to handle StringListInput and StringListOutput components in IOFieldView 📝 (index.tsx): update InputListComponent props to include value, onChange, disabled, and playgroundDisabled 📝 (index.tsx): update IOFieldView to render InputListComponent for StringListInput and StringListOutput components
…nputListIO (#1822) In our ongoing commitment to enhancing user experience and streamlining data interaction, we are thrilled to introduce a trio of powerful IO components: JSON Viewer, DictionaryIO, and InputListIO. These components are meticulously crafted to empower developers with seamless data handling capabilities, enabling efficient processing and visualization of JSON data structures, dictionaries, and input lists.
dosubot
bot
added
the
size:XL
This PR changes 500-999 lines, ignoring generated files.
label
May 2, 2024
Your Render PR Server URL is https://langflow-v1-0-pr-1824.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-copsjstjm4es73efr03g. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
dosubot
bot
added
documentation
Improvements or additions to documentation
python
Pull requests that update Python code
labels
May 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
python
Pull requests that update Python code
size:XL
This PR changes 500-999 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.