diff --git a/.cursor/rules/tasks.mdc b/.cursor/rules/tasks.mdc deleted file mode 100644 index 34db87c93..000000000 --- a/.cursor/rules/tasks.mdc +++ /dev/null @@ -1,51 +0,0 @@ ---- -description: -globs: -alwaysApply: true ---- -# Concise Task Management Protocol - Sequential Mode - -## File Creation -- Filename: `YYYYMMDD_HHMMSS_task_name.md` -- IMPORTANT: Always include a descriptive task name after the timestamp (e.g., `20250404_135621_api_integration.md`) -- Never create files with timestamp only -- Store in `tasks/` directory - -## Task Structure - -``` -# Task: [Task Name] -**Status**: [Not Started | In Progress | Completed] - -## Analysis -- [ ] Requirements - - [ ] Subtask 1 -- [ ] Challenges -- [ ] Dependencies - -## Plan -- [ ] Step 1: [Description] - - [ ] Subtask 1.1 -- [ ] Step 2: [Description] - -## Execution -- [ ] Implementation 1 - - [ ] Details -- [ ] Implementation 2 - - [ ] Files modified: [files] - -## Summary -- [ ] Files modified: `filename.ext` (lines X-Y) -- [ ] Dependencies added/changed -- [ ] Edge cases considered -- [ ] Known limitations -- [ ] Future impact points -``` - -## Execution Rules -- Execute one subtask at a time in sequence -- Update the task file after EACH subtask is completed -- Mark completed subtasks with [x] as they are finished -- Update main task status throughout execution -- Document work incrementally, not all at once -- Never proceed to the next section until all subtasks in the current section are completed and marked \ No newline at end of file diff --git a/src/frontend/src/alerts/alertDropDown/index.tsx b/src/frontend/src/alerts/alertDropDown/index.tsx index d9746046f..a985a7e97 100644 --- a/src/frontend/src/alerts/alertDropDown/index.tsx +++ b/src/frontend/src/alerts/alertDropDown/index.tsx @@ -53,7 +53,7 @@ const AlertDropdown = forwardRef( Notifications
{ENABLE_DATASTAX_LANGFLOW && ( @@ -93,22 +100,20 @@ export default function AppHeader(): JSX.Element { {/* Right Section */}
- {!ENABLE_DATASTAX_LANGFLOW && ( - <> - - - )} + <> + + setActiveState(null)} @@ -129,19 +134,21 @@ export default function AppHeader(): JSX.Element { } data-testid="notification_button" > - - - Notifications +
+ + + + Notifications + +
@@ -150,50 +157,7 @@ export default function AppHeader(): JSX.Element { orientation="vertical" className="my-auto ml-3 h-7 dark:border-zinc-700" /> - {ENABLE_DATASTAX_LANGFLOW && ( - <> - - - - - - - - - )} +
diff --git a/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/get-started-progress.tsx b/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/get-started-progress.tsx index 3de854e16..1bd6b634d 100644 --- a/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/get-started-progress.tsx +++ b/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/get-started-progress.tsx @@ -82,9 +82,17 @@ export const GetStartedProgress: FC<{ }; return ( -
+
- Get started + + {percentageGetStarted >= 100 ? ( + <> + All Set 🎉 + + ) : ( + "Get started" + )} +
-
+
@@ -185,7 +193,7 @@ export const GetStartedProgress: FC<{ )} @@ -215,7 +223,7 @@ export const GetStartedProgress: FC<{ )} /> - + Create a flow
diff --git a/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/header-buttons.tsx b/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/header-buttons.tsx index 0421303df..180d4b6ac 100644 --- a/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/header-buttons.tsx +++ b/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/components/header-buttons.tsx @@ -41,7 +41,7 @@ export const HeaderButtons = ({ handleDismissDialog={handleDismissDialog} /> -
+

diff --git a/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/index.tsx b/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/index.tsx index 9045c3605..ddb65a5f9 100644 --- a/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/index.tsx +++ b/src/frontend/src/components/core/folderSidebarComponent/components/sideBarFolderButtons/index.tsx @@ -18,8 +18,10 @@ import { import { useGetDownloadFolders } from "@/controllers/API/queries/folders/use-get-download-folders"; import { ENABLE_CUSTOM_PARAM, + ENABLE_DATASTAX_LANGFLOW, ENABLE_FILE_MANAGEMENT, } from "@/customization/feature-flags"; +import { useCustomNavigate } from "@/customization/hooks/use-custom-navigate"; import { track } from "@/customization/utils/analytics"; import { createFileUpload } from "@/helpers/create-file-upload"; import { getObjectsFromFilelist } from "@/helpers/get-objects-from-filelist"; @@ -56,6 +58,8 @@ const SideBarFoldersButtonsComponent = ({ const loading = !folders; const refInput = useRef(null); + const navigate = useCustomNavigate(); + const currentFolder = pathname.split("/"); const urlWithoutPath = pathname.split("/").length < (ENABLE_CUSTOM_PARAM ? 5 : 4); @@ -348,7 +352,7 @@ const SideBarFoldersButtonsComponent = ({ collapsible={isMobile ? "offcanvas" : "none"} data-testid="folder-sidebar" > - + {ENABLE_FILE_MANAGEMENT && ( -
+
+ {!ENABLE_DATASTAX_LANGFLOW && ( +
+ { + window.open("/store", "_blank"); + }} + > + + Store + +
+ )} handleFilesClick?.()} diff --git a/src/frontend/src/constants/constants.ts b/src/frontend/src/constants/constants.ts index fced4b93b..2c9b47f9a 100644 --- a/src/frontend/src/constants/constants.ts +++ b/src/frontend/src/constants/constants.ts @@ -1073,5 +1073,7 @@ export const DISCORD_URL = "https://discord.com/invite/EqksyE2EX9"; export const GITHUB_URL = "https://github.com/langflow-ai/langflow"; export const TWITTER_URL = "https://x.com/langflow_ai"; export const DOCS_URL = "https://docs.langflow.org"; +export const DATASTAX_DOCS_URL = + "https://docs.datastax.com/en/langflow/index.html"; export const UUID_PARSING_ERROR = "uuid_parsing"; diff --git a/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/button-send-wrapper.tsx b/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/button-send-wrapper.tsx index b5bbdc020..c3edb559c 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/button-send-wrapper.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/button-send-wrapper.tsx @@ -62,7 +62,7 @@ const ButtonSendWrapper = ({
Stop - +
diff --git a/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/no-input.tsx b/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/no-input.tsx index c017ac084..49dd12fac 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/no-input.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/no-input.tsx @@ -40,7 +40,7 @@ const NoInputView: React.FC = ({ >
Stop - +
)} diff --git a/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/shortcutDisplay/index.tsx b/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/shortcutDisplay/index.tsx index 8badd89f5..606b60904 100644 --- a/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/shortcutDisplay/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/shortcutDisplay/index.tsx @@ -18,7 +18,7 @@ export default function ShortcutDisplay({ {display_name && {display_name} } @@ -26,7 +26,7 @@ export default function ShortcutDisplay({
) : ( -
+
{display_name} - - {value} - + {value} diff --git a/src/frontend/src/pages/MainPage/components/grid/index.tsx b/src/frontend/src/pages/MainPage/components/grid/index.tsx index 694ee4562..d38ce85aa 100644 --- a/src/frontend/src/pages/MainPage/components/grid/index.tsx +++ b/src/frontend/src/pages/MainPage/components/grid/index.tsx @@ -143,7 +143,7 @@ const GridComponent = ({ flowData }: { flowData: FlowType }) => {
-
+
{flowData.description}
diff --git a/src/frontend/src/pages/MainPage/components/header/index.tsx b/src/frontend/src/pages/MainPage/components/header/index.tsx index 065a539ce..7e360e758 100644 --- a/src/frontend/src/pages/MainPage/components/header/index.tsx +++ b/src/frontend/src/pages/MainPage/components/header/index.tsx @@ -103,7 +103,7 @@ const HeaderComponent = ({ value={debouncedSearch} onChange={handleSearch} /> -
+
{/* Sliding Indicator */}