Commit graph

6,572 commits

Author SHA1 Message Date
igorrCarvalho
0e8c6681e4 Fix: Add ArrowUp and ArrowDown to if params to prevent arrows not working on int input 2023-11-21 19:17:52 -03:00
igorrCarvalho
dba85aadfb Refactor: Make text area modal open on input click to avoid it not opening on edit node page 2023-11-21 18:55:52 -03:00
anovazzi1
2bdc1b7fbb fix(PageComponent): update saveFlow function to pass a modified flow object with updated data property to improve data consistency
fix(PageComponent): update saveFlow function to pass a modified flow object with updated data property to improve data consistency
fix(extraSidebarComponent): update saveFlow function to pass a modified flow object with updated data property to improve data consistency
2023-11-21 18:39:12 -03:00
Gabriel Luiz Freitas Almeida
0f21f1c800 🔧 chore(schema.py): add 'private' field to the ListComponentResponse schema to support private components 2023-11-21 17:20:59 -03:00
anovazzi1
7549cbb90b fix(cardComponent): update ShadTooltip content to always display "Private" for private cards
fix(API): update parameter name from status to isPrivate for consistency and clarity
fix(StorePage): update parameter name from status to isPrivate to match API changes and improve semantics
2023-11-21 17:19:49 -03:00
Gabriel Luiz Freitas Almeida
586f1d5f8f 🔧 chore(service.py): reorder imports to follow PEP8 guidelines
🔧 chore(service.py): remove duplicate import of logger from loguru module
🔧 chore(service.py): add "private" field to the list of fields to retrieve from the store API
2023-11-21 17:15:34 -03:00
Gabriel Luiz Freitas Almeida
c84d93fa5c 🎨 style(parameterComponent): improve CSS for dropdown and refresh button in ParameterComponent
🐛 fix(parameterComponent): add conditional rendering for refresh button based on data.node.template[name].refresh value
2023-11-21 16:42:56 -03:00
Gabriel Luiz Freitas Almeida
31b3d9eb33 Add refresh option to TemplateFieldCreator 2023-11-21 16:42:46 -03:00
Gabriel Luiz Freitas Almeida
59adf6064d Refactor build_field_config function to update
field dictionary
2023-11-21 16:42:41 -03:00
Gabriel Luiz Freitas Almeida
8f6f020881 Add RefreshCcw icon to nodeIconsLucide 2023-11-21 16:42:29 -03:00
Lucas Oliveira
e3797bae8d Set tab id as null when entering store 2023-11-21 16:22:06 -03:00
Lucas Oliveira
82b84dd7d5 Fixed checkbox function on share modal 2023-11-21 16:20:40 -03:00
Lucas Oliveira
e4f6aed2f6 Delete modal fixed 2023-11-21 16:19:34 -03:00
Gabriel Luiz Freitas Almeida
df5175f746 🐛 fix(parameterComponent/index.tsx): add error handling when updating custom component values
 feat(parameterComponent/index.tsx): add refresh button to update custom component values
2023-11-21 16:09:13 -03:00
Gabriel Luiz Freitas Almeida
51397dbbe2 Add postCustomComponentUpdate API function 2023-11-21 16:09:09 -03:00
Gabriel Luiz Freitas Almeida
11eeaa6bfc Update schemas.py with CustomComponentCode field 2023-11-21 16:08:56 -03:00
Gabriel Luiz Freitas Almeida
172e8d3853 🐛 fix(endpoints.py): fix import order and remove unused imports to improve code readability and maintainability
 feat(endpoints.py): add support for creating and updating custom components in the API
