Commit graph

6,391 commits

Author SHA1 Message Date
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
Gabriel Luiz Freitas Almeida
4fd5fbaf70 Refactor service.py and utils.py 2023-11-17 16:16:16 -03:00
Gabriel Luiz Freitas Almeida
b3e4d42817 🐛 fix(store.py): remove unnecessary raise statement to prevent raising a 403 status code unnecessarily 2023-11-17 16:15:59 -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
Gabriel Luiz Freitas Almeida
a5550bb673 Add searchText state variable 2023-11-17 09:39:57 -03:00
Lucas Oliveira
364c461269 Handling errors on get component 2023-11-17 09:38:57 -03:00
Gabriel Luiz Freitas Almeida
340a0b4431 Refactor store service to update components with
user data
2023-11-17 09:22:50 -03:00
Gabriel Luiz Freitas Almeida
e3b0941df9 Add authorization check for store_api_Key 2023-11-17 09:20:37 -03:00
Gabriel Luiz Freitas Almeida
d9ecbcac5d Refactor field_typing module imports 2023-11-17 08:43:34 -03:00
cristhianzl
5183f5f137 feat(StorePage): add message when user hasn't crafted or liked any flows
Add a message to the StorePage component to inform the user that they haven't crafted or liked any flows yet. This message encourages the user to create a flow by giving it a shot. The message is displayed when the loading is complete and the searchData array is empty.
2023-11-17 01:31:47 -03:00
cristhianzl
def8c8271f refactor(StorePage): remove unnecessary setValidApiKey function call in useEffect hook
The setValidApiKey function call was unnecessary and not being used in the StorePage component. Removing it improves code readability and removes unnecessary code execution.
2023-11-17 01:23:39 -03:00
cristhianzl
e021df94f0 fix(StorePage/index.tsx): set validApiKey to true in useEffect to fix missing data bug
fix(StorePage/index.tsx): handle unauthorized response and set validApiKey to false to handle invalid API key error
2023-11-17 01:23:02 -03:00
cristhianzl
7cfe5da2f9 Merge branch 'feature/store' of github.com:logspace-ai/langflow into feature/store 2023-11-17 01:17:58 -03:00
cristhianzl
ab1b928662 refactor(StorePage): simplify logic for setting validApiKey and loading state
fix(StorePage): set totalRowsCount correctly when filteredCategories is not empty
2023-11-17 01:17:50 -03:00
anovazzi1
53ab0732a9 chore(constants.ts): refactor URL_EXCLUDED_FROM_ERROR_RETRIES to use BASE_URL_API constant for better maintainability
chore(constants.ts): remove duplicate declaration of BASE_URL_API constant
2023-11-17 00:47:04 -03:00
cristhianzl
706baf0fda refactor(StorePage): remove unnecessary error handling code for invalid API Key
The code was checking for the presence of an API Key and displaying an error message if it was missing or invalid. However, this logic is no longer needed as the API Key is now always required and validated before reaching this point. Therefore, the code that handles the case of an invalid API Key is no longer necessary and has been removed for simplicity and clarity.
2023-11-17 00:15:52 -03:00
Lucas Oliveira
8c8d46b570 fixed card numbers 2023-11-16 22:55:01 -03:00
Lucas Oliveira
844e7127af Added api key as dependency 2023-11-16 22:32:02 -03:00
Lucas Oliveira
598cd04b31 Added error handling 2023-11-16 22:29:56 -03:00
Lucas Oliveira
4e7a0fcc32 Fixed adding 2023-11-16 22:25:48 -03:00
Gabriel Luiz Freitas Almeida
34fe9a7bbb Fix unauthorized exception handling 2023-11-16 22:16:42 -03:00
Lucas Oliveira
6531d36fd5 fix card component braking 2023-11-16 19:23:28 -03:00
Lucas Oliveira
60fb76f1c4 Deleted Community Page 2023-11-16 19:23:28 -03:00
Gabriel Luiz Freitas Almeida
4a214661be 🔧 fix(schema.py): remove unused downloads_count field from DownloadComponentResponse class
🔧 fix(service.py): handle case when component is returned as a list instead of a dictionary in download method
2023-11-16 19:21:19 -03:00
Gabriel Luiz Freitas Almeida
ebb6e5ffec Update CommunityPage with CollectionCardComponent 2023-11-16 19:14:41 -03:00
Lucas Oliveira
f7903043fe Fixed errors on code and made MarketCard default 2023-11-16 18:49:08 -03:00
Lucas Oliveira
dff58ee29e Fixed naming 2023-11-16 18:22:07 -03:00
Lucas Oliveira
4babb19614 Added checking on Like Component if the request is valid 2023-11-16 18:02:29 -03:00
Gabriel Luiz Freitas Almeida
cc557f7898 🐛 fix(store.py): handle HTTPStatusError exceptions and raise appropriate HTTPExceptions with corresponding status codes and details 2023-11-16 18:01:57 -03:00