LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
Changed name to close all in notification component (#314)
jagadeeswaran-zipstack83cf9afaf3ac
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsxindex 20a139cc1..a0c46cf8e 100644--- a/frontend/src/App.jsx+++ b/frontend/src/App.jsx@@ -14,9 +14,22 @@ function App() {const { alertDetails } = useAlertStore();const btn = (- <Button type="link" size="small" onClick={() => notificationAPI.destroy()}>- Destroy All- </Button>+ <>+ <Button+ type="link"+ size="small"+ onClick={() => notificationAPI.destroy(alertDetails?.key)}+ >+ Close+ </Button>+ <Button+ type="link"+ size="small"+ onClick={() => notificationAPI.destroy()}+ >+ Close All+ </Button>+ </>);alertDetails.content &&@@ -26,6 +39,7 @@ function App() {type: alertDetails.type,duration: alertDetails.duration,btn,+ key: alertDetails.key,});return (diff --git a/frontend/src/store/alert-store.js b/frontend/src/store/alert-store.jsindex fbb5bc235..b95a0b66b 100644--- a/frontend/src/store/alert-store.js+++ b/frontend/src/store/alert-store.js@@ -7,6 +7,7 @@ const STORE_VARIABLES = {content: "",title: "",duration: undefined,+ key: null,},};const useAlertStore = create((setState) => ({@@ -21,6 +22,7 @@ const useAlertStore = create((setState) => ({: isErrorType? 0: undefined;+ details.key = `open${Date.now()}`;return { alertDetails: { ...details } };});},