🐛 fix(types.py): add helper function to create and validate custom components before using them
2023-11-21 16:08:41 -03:00
Gabriel Luiz Freitas Almeida
4959d8ecf4 Merge branch 'feature/store' into dynamic_field 2023-11-21 15:04:44 -03:00
igorrCarvalho
8448d8ea95 Refactor: Change components and flows icon color 2023-11-21 15:04:35 -03:00
Gabriel Luiz Freitas Almeida
020488e97b Fix typos and update method names 2023-11-21 14:49:47 -03:00
Gabriel Luiz Freitas Almeida
f956c2a77e Fix store_api_Key typo in get_components function 2023-11-21 14:45:23 -03:00
Gabriel Luiz Freitas Almeida
c6dfb90bcf 🐛 fix(flows.py): remove unused imports and fix function call to read_flows
🐛 fix(test_database.py): fix function call to Flow.model_validate
🐛 fix(test_llms_template.py): fix values in test cases
🔥 chore(test_store.py): remove unused test file and test case
2023-11-21 14:45:02 -03:00
Gabriel Luiz Freitas Almeida
777686dd65 Fix bug in login functionality 2023-11-21 14:13:51 -03:00
Gabriel Luiz Freitas Almeida
686e15da1a Refactor process function in endpoints.py 2023-11-21 14:13:33 -03:00
Gabriel Luiz Freitas Almeida
62e470b03b Add store parameter to run function 2023-11-21 11:29:08 -03:00
nsxshota
5d75376f2c update cdk code 2023-11-21 15:24:03 +09:00
Gabriel Luiz Freitas Almeida
9dbb8d3578 🔧 fix(store.py): remove unnecessary comment in download_component function
🔧 fix(utils.py): replace requests library with httpx library for getting latest released version of langflow from PyPI to improve performance and reliability
2023-11-20 21:35:12 -03:00
Gabriel Luiz Freitas Almeida
5c65e18289 Fix exception handling in API endpoints 2023-11-20 21:13:41 -03:00
Gabriel Luiz Freitas Almeida
3753c2884c Update base.py with new store URLs 2023-11-20 21:04:39 -03:00
Gabriel Luiz Freitas Almeida
437aec4e44 Refactor import statements in auth.py and
service.py
2023-11-20 21:04:39 -03:00
Gabriel Luiz Freitas Almeida
339073a514 Update token expiration time 2023-11-20 21:04:38 -03:00
igorrCarvalho
a54363c4d5 Fix: Add tailwind class to avoid text breaking component box 2023-11-20 21:03:00 -03:00
igorrCarvalho
1c36520bee Feat: Add dict and NestedDict as handle types to avoid edit node modal option not showing up 2023-11-20 20:13:33 -03:00
anovazzi1
0ef14241f0 feat(API): add support for private flows in saveFlowStore function
The saveFlowStore function in the API controller now includes a new parameter called "private". This parameter is used to determine whether the flow should be saved as a private flow or not. If the "publicFlow" variable is false, the "private" parameter will be set to true, indicating that the flow should be saved as a private flow. The "status" field in the saved flow object is also updated accordingly to reflect the flow's privacy status.
2023-11-20 19:56:08 -03:00
anovazzi1
2cbf563b45 feat(cardComponent): add support for displaying private indicator on CollectionCardComponent
feat(store): add 'private' property to storeComponent type to handle private components
2023-11-20 19:55:17 -03:00
Gabriel Luiz Freitas Almeida
3432a07285 🐛 fix(store.py): rename create_component function to share_component for better semantics
 feat(store.py): add support for private query parameter in get_components function to filter components by privacy
🐛 fix(schema.py): set default value of private field in StoreComponentCreate schema to True
🐛 fix(service.py): change status field to private field in build_filter_conditions and get_list_component_response_model functions to filter components by privacy
2023-11-20 19:49:11 -03:00
anovazzi1
d9aeb6b79c fix(storeContext.tsx): fix setLoadingApiKey not being called in catch block to stop loading state
fix(API/index.ts): fix BASE_URL_API missing slash causing incorrect API endpoint URL
fix(StorePage/index.tsx): add catch block to handle error when fetching store tags and log error message
2023-11-20 19:29:39 -03:00
igorrCarvalho
0d8b6a3881 Fix: infinite loading Bug on langflow store page 2023-11-20 19:08:34 -03:00
cristhianzl
b1890bdaf9 fix(nodeToolbarComponent): refactor condition for rendering Edit option in SelectItem to improve readability and maintainability 2023-11-20 17:57:22 -03:00
anovazzi1
ffdb7e1677 fix(API/index.ts): change status values from lowercase "public" and "private" to uppercase "Public" and "Private" for consistency and clarity 2023-11-20 15:51:14 -03:00
anovazzi1
59da74baa9 fix(shareModal/index.tsx): improve error message by specifying whether it's an error sharing a component or a flow 2023-11-20 15:42:24 -03:00
anovazzi1
36bcea49a4 fix(shareModal/index.tsx): fix variable naming and improve code readability
fix(nodeToolbarComponent/index.tsx): fix issue with flowComponent not being cloned before setting it
2023-11-20 15:32:15 -03:00
nsxshota
22b7032355 add curl 2023-11-20 19:29:01 +09:00
nsxshota
fe086518ea modified: Dockerfile for cdk 2023-11-20 19:28:55 +09:00
Gabriel Luiz Freitas Almeida
bbba05b49b 🐛 fix(store.py): replace generic exception handling with custom exceptions to provide more specific error messages and status codes
🔀 merge(exceptions.py): add custom exceptions with status codes to handle specific errors in the store service
🔀 merge(service.py): replace ValueError with custom exceptions in the store service to provide more specific error messages and status codes
2023-11-19 19:35:23 -03:00
Lucas Oliveira
db275cffa2 Removed unused component 2023-11-18 22:47:29 -03:00
Lucas Oliveira
0a0c9ac27b Modularized Tags Selection and created share modal 2023-11-18 22:44:30 -03:00
Lucas Oliveira
b21b756982 FIxed button naming 2023-11-18 22:23:12 -03:00
Lucas Oliveira
0770beda11 Fixed component being treated as flow when nodeToolBar open ShareModal 2023-11-18 22:20:46 -03:00
Lucas Oliveira
829da5f1e2 nodeToolbar opening logic changed 2023-11-18 22:18:58 -03:00