From c9c226f4641c17b8fff759a58aef96d05c5e139a Mon Sep 17 00:00:00 2001 From: Rodrigo Nader Date: Fri, 16 Jun 2023 17:23:29 -0300 Subject: [PATCH] Refactor the search placeholder and update the collections description Update the search placeholder to be more general, from 'Search Nodes' to 'Search', in the extra sidebar component, and update the collection description from 'Download or upload your complete project collection' to 'Download or upload your collection' in the main page. --- .../FlowPage/components/extraSidebarComponent/index.tsx | 2 +- src/frontend/src/pages/MainPage/index.tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx index 7bec0517c..2aab4d0e3 100644 --- a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx @@ -124,7 +124,7 @@ export default function ExtraSidebar() { type="text" name="search" id="search" - placeholder="Search Nodes" + placeholder="Search" className={ INPUT_STYLE + "w-full border-1 dark:border-slate-600 dark:border-0.5 dark:ring-0 focus-visible:dark:ring-0 focus-visible:dark:ring-offset-1 rounded-md border border-input bg-transparent px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50" diff --git a/src/frontend/src/pages/MainPage/index.tsx b/src/frontend/src/pages/MainPage/index.tsx index 0657000c1..bdf5156ba 100644 --- a/src/frontend/src/pages/MainPage/index.tsx +++ b/src/frontend/src/pages/MainPage/index.tsx @@ -16,7 +16,7 @@ export default function HomePage() {
- My Projects + My Collection
- Manage your personal projects. Download or upload your complete project - collection. + Manage your personal projects. Download or upload your collection.
{flows.map((flow, idx) => (