Commit graph

2,427 commits

Author SHA1 Message Date
igorrCarvalho
3395a932aa Feat: add data to edges with source and handle info 2023-08-24 17:44:43 -03:00
anovazzi1
6dbc06dc12 Merge remote-tracking branch 'origin/dev' into bugfix-msgSuccess 2023-08-24 17:41:26 -03:00
anovazzi1
24e84aa2fe Merge branch 'dev' into bugfix-msgSuccess 2023-08-24 17:39:52 -03:00
anovazzi1
668387dde8 Merge branch 'dev' into bugfix-tweakPage 2023-08-24 17:18:40 -03:00
anovazzi1
4fab63e5de code format 2023-08-24 17:10:02 -03:00
anovazzi1
c1c5b2242f fix(buildTrigger/index.tsx): change the success message title from "Code is ready to run" to "Flow is ready to run" for better clarity and accuracy 2023-08-24 17:08:24 -03:00
igorrCarvalho
f8d51b4882 Refactor: Move header login buttons to right side of flow name 2023-08-24 14:29:24 -03:00
DiogenesBR
cdd25dbeb2 add some new types to the .gitattributes 2023-08-24 14:56:09 +00:00
Lucas Oliveira
eaf70303ee Fixed bug where name is not changed when description changes 2023-08-24 10:52:23 -03:00
Gabriel Luiz Freitas Almeida
061a9c09ba Merge remote-tracking branch 'origin/main' into dev 2023-08-23 21:42:34 -03:00
anovazzi1
cd6985591f fix(App.tsx): replace hardcoded error message with FetchErrorComponent to improve error handling and display
feat(App.tsx): add support for displaying fetch error message and description in FetchErrorComponent
feat(fetchErrorComponent): create FetchErrorComponent to display fetch error message and description
fix(genericIconComponent): add stroke-width property to ensure consistent icon stroke width
feat(loadingComponent): import LoadingComponentProps from types/components to improve type safety
feat(constants): add FETCH_ERROR_MESSAGE and FETCH_ERROR_DESCRIPTION constants for fetch error handling
fix(typesContext): remove console.log statement and set fetchError to true when an error occurs during fetching types
feat(typesContext): add error handling for fetching types and set fetchError to true when an error occurs
feat(typesContext): import fetchErrorComponentType from types/components to improve type safety
feat(types/components): create fetchErrorComponentType and LoadingComponentProps interfaces for type safety
fix(styleUtils): import Unplug icon from lucide-react to fix missing icon issue
2023-08-23 21:09:53 -03:00
igorrCarvalho
9686542f0a Fix: code is ready to run does not appear after build 2023-08-23 20:38:40 -03:00
igorrCarvalho
8fb73e689a Fix: Code is ready to run success alert showing up in tweaks page 2023-08-23 20:23:18 -03:00
igorrCarvalho
13a60c872f Fix: Node deleted when press backspace on tweaks page 2023-08-23 19:26:25 -03:00
igorrCarvalho
56a75af6da Remove console.log 2023-08-23 18:02:50 -03:00
igorrCarvalho
0ffdaa00a5 Fix: Backspace doesnt work on tweak page 2023-08-23 17:39:34 -03:00
anovazzi1
d9b03980f7 fix(typesContext.tsx): remove unnecessary code that checks result status and fetches health on error
fix(typesContext.tsx): handle error when fetching types and set fetchError state to true
2023-08-23 14:59:20 -03:00
anovazzi1
ea105ee7af refactor(typesContext.tsx): remove unnecessary retry logic and interval for fetching types
fix(typesContext.tsx): fix issue where component was not unmounting properly and causing memory leaks
2023-08-23 14:44:45 -03:00
anovazzi1
f22768c2bc fix(App.tsx): remove extra comma in the useContext hook
feat(App.tsx): add support for displaying fetch error message when there is an error in the backend API call
fix(typesContext.tsx): add error handling for API call and set fetchError state accordingly
feat(typesContext.tsx): add fetchError state and setFetchError function to the typesContext
2023-08-23 12:52:49 -03:00
Cristhian Zanforlin Lousa
b4a01ad934 🔧 fix(tabsContext.tsx): add setSuccessData to useContext to fix missing function error
 feat(tabsContext.tsx): add success alert when changes are saved successfully in TabsProvider component
