langflow/src/frontend
Lucas Oliveira a09652ca5f
fix: refactor loading of main page, use new Sidebar in main page, fix small UI bugs (#4451)
* Tighten space between main page sidebar buttons

* Fixed skeleton size

* Added playground button back

* Updated no components and flows state

* Update default icon to Workflow

* Fixed size of list cards

* Removed browse store

* Removed playground button

* Removed black background from empty folder state

* Update empty state color

* Fix color of empty state

* fix text not selectable

* updated border color

* added shadow only on hover

* Remove JSON from Download JSON

* Fixed colors and weight of tabs on home page

* Fixed padding on list and grid components

* Update icons that take long to load

* Fixed icon and bg color for home tiles

* Removed unused code

* removed placeholder data for skeleton to not appear on first load

* Make onSuccess refetch the queries so that the loading waits for it

* Removed unused divs on foldersidebarnav

* Refactor sidebar buttons to use new shadcn sidebar

* Created skeletons for folder, grid and list

* Added new sidebar size

* Use new sidebar button on header and implemented animation

* Changed icon to getIcon

* Added sidebar provider and fixed loading states of the main page

* Removed folder buttons on emptyPage

* Fixed foldername to appear immediatly, and fixed loading states for the folders

* Removed unused state from folders store

* Removed unused states from folders store type

* Added new icon

* fixed modals component to not show a trash icon

* Changed icons to load immediatly

* Added empty folder condition to not display header info

* Added conditions to show loading state until everything loads

* Created empty folder state

* Changed empty page to correct colors

* Added skeletons while flows of the folder are loading

* Removed shadow from text

* Fixed font chivo taking long time to load

* Fix adding new folder not redirecting

* [autofix.ci] apply automated fixes

* Fixed colors and paddings on list and grid components

* Re added tooltips to upload and create folders

* fix input for name editing

* Fix tests

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-08 17:33:52 +00:00
..
.dspy_cache fix: use init_subclass instead of metaclass to enforce decorator (#3942) 2024-09-27 12:06:15 +00:00
harFiles Astra Assistants Support (#2041) 2024-07-22 10:26:30 -07:00
public fix: add favicon to langflow's frontend project (#2836) 2024-07-19 15:47:06 -03:00
src fix: refactor loading of main page, use new Sidebar in main page, fix small UI bugs (#4451) 2024-11-08 17:33:52 +00:00
tests fix: refactor loading of main page, use new Sidebar in main page, fix small UI bugs (#4451) 2024-11-08 17:33:52 +00:00
.dockerignore
.eslintrc.json 🔧 (.pre-commit-config.yaml): add eslint-plugin-react@latest as a dependency to improve linting for React components 2024-05-02 18:51:27 -03:00
.gitignore 🔧 (Makefile): remove unnecessary kill command for frontend server in run_frontend target 2024-04-19 12:38:57 -03:00
.prettierignore Format tests and update prettier command 2024-06-10 15:23:52 -03:00
.prettierrc.mjs Fixed Prettier tailwind formatting 2024-06-17 14:37:23 -03:00
cdk.Dockerfile Update Dockerfiles to use latest node version in frontend 2024-04-17 11:21:10 -03:00
dev.Dockerfile Update Dockerfiles to use latest node version in frontend 2024-04-17 11:21:10 -03:00
Dockerfile
favicon.ico fix: add favicon to langflow's frontend project (#2836) 2024-07-19 15:47:06 -03:00
index.html fix: refactor loading of main page, use new Sidebar in main page, fix small UI bugs (#4451) 2024-11-08 17:33:52 +00:00
nginx.conf
package-lock.json fix: update error message structure in ChatMessage component (#4445) 2024-11-07 10:26:24 -03:00
package.json feat: add ContentBlock streaming visualization (#4370) 2024-11-06 23:35:35 +00:00
playwright.config.ts chore: removes Poetry references from pyproject.toml and updates the project metadata (#4019) 2024-10-04 17:24:55 +00:00
postcss.config.js
README.md
run-tests.sh tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00
set_proxy.sh
start-nginx.sh
tailwind.config.mjs fix: refactor loading of main page, use new Sidebar in main page, fix small UI bugs (#4451) 2024-11-08 17:33:52 +00:00
tsconfig.json tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00
vite.config.mts feat: truncate parsed uploads to prevent database and frontend blocking caused by excessively large files (#3914) 2024-09-27 15:44:05 +00:00

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you cant go back!

If you arent satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.

You dont have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.