langflow/src/frontend
anovazzi1 e5ee0ba946
refactor: Add ComponentTextModal and Prompt modal for displaying and editing text areas and components (#3346)
* add separated component for prompt modal

* refactor: rename promptAreaModal to promptModal and update type import

* refactor: update promptComponent to use PromptModal instead of GenericModal

* refactor: update textarea-primary class in applies.css

* refactor: add ComponentTextModal for displaying and editing text areas

Add a new component, ComponentTextModal, for displaying and editing text areas. This component includes a textarea input, a title, and an icon. It also supports password visibility toggling. The ComponentTextModal is used within a BaseModal component and includes a save button for finishing the editing process. This commit refactors the code to add the ComponentTextModal and its related functionality.

* refactor: Add ComponentTextModal for displaying and editing text areas

* delete genericModal component and their references

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-14 15:08:59 -03: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 refactor: Add ComponentTextModal and Prompt modal for displaying and editing text areas and components (#3346) 2024-08-14 15:08:59 -03:00
tests refactor: optimize flow saving functionality and implement manual saving (#3283) 2024-08-12 22:21:52 +00:00
.dockerignore 🔧 chore(frontend): update .dockerignore to exclude the 'build' directory from Docker build context 2023-08-06 12:09:44 -03:00
.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 move cdk folder to scripts/cdk 2023-11-30 16:32:52 +09:00
favicon.ico fix: add favicon to langflow's frontend project (#2836) 2024-07-19 15:47:06 -03:00
feature-config.json feat: Add Branding and Social Links to the UI Feature flags (#3169) 2024-08-06 18:46:03 +00:00
index.html feat: POC of useQuery -> mutation and query (#2512) 2024-07-03 19:16:23 -03:00
nginx.conf 🔥 refactor(nginx.conf): remove redundant code for proxying /api/v1/ and /health routes to backend service 2023-08-20 23:38:47 -03:00
package-lock.json refactor: optimize flow saving functionality and implement manual saving (#3283) 2024-08-12 22:21:52 +00:00
package.json feat: import Graph without position information (#3203) 2024-08-07 07:04:48 -07:00
playwright.config.ts test: add new tests based on new basic examples + vector store tests (#2879) 2024-07-22 21:30:30 +00:00
postcss.config.js
README.md
run-tests.sh 1.0 Alpha (#1599) 2024-04-04 02:46:44 -03:00
set_proxy.sh add some new types to the .gitattributes 2023-08-24 14:56:09 +00:00
start-nginx.sh 🐛 fix(frontend): update Dockerfile to use node:20-alpine as base image for frontend build 2023-08-16 15:41:09 -03:00
tailwind.config.mjs Astra Assistants Support (#2041) 2024-07-22 10:26:30 -07:00
tsconfig.json feat: POC of useQuery -> mutation and query (#2512) 2024-07-03 19:16:23 -03:00
vite.config.mts refactor: optimize flow saving functionality and implement manual saving (#3283) 2024-08-12 22:21:52 +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.