🔧 fix(flowSettingsModal/index.tsx): remove setSuccessData from useContext to fix missing function error
🔧 fix(AdminPage/index.tsx): remove console.log statement
 feat(AdminPage/index.tsx): add success alert when user is edited successfully
🔧 fix(extraSidebarComponent/index.tsx): remove setSuccessData from useContext to fix missing function error
2023-08-22 22:14:46 -03:00
Cristhian Zanforlin Lousa
ada752309a 🐛 fix(App.tsx): add setIsAdmin function to AuthContext to update isAdmin state when user data is fetched
 feat(App.tsx): set isAdmin state based on user's is_superuser value to conditionally render admin-related components
🐛 fix(headerComponent/index.tsx): fix conditional rendering of Sign out, Home, and Admin page buttons based on autoLogin and isAdmin values
🐛 fix(authContext.tsx): remove unnecessary useEffect to update isAdmin state when accessToken or isAdmin changes
🔥 chore(api.tsx): remove unused sleep function
 feat(AdminPage/index.tsx): update text in AdminPage to provide a better description of the page's purpose
🐛 fix(routes.tsx): wrap AdminPage and ApiKeysPage components with ProtectedAdminRoute component to restrict access to admin-only routes
2023-08-22 21:49:37 -03:00
DiogenesBR
78c58c1f7e Merge dev with custom_component_chroma 2023-08-22 19:21:52 -03:00
Cristhian Zanforlin Lousa
1d14f24a97 merge fix 2023-08-22 18:20:26 -03:00
Cristhian Zanforlin Lousa
54fd3d5705 🔧 fix(headerComponent): remove unused imports and function call to improve code cleanliness and performance
 feat(headerComponent): remove conditional rendering for api keys button to always display it in the header
🔧 fix(ApiKeysPage): add missing import for Header component to fix compilation error
2023-08-22 18:20:04 -03:00
anovazzi1
76db1b011c Merge remote-tracking branch 'origin/dev' into login 2023-08-22 17:41:19 -03:00
anovazzi1
cee95cb0a6 chore(constants.ts): update SIGN_UP_SUCCESS message to improve clarity and conciseness 2023-08-22 17:18:35 -03:00
igorrCarvalho
0dd098882c Merge branch 'login-auth' of github.com:logspace-ai/langflow into login-auth 2023-08-22 16:28:14 -03:00
igorrCarvalho
471692bdd1 Refactor: Add Header to admin page 2023-08-22 16:27:26 -03:00
anovazzi1
99407c2617 feat(ApiKeysPage): add Header component to the ApiKeysPage for consistent layout and navigation
The Header component is added to the ApiKeysPage to provide a consistent layout and navigation across the application. This will improve the user experience and make it easier for users to navigate between different pages.
2023-08-22 16:17:47 -03:00
igorrCarvalho
185754e2cd a 2023-08-22 15:00:14 -03:00
igorrCarvalho
0c0d8cfdb3 Feat: Add button on admin page to return to main page 2023-08-22 14:33:06 -03:00
anovazzi1
0fa51db7c5 fix bug on import new flow 2023-08-22 11:06:24 -03:00
Lucas Oliveira
a463641b8f Fixed bug where handles are not connecting 2023-08-21 20:14:32 -03:00
igorrCarvalho
a2a3beb868 Fix: github stars on header always reloading 2023-08-21 19:54:20 -03:00
Cristhian Zanforlin Lousa
76c4d4afe7 🔧 chore(Makefile): remove unnecessary semicolon in 'install_frontend' and 'install_frontendc' targets
🔧 chore(Makefile): remove unnecessary 'rm' command in 'install_frontendc' target
 feat(App.tsx): set user data in state when auto-login is triggered to ensure consistent user experience
