cristhianzl
79b5223c19
✨ (cardComponent/index.tsx): remove trailing commas in useState calls for better code consistency
...
♻️ (cardComponent/index.tsx): remove unnecessary parentheses in useState calls for better code readability
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in className attribute for better code formatting
♻️ (cardComponent/index.tsx): remove unnecessary whitespace in
2024-05-03 18:24:57 -03:00
cristhianzl
2dc4ffd99f
fix UI errors
2024-05-03 18:17:49 -03:00
anovazzi1
e361228b48
chore: Update CollectionCardComponent with hover background color and card filter overlay
2024-05-03 18:00:50 -03:00
Cristhian Zanforlin Lousa
566c3642f6
Add headers to API Request component ( #1832 )
...
♻️ (APIRequest.py): refactor APIRequest class to improve variable naming and remove unnecessary underscore prefix in headers parameter
💡 (APIRequest.py): update comments in APIRequest class to improve code readability and maintainability
2024-05-03 17:26:11 -03:00
anovazzi1
cd6473be9d
hide tags while there is no playground
2024-05-03 16:57:05 -03:00
anovazzi1
142029d91e
fix playground on dev
2024-05-03 16:50:23 -03:00
anovazzi1
781ac4fe9d
chore: Add z-index to delete button in CollectionCardComponent
2024-05-03 16:04:17 -03:00
anovazzi1
ebaaf726f9
chore: Add card filter overlay and update flex alignment in CollectionCardComponent
2024-05-03 16:01:58 -03:00
anovazzi1
338a236ee7
remove isGroupRestriction from shortcut
2024-05-03 15:19:58 -03:00
cristhianzl
5ef34e48f3
📝 (index.tsx): add convertTestName function to utils.ts to convert card names to test ids
...
📝 (index.tsx): add `data-testid` attribute to Card component to improve testability
📝 (index.tsx): remove unnecessary parentheses in ternary operator
📝 (index.tsx): remove unnecessary `undefined` in ternary operator
📝 (index.tsx): add `data-testid` attribute to delete button to improve testability
📝 (index.tsx): add `convertTestName` function to utils.ts to convert card names to test ids
📝 (utils.ts): add `convertTestName` function to convert card names to test ids
📝 (deleteComponentFlows.spec.ts): add end-to-end tests for deleting a flow and a component
2024-05-03 10:16:24 -03:00
cristhianzl
8121151a8f
✨ (IOModal/index.tsx): change size prop value from "large" to "md-thin" to adjust the size of the modal based on the selected tab
...
✨ (baseModal/index.tsx): add new size option "md-thin" to adjust the size of the modal to be medium and thin
2024-05-03 09:54:02 -03:00
anovazzi1
13ff4e1d26
Add openDelete state and button to CollectionCardComponent
2024-05-02 21:45:03 -03:00
anovazzi1
b7cfa211b3
Fix chatMessage component layout issue
2024-05-02 19:48:14 -03:00
anovazzi1
83a05589ca
Fix word-break issue in chatMessage component
2024-05-02 19:46:42 -03:00
Gabriel Luiz Freitas Almeida
2920e69593
🔧 (.pre-commit-config.yaml): Add eslint@9.1.1 as a dependency and enable autofix for pretty-format-json hook
...
🔧 (.eslintrc.json): Update eslint configuration to include additional plugins, parser, parserOptions, and env settings
2024-05-02 19:27:40 -03:00
anovazzi1
da927d56c1
fix history propagation on playground
2024-05-02 19:02:28 -03:00
cristhianzl
9cd3925233
remove parser
2024-05-02 18:54:01 -03:00
cristhianzl
37ca646f2c
Merge branch 'dev' of https://github.com/langflow-ai/langflow into dev
2024-05-02 18:51:31 -03:00
cristhianzl
33ad0430d3
🔧 (.pre-commit-config.yaml): add eslint-plugin-react@latest as a dependency to improve linting for React components
...
🔧 (.eslintrc.json): update eslint configuration to include additional plugins, parser, parserOptions, and env settings to improve linting for React components and TypeScript files
♻️ (index.tsx): remove unnecessary empty line to improve code readability
2024-05-02 18:51:27 -03:00
Gabriel Luiz Freitas Almeida
c9a9ca2958
Update .pre-commit-config.yaml to enable fail_fast option and add eslint repository
2024-05-02 18:51:22 -03:00
anovazzi1
87d90f365d
Merge branch 'dev' of personal:logspace-ai/langflow into dev
2024-05-02 18:42:54 -03:00
Gabriel Luiz Freitas Almeida
8eef545acc
Update ESLint configuration to include React and Prettier plugins
2024-05-02 18:42:46 -03:00
anovazzi1
120f9b2a97
fix playground button position
2024-05-02 18:42:21 -03:00
Gabriel Luiz Freitas Almeida
42f9381c7d
Refactor pre-commit installation in Makefile and update dependencies
2024-05-02 18:37:02 -03:00
cristhianzl
ff1516a27a
test lint
2024-05-02 18:35:58 -03:00
Cristhian Zanforlin Lousa
0ce2853f4c
Refactor store_message function and add Simple Git Hooks ( #1827 )
...
This pull request adds Simple Git Hooks for better code quality and
consistency. It also updates the pre-commit-config.yaml and Makefile,
and refactors the pre-commit installation in the Makefile. Additionally,
the update_poetry.sh script is refactored to not install pipx anymore.
2024-05-02 18:35:08 -03:00
Gabriel Luiz Freitas Almeida
354a236bc7
Fix custom_repr assignment in instantiate_custom_component function ( #1828 )
2024-05-02 18:32:13 -03:00
cristhianzl
d057dc1600
🔧 (FileInput.py, JsonInput.py, KeyPairInput.py, StringListInput.py, CSVOutput.py, ImageOutput.py, JsonOutput.py, KeyPairOutput.py, PDFOutput.py, StringListOutput.py): delete unused input and output components
...
The input and output components FileInput.py, JsonInput.py, KeyPairInput.py, StringListInput.py, CSVOutput.py, ImageOutput.py, JsonOutput.py, KeyPairOutput.py, PDFOutput.py, and StringListOutput.py were deleted as they were no longer being used in the project. This cleanup improves code organization and reduces unnecessary dependencies.
2024-05-02 18:28:24 -03:00
cristhianzl
c9248d253a
📝 (addNewVariableButton.tsx): reformat code for better readability and maintainability
...
📝 (addNewVariableButton.tsx): fix typo in variable name 'unavaliableFields' to 'unavailableFields'
📝 (addNewVariableButton.tsx): add id attribute to InputComponent for better accessibility
📝 (headerComponent/index.tsx): add data-testid attribute to user-profile-settings button for easier testing
📝 (inputComponent/index.tsx): add data-testid attribute to popover anchor element for easier testing
✨ (userSettings.spec.ts): add end-to-end tests for user settings page, including testing profile gradient, interacting with global variables, and checking shortcuts
2024-05-02 18:08:39 -03:00
Gabriel Luiz Freitas Almeida
cf403220dc
Refactor update_poetry.sh script to install pipx and poetry dependencies
2024-05-02 17:07:58 -03:00
Gabriel Luiz Freitas Almeida
5c2caf23c8
Refactor pre-commit installation in Makefile
2024-05-02 17:07:52 -03:00
Gabriel Luiz Freitas Almeida
89595d4a14
Update pre-commit-config.yaml and Makefile
2024-05-02 17:07:23 -03:00
Gabriel Luiz Freitas Almeida
2eb2f3bec6
Add pre-commit hooks for eslint and ruff ( #1817 )
2024-05-02 17:02:06 -03:00
Gabriel Luiz Freitas Almeida
a3484ed239
Refactor store_message function and add Simple Git Hooks ( #1817 )
2024-05-02 17:01:39 -03:00
cristhianzl
67322a40c8
pattern on page
2024-05-02 16:32:07 -03:00
cristhianzl
081c17651e
normalize names
2024-05-02 16:30:19 -03:00
cristhianzl
9727c04e70
Merge branch 'dev' of https://github.com/langflow-ai/langflow into dev
2024-05-02 16:22:10 -03:00
cristhianzl
8b36a27056
fix components names
2024-05-02 16:22:03 -03:00
Cristhian Zanforlin Lousa
be8693ed2c
Feature/UI settings ( #1826 )
2024-05-02 16:09:57 -03:00
cristhianzl
8303d367a7
Merge branch 'dev' into feature/ui_settings
2024-05-02 16:09:10 -03:00
cristhianzl
820c0c3712
🐛 (chat.py): fix type annotation for 'data' parameter in retrieve_vertices_order function to allow None as a value
...
🐛 (constants.py): fix import statement for JsonSpec from langchain.tools.json.tool to langchain_community.tools.json.tool
🐛 (index.tsx): add data-testid attribute to the div element to improve testability
🐛 (buildUtils.ts): add debugger statement for debugging purposes
🐛 (chatInputOutput.spec.ts): fix click event target from "Run" to "Playground"
🐛 (fileUploadComponent.spec.ts): fix click event target from "Run" to "Playground"
🐛 (textInputOutput.spec.ts): fix click event target from "Run" to "Playground"
2024-05-02 15:54:16 -03:00
Cristhian Zanforlin Lousa
bdca2e3a40
Feature/UI table ( #1825 )
2024-05-02 14:57:39 -03:00
cristhianzl
5042c0a750
merge dev on feature/ui-table
2024-05-02 14:57:10 -03:00
Cristhian Zanforlin Lousa
79e1d538ca
Playground ( #1824 )
2024-05-02 14:46:11 -03:00
Gabriel Luiz Freitas Almeida
ba513c1593
New lock
2024-05-02 14:41:43 -03:00
Rodrigo Nader
2785a8bc3a
Refactor store_message function and add StoreMessageComponent ( #1817 )
...
* Refactor store_message function in chat.py and memory.py
* Refactor store_message function in chat.py and memory.py
* Add StoreMessageComponent to langflow components
* Refactor store_message function in chat.py and memory.py to require session_id, sender, and sender_name
* Refactor StoreMessageComponent to use Optional[str] for sender_name and session_id parameters
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-05-02 14:29:54 -03:00
cristhianzl
101a045cba
merge dev on playground
2024-05-02 13:59:52 -03:00
Lucas Oliveira
4657d95bde
Removed workaround for IDs
2024-05-02 18:54:38 +02:00
Gabriel Luiz Freitas Almeida
0648e3f2ac
Update component descriptions to reflect Playground instead of Interaction Panel
2024-05-02 13:50:01 -03:00
Cristhian Zanforlin Lousa
bbe72887eb
Introducing Versatile IO Components: JSON Viewer, DictionaryIO, and InputListIO ( #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.
2024-05-02 13:47:43 -03:00