Commit graph

1,595 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
d0cee2cc09 Formatting 2023-08-14 21:07:54 -03:00
Gabriel Luiz Freitas Almeida
9df5e94195
Prevent Default on Ctrl + Backspace in ReactFlow (#706) 2023-08-14 19:42:29 +00:00
Cristhian Zanforlin Lousa
754d26633a 🐛 fix(constants.ts): add backtick (`) and backtick (´) to specialCharsRegex to include them as special characters 2023-08-14 16:39:22 -03:00
Cristhian Zanforlin Lousa
4522cd383e 🐛 fix(reactflowUtils.ts): fix bug with control+backspace key combination on Windows/Linux and Mac 2023-08-14 16:28:52 -03:00
Cristhian Zanforlin Lousa
a531cc6066 🔧 chore(reactflowUtils.ts): remove console.log statement for keydown event in handleKeyDown function
🐛 fix(reactflowUtils.ts): fix handleKeyDown function to properly handle special characters and backspace key
2023-08-14 15:58:26 -03:00
Cristhian Zanforlin Lousa
9acf9e39aa 🔧 fix(constants.ts): add specialCharsRegex constant to match special characters in strings
🔧 fix(reactflowUtils.ts): update handleKeyDown function to prevent deletion of block when a special character is the last character in the input value
2023-08-14 11:15:26 -03:00
Lucas Oliveira
c37e1223fc Fixed variable names 2023-08-11 12:09:00 -03:00
Lucas Oliveira
2436461f5d Fixed bug on Export Modal 2023-08-10 14:50:15 -03:00
Gabriel Luiz Freitas Almeida
dc6a5ac73a 🔄 refactor(popover.tsx): reorder exported components to improve readability and consistency 2023-08-10 13:46:57 -03:00
anovazzi1
21fb5aad6c style(headerComponent): capitalize the first letter of "The" in "Join The Waitlist" for consistency and readability 2023-08-09 10:59:50 -03:00
anovazzi1
181beb810e style(headerComponent): capitalize the first letter of "join the waitlist" to improve consistency and readability 2023-08-09 10:44:25 -03:00
anovazzi1
24cc59674b chore(headerComponent): remove commented out code for waitlist link
The commented out code for the waitlist link in the header component has been removed. This code was not being used and was cluttering the codebase.
2023-08-09 10:28:50 -03:00
anovazzi1
a99a7fe189 fix(headerComponent): fix conditional rendering of waitlist link in header component
chore(headerComponent): comment out unused waitlist link in header component
chore(applies.css): update styling of waitlist link in header component to match design requirements
2023-08-08 22:06:14 -03:00
anovazzi1
c67aa738ea feat(headerComponent): add "join the waitlist" link to the header component
- Added a new anchor tag with the link to the Langflow website's waitlist page
- Added a new CSS class `.header-waitlist-link-box` to style the waitlist link
- Added hover effect to the waitlist link when hovered over
2023-08-08 21:55:23 -03:00
Gabriel Luiz Freitas Almeida
b8d8ed8283 Revert "Revert "Fixes flows without input_keys not being runnable" (#731)"
This reverts commit 352e74cbc7, reversing
changes made to 3f531a1157.
2023-08-08 15:12:37 -03:00
Gabriel Luiz Freitas Almeida
f9b392d5b8
Revert "Fixes flows without input_keys not being runnable" 2023-08-08 15:02:16 -03:00
Gabriel Luiz Freitas Almeida
df49a6a410
Merge branch 'main' into inputKeysBugFix 2023-08-08 15:01:35 -03:00
Gabriel Luiz Freitas Almeida
a64f03da9c 📝 docs(loading_document.mdx): update the "Web Page" field URL to point to the correct documentation URL
📝 docs(CNAME): update the CNAME file to point to the new domain for the documentation

🔧 fix(ApiModal/index.tsx): update the links in the description to point to the correct documentation URL
2023-08-08 14:11:57 -03:00
Gabriel Luiz Freitas Almeida
d1f09a6a64 🔨 refactor(utils.ts): remove unnecessary newline after the return statement in getChatInputField function 2023-08-07 20:34:22 -03:00
Gabriel Luiz Freitas Almeida
bd7489206d 🐛 fix(chatComponent): add null check for formKeysData.input_keys to prevent error when accessing undefined property 2023-08-07 20:32:27 -03:00
Gabriel Luiz Freitas Almeida
16666426f7 🐛 fix(chatComponent): fix condition to check if parsedData.input_keys is not undefined
 feat(chatComponent): add logic to close the connection and finish when end_of_stream event is received
2023-08-07 20:31:59 -03:00
Gabriel Luiz Freitas Almeida
e1cbc0d5d4 🐛 fix(utils.ts): fix missing closing bracket in getChatInputField function
 feat(utils.ts): add getChatInputField function to retrieve the chat input field based on the current flow and tabs state
2023-08-07 20:31:32 -03:00
Gabriel Luiz Freitas Almeida
2abc0d2fb4 🐛 fix(formModal/index.tsx): handle case when tabsState or formKeysData is undefined to prevent errors
 feat(formModal/index.tsx): add support for displaying input keys and handling input changes in the form modal
2023-08-07 20:28:41 -03:00
anovazzi1
7f31f7f519 refactor(chatComponent): simplify condition for setting canOpen state in Chat component
The condition for setting the `canOpen` state in the Chat component was simplified by removing unnecessary checks for `formKeysData.input_keys` and `Object.keys(tabsState[flow.id].formKeysData.input_keys).length > 0`. The new condition only checks for the existence of `tabsState[flow.id].formKeysData`. This change improves code readability and reduces unnecessary complexity.
2023-08-07 18:35:14 -03:00
Cristhian Zanforlin Lousa
e2f0f2069e 🐛 fix(reactflowUtils.ts): prevent default behavior and stop propagation of keyboard event when pressing Ctrl + Backspace on input value that matches block or ends with a space character to improve user experience 2023-08-04 16:04:15 -03:00
Lucas Oliveira
87a2e63f79 Fixed chat message size 2023-08-04 12:47:21 -03:00
Lucas Oliveira
b9d433b37c Fixed break words on all code 2023-08-04 12:34:25 -03:00
Cristhian Zanforlin Lousa
75e25ad67f Merge branch 'dev' into bugfix-eventprop 2023-08-03 15:30:39 -03:00
Cristhian Zanforlin Lousa
9d3018ed62 Merge branch 'dev' into bugfix-eventprop 2023-08-03 15:29:59 -03:00
anovazzi1
19b5a05af0 fix(reactflowUtils.ts): import Edge from reactflow to fix type error and improve code semantics
feat(reactflowUtils.ts): add getConnectedNodes function to retrieve connected nodes based on an edge
fix(styleUtils.ts): remove unused getConnectedNodes function
2023-08-02 21:27:13 -03:00
Lucas Oliveira
214aef76bf Fixed formModal 2023-08-02 12:07:45 -03:00
Lucas Oliveira
3733743da3 Revert "Fixed bug of fastavro version and form modal memory keys"
This reverts commit f5cb771018.
2023-08-02 12:07:21 -03:00
Lucas Oliveira
dbcd613251 Revert "Removed unused console log"
This reverts commit da7391e783.
2023-08-02 12:07:08 -03:00
Cristhian Zanforlin Lousa
4f2fc11045 🔥 refactor(App.tsx): remove unused code related to preventing control+backspace event
The code related to preventing the control+backspace event in the application was removed as it was no longer needed.
2023-08-02 11:52:33 -03:00
Lucas Oliveira
da7391e783 Removed unused console log 2023-08-02 11:44:35 -03:00
Lucas Oliveira
f5cb771018 Fixed bug of fastavro version and form modal memory keys 2023-08-02 11:39:17 -03:00
Cristhian Zanforlin Lousa
89671a8859 🐛 fix(App.tsx): add support for preventing control+backspace event on the application to improve user experience 2023-08-01 23:21:58 -03:00
Cristhian Zanforlin Lousa
8c2ce3f209 🔀 merge(frontend): resolve merge conflict in reactflowUtils.ts file
🐛 fix(frontend): remove unnecessary merge conflict markers in reactflowUtils.ts file
2023-08-01 20:21:06 -03:00
Cristhian Zanforlin Lousa
2f1f3ee9d8 🐛 fix(App.tsx): prevent default behavior of Ctrl+Backspace key combination to improve user experience
🐛 fix(AccordionComponent/index.tsx): prevent default behavior of Backspace key to improve user experience

🐛 fix(floatComponent/index.tsx): prevent default behavior of Backspace key to improve user experience

🐛 fix(inputComponent/index.tsx): prevent default behavior of Backspace key to improve user experience

🐛 fix(inputListComponent/index.tsx): prevent default behavior of Ctrl+Backspace key combination to improve user experience

🐛 fix(intComponent/index.tsx): prevent default behavior of Backspace key to improve user experience

🐛 fix(genericModal/index.tsx): prevent default behavior of Backspace key to improve user experience
2023-08-01 20:15:54 -03:00
Gabriel Luiz Freitas Almeida
3a76d2de59 🐛 fix(parameterComponent): change default value for unknown node family to "Other" for better clarity 2023-08-01 19:27:08 -03:00
anovazzi1
1d20a91b6e fix csv file upload bug 2023-08-01 18:53:47 -03:00
Gabriel Luiz Freitas Almeida
7e8495efc2 formatting 2023-08-01 15:45:06 -03:00
Gabriel Luiz Freitas Almeida
d7a13755b3
Merge branch 'dev' into python_custom_node_component 2023-08-01 15:31:44 -03:00
Lucas Oliveira
baf86152db Minor bug fixes 2023-08-01 10:55:20 -03:00
Gabriel Luiz Freitas Almeida
68bd9ce4da 🐛 fix(styleUtils.ts): update the label for the 'unknown' node to 'Other' for better clarity and consistency 2023-07-31 18:32:24 -03:00
Lucas Oliveira
af083f24d3 Fixed modal saving changes when not supposed to 2023-07-31 17:44:55 -03:00
Lucas Oliveira
1687824453 Optimized code 2023-07-31 14:01:54 -03:00
Lucas Oliveira
ac46fff761 Formattef code 2023-07-31 10:53:42 -03:00
Lucas Oliveira
2720d27e30 Fixed error showing when not supposed to 2023-07-31 10:53:03 -03:00
Lucas Oliveira
ce2f750626 Optimized code 2023-07-31 10:50:51 -03:00