🔧 chore(UserManagementModal/index.tsx): rename 'isDisabled' state variable to 'isActive' for clarity
🔧 chore(UserManagementModal/index.tsx): rename 'isDisabled' prop and label to 'Active' for clarity
🔧 chore(UserManagementModal/index.tsx): rename 'isDisabled' state variable to 'isActive' in handleInput function
🔧 chore(AdminPage/index.tsx): rename 'confirmationText' prop from 'Edit' to 'Save' for clarity
2023-08-21 18:46:42 -03:00
anovazzi1
f28aaed065 update crlf 2023-08-21 18:02:32 -03:00
igorrCarvalho
d7f0ab9ba3 Fix: Tweak section and tweaks inputs not working 2023-08-21 17:47:37 -03:00
anovazzi1
43ef297263 fixed import error on edges 2023-08-21 16:08:12 -03:00
Gabriel Luiz Freitas Almeida
9baf588e5e 🔥 refactor(nginx.conf): remove redundant code for proxying /api/v1/ and /health routes to backend service 2023-08-20 23:38:47 -03:00
DiogenesBR
5e7681ea09 Add some new types to .gitattributes 2023-08-18 16:58:18 -03:00
Cristhian Zanforlin Lousa
b319b909e4 ️ chore(frontend): update moment package to version 2.29.4 for bug fixes and improvements 2023-08-18 15:01:10 -03:00
Gabriel Luiz Freitas Almeida
853648ae33 📝 chore(locustfile.py): add locustfile.py for load testing the API
🐛 fix(test_process.py): refactor test_load_langchain_object_with_cached_session to use session_manager
🐛 fix(test_process.py): refactor test_load_langchain_object_with_no_cached_session to use session_manager
🐛 fix(test_process.py): refactor test_load_langchain_object_without_session_id to use session_manager
2023-08-18 08:51:56 -03:00
Cristhian Zanforlin Lousa
8e662e65f6 🐛 fix(ApiKeysPage): add missing TableHead for 'Id' column to improve table structure
 feat(ApiKeysPage): add tooltip and cursor-default to display the full 'Id' value in the table
🐛 fix(ApiKeysPage): fix typo in ConfirmationModal titleHeader from 'Delete User' to 'Delete Key'
 feat(ApiKeysPage): add onCloseModal callback to refresh keys after creating a new secret key
2023-08-17 19:51:40 -03:00
Cristhian Zanforlin Lousa
8dcbeb5e39 🐛 fix(base.py): set AUTO_LOGIN to False to disable automatic login as a super user
 feat(App.tsx): add logout function to useContext and handle page refresh to maintain user login state
🐛 fix(SecretKeyModal/index.tsx): add onCloseModal function to handle closing modal when API key is not available
 feat(ApiKeysPage/index.tsx): add onCloseModal prop to SecretKeyModal component to refresh API keys after creating a new key
🐛 fix(ApiKeysPage/index.tsx): replace getIdKeyHidden function with directly accessing api_key property in ApiKey object
 feat(types/components/index.ts): add onCloseModal function to ApiKeyType type to handle closing modals
2023-08-17 19:51:28 -03:00
anovazzi1
712dcf3535 fix(reactflowUtils.ts): fix typo in function name from scapedJSONStringfy to scapeJSONStringify
feat(reactflowUtils.ts): add customStringify function to handle special cases when stringifying JSON objects
2023-08-17 19:34:04 -03:00
Cristhian Zanforlin Lousa
a35a4fd648 🐛 fix(App.tsx): set loading state to false after successful auto login or getting logged user data
🐛 fix(routes.tsx): remove duplicate import of ApiKeysPage
2023-08-17 19:23:52 -03:00
Cristhian Zanforlin Lousa
bfe8053127 merging with authentication 2023-08-17 19:18:30 -03:00
Cristhian Zanforlin Lousa
151bbc24d2 🐛 fix(headerComponent): fix rendering issue with API keys button when autoLogin is true
 feat(headerComponent): add condition to render API keys button only when autoLogin is false
2023-08-17 19:06:05 -03:00
Cristhian Zanforlin Lousa
b15ab5bae0 Merge branch 'login-auth' of https://github.com/logspace-ai/langflow into login-auth 2023-08-17 18:46:27 -03:00
anovazzi1
11a2d12c6b Merge remote-tracking branch 'origin/dev' into newHandleId 2023-08-17 16:17:14 -03:00