Commit graph

  • 74eece1237 🔖 chore(pyproject.toml): update package version to 0.3.2 🔖 chore(pyproject.toml): update langchain dependency to version 0.0.237 Gabriel Luiz Freitas Almeida 2023-07-20 07:12:57 -03:00
  • 1ab0dd6257 🐛 fix(main.py): add error handling for non-existent static files directory Gabriel Luiz Freitas Almeida 2023-07-20 07:11:46 -03:00
  • 55f468be3d 🐛 fix(chat.py): add exception logging to track errors in stream_build function Gabriel Luiz Freitas Almeida 2023-07-20 06:59:04 -03:00
  • e648ac4f41 🐛 fix(types.py): convert avg_length to an integer to improve readability in DocumentLoaderVertex and TextSplitterVertex Gabriel Luiz Freitas Almeida 2023-07-20 06:58:39 -03:00
  • 0cf37f4f1f 🐛 fix(base.py): add check to initialize empty list for params[key] if it doesn't exist before extending it with built values Gabriel Luiz Freitas Almeida 2023-07-20 06:58:21 -03:00
  • 9a75153125 refactor[utils.ts]: Change arrow functions to normal functions Igor Carvalho 2023-07-19 18:17:51 -03:00
  • 6d5ef2647a Formated code Igor Carvalho 2023-07-19 13:24:43 -03:00
  • 3aeb590264 refactor[constants.ts]: Remove functions, enums, icons and interfaces from constants file Igor Carvalho 2023-07-19 13:23:04 -03:00
  • c20541fc37 refactor[src/constants]: Create a constants and enums directorie Igor Carvalho 2023-07-19 12:33:27 -03:00
  • 1a5f33ddd4 chore(codeAreaModal): import cleanEdges function from reactflowUtils to improve code readability and maintainability feat(codeAreaModal): add typesContext to access reactFlowInstance for cleaning edges before processing code anovazzi1 2023-07-19 18:14:22 -03:00
  • 7601fca2f7 Format code Igor Carvalho 2023-07-19 18:07:51 -03:00
  • f990b0e39b refactor[baseModal]: Move baseModal types to types directorie Igor Carvalho 2023-07-19 18:01:15 -03:00
  • 0b283f8703 🐛 fix(types.py): convert avg_length to an integer to improve readability in DocumentLoaderVertex and TextSplitterVertex Gabriel Luiz Freitas Almeida 2023-07-19 17:59:04 -03:00
  • 21d63be4b4 Add inline code documentation Igor Carvalho 2023-07-18 15:29:58 -03:00
  • 6867984659 Add pages functions documentation Igor Carvalho 2023-07-18 13:59:43 -03:00
  • bfee2ffe70 refactor[undoRedoContext]: Move undoRedoContext types to types directorie Igor Carvalho 2023-07-19 17:39:36 -03:00
  • ca8e8e3f08 refactor[locationContext]: Move type locationContextType to types directorie Igor Carvalho 2023-07-19 17:30:41 -03:00
  • 2c8b0e1aaf refactor[darkContext]: Move type darkContextType to types directorie Igor Carvalho 2023-07-19 17:27:09 -03:00
  • a2ebec1a87 refactor[alertContext]: Move type alertContextType to types directorie Igor Carvalho 2023-07-19 17:20:34 -03:00
  • 9adff855fb 🔧 chore(constants.py): update class attribute names to follow Langflow naming convention for better consistency and clarity ✨ feat(load_custom_component_from_file.py): add functionality to compress and decompress code, validate code syntax, validate build function presence, read file content, get list of .py files in a directory, find menu by name in response, process file by validating content and returning result and content/error message, and build component menu list from .py files in a directory gustavoschaedler 2023-07-19 21:16:36 +01:00
  • 67be60c937 refactor[loadingComponent]: Move type LoadingComponentProps to types directorie Igor Carvalho 2023-07-19 17:14:17 -03:00
  • 83772eeefd refactor[ReactTooltipComponent]: Move type TooltipProps to types directorie Igor Carvalho 2023-07-19 17:11:56 -03:00
  • 7ca0f8d60d refactor[EditFlowSettingsComponent]: Move type InputProps to types directorie Igor Carvalho 2023-07-19 17:05:40 -03:00
  • 62bcfdeaa9 Fixed bug where prompt modal not saving, but there is no Clean Edges now Lucas Oliveira 2023-07-19 11:03:44 -03:00
  • b46a967452 Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component Lucas Oliveira 2023-07-19 11:01:53 -03:00
  • be712a45af Fixed bug where PromptComponent does not save, but there is no Clean Edges now Lucas Oliveira 2023-07-19 11:01:23 -03:00
  • 58d7491d83 🔨 refactor(endpoints.py): rename langchain_types_dict import to build_langchain_types_dict for clarity and consistency 🔨 refactor(types.py): remove unused langchain_types_dict variable to improve code cleanliness Gabriel Luiz Freitas Almeida 2023-07-19 10:00:47 -03:00
  • 4827c99368 🐛 fix(code_parser.py): handle case when code parameter is a class by getting its source code using inspect module ✨ feat(code_parser.py): add support for parsing class source code in addition to string source code to improve flexibility and usability Gabriel Luiz Freitas Almeida 2023-07-19 07:03:54 -03:00
  • 0e477428b5
    Add generic icon component (#637) anovazzi1 2023-07-18 18:55:20 -03:00
  • d14d7fcc92 fix codacity issues anovazzi1 2023-07-18 18:51:15 -03:00
  • d668640791 Fixed code not saving Lucas Oliveira 2023-07-18 18:40:53 -03:00
  • 1be753149d fix(AccordionComponent): add keyValue prop to AccordionComponent to fix missing key error fix(AccordionComponent): remove unused import statements from AccordionComponent fix(accordion.tsx): remove unnecessary className from AccordionContent component fix(index.css): remove unnecessary cursor property from .AccordionContent class fix(ApiModal): add keyValue prop to AccordionComponent in ApiModal to fix missing key error fix(formModal): remove unused import statements from formModal fix(formModal): replace Accordion, AccordionContent, AccordionItem, and AccordionTrigger components with AccordionComponent in formModal fix(formModal): add keyValue prop to AccordionComponent in formModal to fix missing key error fix(index.ts): add keyValue prop to AccordionComponentType to fix missing key error fix(tailwind.config.js): remove unused keyframes and animation properties from tailwind.config.js anovazzi1 2023-07-18 18:38:19 -03:00
  • 0560c966f6 Merge branch 'modalRefactor' into python_custom_node_component Lucas Oliveira 2023-07-18 18:23:05 -03:00
  • dbb9b8ab81 Fixed disableCopyPaste on modals Lucas Oliveira 2023-07-18 18:22:22 -03:00
  • 5f8efd244e formated code Igor Carvalho 2023-07-18 18:22:20 -03:00
  • 1ff7dca09e feat: Add remaining icons (Slack, Wikipedia and Wolfram) Igor Carvalho 2023-07-18 18:21:03 -03:00
  • 02cff362f0 Merge branch 'modalRefactor' into python_custom_node_component Lucas Oliveira 2023-07-18 18:13:26 -03:00
  • 8d4031dec0
    Refactor Accordion Component for Shared Usage (#653) anovazzi1 2023-07-18 16:15:31 -03:00
  • 5d4aae9ba3 🐛 fix(codeAreaModal/index.tsx): update condition in useEffect to check if nodeClass.template has more than 2 fields instead of 1 ✨ feat(codeAreaModal/index.tsx): refactor handleClick function to call processCode function instead of directly calling postValidateCode function ✨ feat(codeAreaModal/index.tsx): add support for processing non-dynamic fields by calling postValidateCode function and updating success and error data accordingly ✨ feat(codeAreaModal/index.tsx): add support for processing dynamic fields by calling postCustomComponent function and updating nodeClass and error data accordingly Gabriel Luiz Freitas Almeida 2023-07-18 15:39:43 -03:00
  • e0d086e85a 🔥 refactor(codeAreaModal/index.tsx): simplify useEffect logic and add conditional check to prevent unnecessary handleClick execution Gabriel Luiz Freitas Almeida 2023-07-18 15:29:29 -03:00
  • 1f9e84d8c2 🔥 refactor(codeAreaModal/index.tsx): comment out unused useEffect hook and handleClick function Gabriel Luiz Freitas Almeida 2023-07-18 15:17:49 -03:00
  • ce240aedf6 add docs with components Rodrigo Nader 2023-07-18 15:08:00 -03:00
  • c77048c7ca chore(genericIconComponent): update import path for nodeIconsLucide in IconComponent to reflect new location in styleUtils anovazzi1 2023-07-18 15:05:05 -03:00
  • 5d2a29a436 add docs carlosrcoelho 2023-07-18 14:59:27 -03:00
  • d8acf8cb8d fix import anovazzi1 2023-07-18 14:53:08 -03:00
  • 598a833b75 🐛 fix(util.py): fix import order to follow PEP8 guidelines for better readability and maintainability ✨ feat(util.py): add sync_to_async decorator to convert sync functions to async functions for better performance and compatibility 🐛 fix(util.py): fix formatting of dictionary by removing certain keys and modifying the values of other keys to improve consistency and clarity 🐛 fix(util.py): fix update_verbose function to recursively update the value of the 'verbose' key in a dictionary 🐛 fix(util.py): fix update_verbose function to correctly handle nested dictionaries 🐛 fix(util.py): fix update_verbose function to correctly handle non-dictionary values 🐛 fix(util.py): fix format_dict function to correctly handle the 'type' value when it is a type object 🐛 fix(util.py): fix format_dict function to correctly handle the 'type' value when it is a list type 🐛 fix(util.py): fix format_dict function to correctly handle the 'type' value when it is a Mapping type 🐛 fix(util.py): fix format_dict function to correctly handle the 'type' value when it is a dict type 🐛 fix(util.py): fix format_dict function to correctly handle the 'type' value when it is a Tool type 🐛 fix(util.py): fix format_dict function to correctly handle the 'type' value when it is an int type 🐛 fix(util.py): fix format_dict function to correctly handle the 'show' value based on field requirements and naming conventions 🐛 fix(util.py): fix format_dict function to correctly handle the 'password' value based on field naming conventions 🐛 fix(util.py): fix format_dict function to correctly handle the 'multiline' value based on field naming conventions 🐛 fix(util.py): fix format_dict function to correctly handle the 'type' value when it is a dict type for the 'dict_' key 🐛 fix(util.py): fix format_dict function to correctly handle the 'value' field when it is a default value 🐛 fix(util.py): fix format_dict function to correctly handle the 'value' field for the 'headers' key 🐛 fix(util.py): fix format_dict function to correctly handle the 'options' field for specific class and key combinations gustavoschaedler 2023-07-18 18:47:04 +01:00
  • 17c6c7e528 Merge branch 'refactorUtils' into generic_icon_component anovazzi1 2023-07-18 12:51:08 -03:00
  • 38f3cb0a1a Merge branch 'dev' into refactorUtils anovazzi1 2023-07-18 12:18:25 -03:00
  • 2446759943 Merge branch 'dev' into generic_icon_component anovazzi1 2023-07-18 12:16:34 -03:00
  • 06dc663467 change TWstyle to className anovazzi1 2023-07-18 11:48:49 -03:00
  • 3aaeee42fe fix bug on tooltip with div wrapping anovazzi1 2023-07-18 11:43:59 -03:00
  • 13770a87f3 refactor(genericIconComponent): remove console.log statement in IconComponent function to improve code cleanliness and remove unnecessary logging anovazzi1 2023-07-18 11:20:07 -03:00
  • 9cf639841f update name from style to TWstyle to avoid conflicts anovazzi1 2023-07-18 11:15:25 -03:00
  • cef7ceb2c9 🐛 fix(AccordionComponent): change comparison operator from '==' to '===' to ensure strict equality comparison Cristhian Zanforlin Lousa 2023-07-18 10:44:08 -03:00
  • ab61890997 🔀 refactor(main.py): extract get_static_files_dir() function to improve code readability and reusability 🔀 refactor(main.py): simplify setup_app() function by using get_static_files_dir() function to get static files directory Gabriel Luiz Freitas Almeida 2023-07-18 07:26:30 -03:00
  • cee4740b0f 🔧 fix(custom_component.py): add line break to improve readability of TODO comment gustavoschaedler 2023-07-18 02:05:37 +01:00
  • 11f7846e0a 🔥 refactor(conftest.py): remove unused fixtures and custom chain classes gustavoschaedler 2023-07-18 01:59:19 +01:00
  • 40b656c8d4 🔀 merge(AccordionComponent/index.tsx): resolve merge conflict in AccordionComponent/index.tsx file 🐛 fix(AccordionComponent/index.tsx): remove unnecessary code after resolving merge conflict Cristhian Zanforlin Lousa 2023-07-17 19:55:00 -03:00
  • c602fe5347 🐛 fix(AccordionComponent): resolve merge conflict in AccordionComponent/index.tsx 🐛 fix(AccordionComponent): add missing className to AccordionContent in AccordionComponent/index.tsx 🔧 chore(tailwind.config.js): fix syntax error in tailwind.config.js Cristhian Zanforlin Lousa 2023-07-17 19:54:32 -03:00
  • 0669a3e148 🎨 style(formModal): add custom-scroll class to Textarea component for custom styling 🎨 style(tailwind.config.js): add cursor: auto to scrollbar styles for better user experience Cristhian Zanforlin Lousa 2023-07-17 19:50:52 -03:00
  • 56eb70674a refactor[genericIconComponent]: Remove unnecessary svg method function Igor Carvalho 2023-07-17 19:47:15 -03:00
  • 5af49e5a36 refactor[genericIconComponent]: Remove unnecesary switch case Igor Carvalho 2023-07-17 19:43:46 -03:00
  • 662d4e81ae 🔧 chore(AccordionComponent): reformat code to improve readability and maintain consistent code style Cristhian Zanforlin Lousa 2023-07-17 19:41:04 -03:00
  • f9fdc6786c 🐛 fix(AccordionComponent/index.tsx): remove border from AccordionItem to improve visual consistency ✨ feat(AccordionComponent/index.tsx): add className "AccordionContent" to AccordionContent component for styling purposes Cristhian Zanforlin Lousa 2023-07-17 19:40:23 -03:00
  • eb76a51266 formatting Cristhian Zanforlin Lousa 2023-07-17 19:32:37 -03:00
  • d0f477e605 formatting code Cristhian Zanforlin Lousa 2023-07-17 19:31:50 -03:00
  • 6ee309ab22 formated code anovazzi1 2023-07-17 19:31:12 -03:00
  • 0db3ed20d8 🐛 fix(AccordionComponent): change trigger prop type to accept string or ReactElement to improve flexibility ✨ feat(AccordionComponent): add keyValue prop to uniquely identify each accordion item for better performance and stability 🐛 fix(ApiModal): add keyValue prop to AccordionComponent to uniquely identify each accordion item for better performance and stability 🐛 fix(formModal): remove unused imports and replace Accordion, AccordionContent, AccordionItem, and AccordionTrigger with AccordionComponent ✨ feat(formModal): add keyValue prop to AccordionComponent to uniquely identify each accordion item for better performance and stability 🐛 fix(types): change trigger prop type in AccordionComponentType to accept string or ReactElement to improve flexibility Cristhian Zanforlin Lousa 2023-07-17 19:30:39 -03:00
  • 2fc55105db refactor: Remove unnused code Igor Carvalho 2023-07-17 19:21:26 -03:00
  • 7a9abc2af5 refactor[GenericNode]: Remove unnused code Igor Carvalho 2023-07-17 19:06:46 -03:00
  • d1f744e4d4 Formatting Lucas Oliveira 2023-07-17 17:07:45 -03:00
  • 8c49bcfaa5 Styling fixes on both applications of codeTabsComponent Lucas Oliveira 2023-07-17 17:06:59 -03:00
  • 010f502adc refactor[tabsContext]: Remove unnused code Igor Carvalho 2023-07-17 15:57:29 -03:00
  • 3249f0153e refactor[promptComponent]: Remove unnused code Igor Carvalho 2023-07-17 15:54:40 -03:00
  • 69380447b0 🎨 style(AccordionComponent): change border style of AccordionItem to improve visual consistency Cristhian Zanforlin Lousa 2023-07-17 15:46:25 -03:00
  • b156d68cac refactor[src/components/ExtraSideBarComponent/index.tsx]: Remove duplicate side bar component Igor Carvalho 2023-07-17 15:29:00 -03:00
  • 8317fecc24 🎨 style(index.css): add animation for accordion content to slide down and slide up for better user experience 🔧 chore(tailwind.config.js): remove unused keyframes and animations related to accordion Cristhian Zanforlin Lousa 2023-07-17 15:27:15 -03:00
  • 709e3ef0e7 refactor[cardComponent]: Remove unnused code Igor Carvalho 2023-07-17 14:40:08 -03:00
  • c6ffb9a698 refactor<genericIconComponent>: Remove unnused SVG icon method Igor Carvalho 2023-07-17 14:14:33 -03:00
  • eebad04f52 Merge branch 'modalRefactor' of github.com:logspace-ai/langflow into modalRefactor Lucas Oliveira 2023-07-17 13:31:20 -03:00
  • 14a0669c99 Normailzed code modals Lucas Oliveira 2023-07-17 13:27:04 -03:00
  • 1ff4ef514f 🔧 fix(AccordionComponent): add className "AccordionContent" to AccordionContent component for styling purposes 🔧 fix(formModal): add className "AccordionContent" to AccordionContent component for styling purposes 🔧 fix(index.css): add styles for AccordionContent component to handle animation for opening and closing 🔧 fix(tailwind.config.js): remove unused keyframes and animations related to accordion Cristhian Zanforlin Lousa 2023-07-17 10:48:45 -03:00
  • 9788ca6c2e FIxed gap in modal and errors not displaying at CodeAreaModal Lucas Oliveira 2023-07-17 10:19:13 -03:00
  • 1dcabe6751 Remove console.log Igor Carvalho 2023-07-16 17:51:30 -03:00
  • 5486e31d14 feat[GenericNode]: Change GenericNode icon to generic icon Igor Carvalho 2023-07-16 17:50:13 -03:00
  • e4f5df9bad Removed unused file Lucas Oliveira 2023-07-16 17:10:09 -03:00
  • 8e6e2e9708 Merge branch 'modalRefactor' into python_custom_node_component Lucas Oliveira 2023-07-16 17:09:56 -03:00
  • 207e76a09d Fixed dropdown component on editNode Lucas Oliveira 2023-07-16 16:22:01 -03:00
  • 72baa7c2be Merge branch 'dev' into modalRefactor Lucas Oliveira 2023-07-16 16:19:36 -03:00
  • 43b23e4ef6 Added check to execute code when first rendering modal. To work, it must merge with ModalRefactor Lucas Oliveira 2023-07-16 16:18:40 -03:00
  • dc07b3c690 Removed output handle if baseclasses not present Lucas Oliveira 2023-07-16 16:03:08 -03:00
  • 034a8f0641 Fixed tooltip not working on CustomComponent Lucas Oliveira 2023-07-16 15:55:22 -03:00
  • 99f59d4dbf Fixed node not being saved Lucas Oliveira 2023-07-16 13:06:05 -03:00
  • d5ba08f776 Refactored data state management on parameter components and editnode modal, bug on saving(not storing changes on ReactFlowInstance) Lucas Oliveira 2023-07-16 00:55:22 -03:00
  • 31588c4e42 Optimized nodeToolbar and EditNodeModal Lucas Oliveira 2023-07-15 23:49:12 -03:00
  • f3b4e6e76f Removed closePopup from API modal Lucas Oliveira 2023-07-15 23:17:38 -03:00
  • eaa4f1343a 🐛 fix(tailwind.config.js): change height value from 100 to '100vh' to ensure full viewport height for slideDown animation Cristhian Zanforlin Lousa 2023-07-14 22:14:17 -03:00
  • de519d81a4 🐛 fix(AccordionComponent): remove console.log statement for open variable 🐛 fix(ApiModal): set open accordion to empty array if there are no accordions to open Cristhian Zanforlin Lousa 2023-07-14 22:09:02 -03:00
  • f8de3a5265 🔧 fix(index.css): adjust width of .api-modal-tabs to be 75vw on small screens to improve responsiveness 🔧 fix(ApiModal/index.tsx): remove unnecessary whitespace Cristhian Zanforlin Lousa 2023-07-14 21:58:13 -03:00
  • de2a24fa5d 🐛 fix(ApiModal/index.tsx): fix startState function to properly reset tweak and tweaksList variables ✨ feat(ApiModal/index.tsx): add logic to reset tweak and tweaksList variables when flow data nodes length is 0 Cristhian Zanforlin Lousa 2023-07-14 21:52:26 -03:00