langflow/src
cristhianzl 1a0d7bd3d4 feat(API): add new functions to interact with store components
- Added new functions `getStoreComponents`, `postStoreComponents`, `getComponent`, and `searchComponent` to the `API` controller module.
- `getStoreComponents` function retrieves a list of store components from the API.
- `postStoreComponents` function posts a new store component to the API.
- `getComponent` function retrieves a specific store component by its ID from the API.
- `searchComponent` function searches for store components based on various parameters such as query, page, limit, status, and tags.

fix(AdminPage): remove unnecessary line

- Removed an unnecessary line of code in the `AdminPage` component.

feat(StorePage): add functionality to get and search store components

- Added functionality to the `StorePage` component to get store components and perform a search.
- Added a new import statement for the `getStoreComponents` and `searchComponent` functions from the `API` controller module.
- Added a new state variable `searchData` to store the search results.
- Added a new state variable `inputText` to store the search input text.
- Added a new function `handleGetComponents` to fetch store components from the API.
- Added a new function `handleSearch` to perform a search based on the input text.
- Modified the `onChange` event handler of the search input to update the `inputText` state and trigger the search.
- Added a call to `handleGetComponents` in the `StoreApiKeyModal` component's `onCloseModal` event handler to refresh the store components after closing the modal.
2023-10-20 11:32:00 -03:00
..
backend 🐛 fix(service.py): remove unnecessary try-except block and improve error handling in GET request 2023-10-20 11:08:38 -03:00
frontend feat(API): add new functions to interact with store components 2023-10-20 11:32:00 -03:00