Commit graph

2,594 commits

Author SHA1 Message Date
Lucas Oliveira
d4cef3588c Added ID filtering on Store 2023-11-21 22:15:16 -03:00
Lucas Oliveira
12d6b4746a Added ID filter to LangFlow 2023-11-21 22:15:16 -03:00
anovazzi1
95ef164f83 fix(shareModal/index.tsx): remove unused useRef variable tagListId to improve code readability and maintainability
fix(storeUtils.ts): update getTagsIds function to accept an array of tag objects instead of a ref object, and remove unnecessary console.log statements
2023-11-21 21:45:15 -03:00
anovazzi1
003a3e0783 fix(EditFlowSettingsComponent): remove unused code and improve performance by removing unnecessary API calls to read flows from the database
feat(EditFlowSettingsComponent): add support for checking if the entered name is already in use by passing the list of unavailable names as a prop
fix(FlowSettingsModal): remove unused state variable invalidName and setInvalidName function
feat(FlowSettingsModal): add support for checking if the entered name is already in use by passing the list of unavailable names as a prop
fix(ShareModal): add support for checking if the entered name is already in use by passing the list of unavailable names as a prop
feat(ShareModal): add support for fetching the list of unavailable names from the API to check if the entered name is already in use
fix(types): remove unused invalidName property from InputProps type
2023-11-21 21:31:24 -03:00
Lucas Oliveira
6f709dc3ee Added sorting by date on langflow my collection 2023-11-21 21:29:31 -03:00
Lucas Oliveira
410fbfe10b Sync with langflow.store to use same components 2023-11-21 20:44:50 -03:00
Lucas Oliveira
4a0cd402a8 formatiing 2023-11-21 20:27:19 -03:00
Lucas Oliveira
3d32be344d Fixed flows being able to upload to components and vice versa 2023-11-21 20:27:19 -03:00
anovazzi1
fb58388504 fix(GenericNode): sort template fields alphabetically with special handling for "code" field to be displayed first
The changes in this commit fix the sorting of template fields in the GenericNode component. Previously, the fields were sorted alphabetically, but with this change, the "code" field is prioritized and displayed first. This change improves the user experience by making the "code" field more prominent and easily accessible.
2023-11-21 20:21:02 -03:00
igorrCarvalho
0e8c6681e4 Fix: Add ArrowUp and ArrowDown to if params to prevent arrows not working on int input 2023-11-21 19:17:52 -03:00
igorrCarvalho
dba85aadfb Refactor: Make text area modal open on input click to avoid it not opening on edit node page 2023-11-21 18:55:52 -03:00
anovazzi1
2bdc1b7fbb fix(PageComponent): update saveFlow function to pass a modified flow object with updated data property to improve data consistency
fix(PageComponent): update saveFlow function to pass a modified flow object with updated data property to improve data consistency
fix(extraSidebarComponent): update saveFlow function to pass a modified flow object with updated data property to improve data consistency
2023-11-21 18:39:12 -03:00
anovazzi1
7549cbb90b fix(cardComponent): update ShadTooltip content to always display "Private" for private cards
fix(API): update parameter name from status to isPrivate for consistency and clarity
fix(StorePage): update parameter name from status to isPrivate to match API changes and improve semantics
2023-11-21 17:19:49 -03:00
Lucas Oliveira
e3797bae8d Set tab id as null when entering store 2023-11-21 16:22:06 -03:00
Lucas Oliveira
82b84dd7d5 Fixed checkbox function on share modal 2023-11-21 16:20:40 -03:00
Lucas Oliveira
e4f6aed2f6 Delete modal fixed 2023-11-21 16:19:34 -03:00
igorrCarvalho
8448d8ea95 Refactor: Change components and flows icon color 2023-11-21 15:04:35 -03:00
igorrCarvalho
a54363c4d5 Fix: Add tailwind class to avoid text breaking component box 2023-11-20 21:03:00 -03:00
igorrCarvalho
1c36520bee Feat: Add dict and NestedDict as handle types to avoid edit node modal option not showing up 2023-11-20 20:13:33 -03:00
anovazzi1
0ef14241f0 feat(API): add support for private flows in saveFlowStore function
The saveFlowStore function in the API controller now includes a new parameter called "private". This parameter is used to determine whether the flow should be saved as a private flow or not. If the "publicFlow" variable is false, the "private" parameter will be set to true, indicating that the flow should be saved as a private flow. The "status" field in the saved flow object is also updated accordingly to reflect the flow's privacy status.
2023-11-20 19:56:08 -03:00
anovazzi1
2cbf563b45 feat(cardComponent): add support for displaying private indicator on CollectionCardComponent
feat(store): add 'private' property to storeComponent type to handle private components
2023-11-20 19:55:17 -03:00
anovazzi1
d9aeb6b79c fix(storeContext.tsx): fix setLoadingApiKey not being called in catch block to stop loading state
fix(API/index.ts): fix BASE_URL_API missing slash causing incorrect API endpoint URL
fix(StorePage/index.tsx): add catch block to handle error when fetching store tags and log error message
2023-11-20 19:29:39 -03:00
igorrCarvalho
0d8b6a3881 Fix: infinite loading Bug on langflow store page 2023-11-20 19:08:34 -03:00
cristhianzl
b1890bdaf9 fix(nodeToolbarComponent): refactor condition for rendering Edit option in SelectItem to improve readability and maintainability 2023-11-20 17:57:22 -03:00
anovazzi1
ffdb7e1677 fix(API/index.ts): change status values from lowercase "public" and "private" to uppercase "Public" and "Private" for consistency and clarity 2023-11-20 15:51:14 -03:00
anovazzi1
59da74baa9 fix(shareModal/index.tsx): improve error message by specifying whether it's an error sharing a component or a flow 2023-11-20 15:42:24 -03:00
anovazzi1
36bcea49a4 fix(shareModal/index.tsx): fix variable naming and improve code readability
fix(nodeToolbarComponent/index.tsx): fix issue with flowComponent not being cloned before setting it
2023-11-20 15:32:15 -03:00
Lucas Oliveira
db275cffa2 Removed unused component 2023-11-18 22:47:29 -03:00
Lucas Oliveira
0a0c9ac27b Modularized Tags Selection and created share modal 2023-11-18 22:44:30 -03:00
Lucas Oliveira
b21b756982 FIxed button naming 2023-11-18 22:23:12 -03:00
Lucas Oliveira
0770beda11 Fixed component being treated as flow when nodeToolBar open ShareModal 2023-11-18 22:20:46 -03:00
Lucas Oliveira
829da5f1e2 nodeToolbar opening logic changed 2023-11-18 22:18:58 -03:00
Lucas Oliveira
85dc34d8d7 Modularized shareModal to be used with components and flows 2023-11-18 22:09:41 -03:00
Lucas Oliveira
422e4bd5a0 Modularized components page and made it similar to LangStore 2023-11-18 20:44:07 -03:00
Lucas Oliveira
d07090f27c PageLayout fixed to have buttons 2023-11-18 20:00:54 -03:00
Lucas Oliveira
7c7a28f65f Added name when the components get no results 2023-11-18 19:44:45 -03:00
Lucas Oliveira
eccf7ef03a Added version on card 2023-11-18 18:39:26 -03:00
Lucas Oliveira
a81abb4c2d Sync with Langflow Store 2023-11-18 18:06:33 -03:00
Lucas Oliveira
d009476a8e Fixed number casting on download number 2023-11-18 16:37:05 -03:00
Lucas Oliveira
dc1bb19c13 Fixed dependency 2023-11-18 01:57:12 -03:00
Lucas Oliveira
a2af222778 Sync with langflow.store 2023-11-18 01:54:49 -03:00
Lucas Oliveira
62015744d2 Changed input text to update when not changed nothing 2023-11-17 22:35:17 -03:00
Lucas Oliveira
1305077b3d added console log to debug Rodrigo 2023-11-17 22:28:11 -03:00
Lucas Oliveira
14a98bbd97 fixed api key change 2023-11-17 22:22:52 -03:00
Lucas Oliveira
fc91140488 Card design changed 2023-11-17 22:22:08 -03:00
anovazzi1
e8ab9c73cc fix(StorePage): update text to be more generic and inclusive
The text in the StorePage component was updated to be more generic and inclusive. Instead of saying "You haven't created/liked any flows yet", it now says "You haven't created/liked anything yet". This change was made to make the text more inclusive and applicable to different types of content, not just flows.
2023-11-17 21:11:49 -03:00
anovazzi1
bebaab822b fix(modals): add support for disabling StoreApiKeyModal component when disabled prop is true
fix(pages): add support for disabling StoreApiKeyModal button when loading prop is true
feat(types): add disabled prop to StoreApiKeyType to enable/disable StoreApiKeyModal component
2023-11-17 21:07:22 -03:00
Lucas Oliveira
e63cf48410 Made download number dynamic 2023-11-17 10:50:47 -03:00
Lucas Oliveira
f829ec735c Fix API key management and heart and add buttons 2023-11-17 10:45:05 -03:00
Lucas Oliveira
719a39a75b Fix like appearing when unauthorized 2023-11-17 09:52:14 -03:00