Commit graph

1,454 commits

Author SHA1 Message Date
Igor Carvalho
289a3f5d83 Remove console.log 2023-07-26 23:01:07 -03:00
Igor Carvalho
7804ca9eaf refactor: Add more types 2023-07-26 22:59:55 -03:00
Igor Carvalho
c69eb33d24 fix pull problems 2023-07-26 18:31:15 -03:00
Igor Carvalho
0d92a62759 Merge dev into types_refactor 2023-07-26 18:26:22 -03:00
Igor Carvalho
91e0bf7a01 refactor: Change types to types folder 2023-07-25 20:43:11 -03:00
Igor Carvalho
ff2eb2d13d refactor[genericIconComponent]: Refactor icon to type it properly 2023-07-25 19:48:13 -03:00
Igor Carvalho
f11c41644c refactor[utils.ts]: Remove and change wrong types 2023-07-25 18:01:35 -03:00
Cristhian Zanforlin Lousa
f58500c89b merge fix 2023-07-25 10:41:57 -03:00
Lucas Oliveira
45673dcda8
Remove hard-coded colors and unnecessary dark classes (#636)
Change hard coded colors to langflow constants colors
2023-07-25 10:09:12 -03:00
Lucas Oliveira
812f5d2961 Styling fixes 2023-07-25 10:08:11 -03:00
Lucas Oliveira
bfbe66a547 Merge branch 'dev' into interceptor-dev 2023-07-25 10:07:34 -03:00
Lucas Oliveira
9e341fcc31 Merge branch 'dev' into fix-hardCoded-colors 2023-07-25 08:46:03 -03:00
dependabot[bot]
f57ecadfc1
build(deps): bump word-wrap from 1.2.3 to 1.2.5 in /src/frontend
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 11:44:58 +00:00
Cristhian Zanforlin Lousa
c05eaa5b12 🔧 fix(index.css): remove unnecessary hyphen in comment to improve readability 2023-07-24 18:09:01 -03:00
Igor Carvalho
af66bc6927 Add comments to Otávio help 2023-07-24 16:47:50 -03:00
Cristhian Zanforlin Lousa
2c32b13632 merging modal refactor 2023-07-24 16:18:45 -03:00
Igor Carvalho
d09e07e12d Formated code 2023-07-24 16:17:32 -03:00
Cristhian Zanforlin Lousa
9f3a7b9a75 📦 chore(frontend): add @types/axios package to improve type checking in the frontend
🐛 fix(typesContext.tsx): remove unnecessary retry logic and error logging in getTypes function
🚀 feat(API/api.tsx): add ApiInterceptor component to handle API response retries and error handling
🚀 feat(API/index.ts): replace axios calls with api instance from API/api.tsx for better code organization and reusability

 feat(index.tsx): add ApiInterceptor component to intercept API requests and responses for additional processing
2023-07-24 16:16:02 -03:00
Igor Carvalho
e40628a069 refactor: Remove any types 2023-07-24 16:15:29 -03:00
Lucas Oliveira
ddfb534a03 Fixed message not appearing when code is displayed 2023-07-24 15:51:28 -03:00
Igor Carvalho
53a20ecccf refactor[modals]: Remove any types 2023-07-24 14:10:38 -03:00
Igor Carvalho
4fc636cb9b refactor[EditNodeModal]: Remove any types 2023-07-24 13:20:29 -03:00
Lucas Oliveira
edf570f314 Added indicator of chat thinking when message is empty. 2023-07-24 11:32:36 -03:00
Lucas Oliveira
ada32b6a48 Refactored state management from tweaks 2023-07-24 10:58:48 -03:00
Lucas Oliveira
169a20ab97 Fixed all bugs with tweaks on API modal 2023-07-24 09:55:42 -03:00
Lucas Oliveira
66cec7d545 Formatting on merge 2023-07-23 19:49:13 -03:00
Lucas Oliveira
7239223481 Merge branch 'dev' into modalRefactor 2023-07-23 19:48:41 -03:00
Cristhian Zanforlin Lousa
97045a3bc0 Merge branch 'modalRefactor' into input-refactor 2023-07-22 09:43:49 -03:00
Cristhian Zanforlin Lousa
c21cf4bb56 🐛 fix(inputListComponent): import useContext from react to fix missing import error
🐛 fix(inputListComponent): import set from lodash to fix missing import error
 feat(inputListComponent): add PopUpContext import to use closeEdit function
🐛 fix(inputListComponent): add useEffect to update inputList state when value prop changes
🐛 fix(EditNodeModal): import getRandomKeyByssmm from utils to fix missing import error
 feat(EditNodeModal): add PopUpContext import to use setCloseEdit function
🐛 fix(EditNodeModal): add useEffect to reset myData state when modalOpen prop changes
2023-07-22 09:43:17 -03:00
Cristhian Zanforlin Lousa
c218dc1d02 Merge branch 'modalRefactor' into input-refactor 2023-07-22 09:05:38 -03:00
Cristhian Zanforlin Lousa
7d91c14481 🐛 fix(inputListComponent): remove redundant useEffect that sets inputList value from props
🐛 fix(inputListComponent): fix cloning of inputList array in onChange event handler to prevent mutation of state
2023-07-22 09:05:04 -03:00
Igor Carvalho
6113aae86f Refactor[NodeModal]: Remove unnused code (NodeModal) 2023-07-21 17:08:15 -03:00
Cristhian Zanforlin Lousa
247755c118 🐛 fix(nodeToolbarComponent): wrap EditNodeModal component in a div to fix layout issue 2023-07-21 11:56:34 -03:00
Cristhian Zanforlin Lousa
19b874b591 🔧 chore(genericModal/index.tsx): refactor useEffect hook to set input value when 'value' prop changes 2023-07-21 11:34:23 -03:00
Gabriel Luiz Freitas Almeida
dff5c87c72 🐛 fix(components): remove unnecessary empty line in ToggleComponent
🐛 fix(modals): fix typo in comment in CodeAreaModal
🐛 fix(pages): remove unnecessary empty line in MainPage
🐛 fix(utils): remove unnecessary semicolons in utils.ts
2023-07-21 11:17:13 -03:00
Gabriel Luiz Freitas Almeida
a21345ff44 Merge branch 'main' into dev 2023-07-21 11:16:27 -03:00
Cristhian Zanforlin Lousa
f67c0ff509 🐛 fix(EditFlowSettingsComponent): update flows array type to include description property to fix type error
🔧 chore(EditFlowSettingsComponent): refactor handleDescriptionChange to update description in flows array and setDesc state variable
🔧 chore(EditFlowSettingsComponent): update value prop of description textarea to use desc state variable instead of description prop
2023-07-21 11:09:35 -03:00
Cristhian Zanforlin Lousa
ff97f45a72 🔧 fix(codeTabsComponent): remove commented out console.log statement
🔧 fix(codeTabsComponent): add keyValue prop to AccordionComponent to fix missing key warning
2023-07-21 10:35:53 -03:00
Cristhian Zanforlin Lousa
df14fd0d58 🔨 refactor(inputListComponent): extract classNames function to improve code readability and reusability
🐛 fix(inputListComponent): add conditional styling to the parent div based on the length of inputList and the presence of editNode to fix layout issues
2023-07-21 10:27:50 -03:00
Cristhian Zanforlin Lousa
207ed3b0f0 formatting 2023-07-20 18:58:29 -03:00
Cristhian Zanforlin Lousa
25235a0d11 🔧 chore(textarea.tsx): refactor textarea component class names for improved readability and maintainability
🔧 chore(index.css): refactor input-primary class to remove unnecessary styles and improve readability
🔧 chore(index.css): add new textarea-primary class for textarea component with similar styles as input-primary but without truncation
🔧 chore(chatInput/index.tsx): replace textarea element with Textarea component for consistency and reusability
2023-07-20 18:40:24 -03:00
Igor Carvalho
76a0a40656 refactor[modals]: Add types to functions that didnt have it 2023-07-20 18:24:04 -03:00
Cristhian Zanforlin Lousa
7ff40f40a4 🔧 chore(index.css): adjust width of dropdown component options to improve layout consistency 2023-07-20 18:10:13 -03:00
Cristhian Zanforlin Lousa
3e99fa431b 🔧 fix(floatComponent): replace input element with custom Input component for consistency and reusability
🔧 fix(inputComponent): replace input element with custom Input component for consistency and reusability
🔧 fix(inputListComponent): replace input element with custom Input component for consistency and reusability
🔧 fix(intComponent): replace input element with custom Input component for consistency and reusability
🔧 fix(textAreaComponent): replace input element with custom Input component for consistency and reusability
🔧 fix(ui/input): update Input component styles to match the design requirements
🔧 fix(index.css): update styles for Input component to match the design requirements
🔧 fix(extraSidebarComponent): replace input element with custom Input component for consistency and reusability
2023-07-20 18:09:46 -03:00
Igor Carvalho
3a055b7411 refactor[alerts]: Add types to functions that didnt have it 2023-07-20 18:01:06 -03:00
Igor Carvalho
b5c6b06b3c refactor[components]: Add types to functions that didnt have it 2023-07-20 17:58:48 -03:00
Cristhian Zanforlin Lousa
c6157cf12a 🎨 style(index.css): update width of dropdown component options to be responsive on larger screens 2023-07-20 17:40:10 -03:00
Lucas Oliveira
ab185f57bd Fixed copy paste on all components 2023-07-20 17:17:48 -03:00
Igor Carvalho
84b2fb8aae refactor[CustomNodes]: Add types to functions that didnt have it 2023-07-20 17:12:50 -03:00
Lucas Oliveira
b2a7fe174c Disable copy paste removed in favor of class wrapping 2023-07-20 17:07:54 -03:00