From f51c57025f0843c677d716d0f1ba96b4d10e5494 Mon Sep 17 00:00:00 2001 From: Sergei Garin Date: Mon, 24 Feb 2025 13:16:06 +0300 Subject: [PATCH] Fix nav --- MODULE.bazel.lock | 4 +- .../components/Breadcrumbs/BreadcrumbItem.tsx | 1 + .../components/Scroller/Scroller.tsx | 6 +- .../components/dashboard/AssetRow.tsx | 2 +- app/gui/src/dashboard/layouts/AssetsTable.tsx | 3 - .../layouts/Drive/Categories/Category.ts | 7 +- .../Drive/Categories/categoriesHooks.tsx | 17 +++-- .../Drive/DriveBar/DriveBarNavigation.tsx | 70 ++++++++++--------- .../src/dashboard/services/LocalBackend.ts | 64 +++++++++++++---- app/gui/src/dashboard/services/utilities.ts | 39 +++++++++-- 10 files changed, 144 insertions(+), 69 deletions(-) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 8475a0064e2f..ae50b35d9da1 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -619,7 +619,7 @@ "bzlTransitiveDigest": "2bm8JGpVfTeP2/OEWLfaiC0BppLkZjpmq45/K90H3Zw=", "usagesDigest": "jdSuIdTp7Rqi17ioQocHd+ejglFQ3z+AyEWLmlCK/og=", "recordedFileInputs": { - "@@rules_rust++rust_host_tools+rust_host_tools//bin/rustc": "241027b94ad67beb36d0356f7cc05180daaa9966b2958cfba1d4de089d2e521c", + "@@rules_rust++rust_host_tools+rust_host_tools//bin/rustc": "b953c69e6f682bf55e39bdd55bdcbd3e1cc0cbdf9dfda24b9c6478ee2c38359b", "@@//app/rust-ffi/Cargo.toml": "b17bf21f56720ffba5031fdf70296acb53ff018adcf17a8cdcec86b46103d1d8", "@@//build_tools/install/config/Cargo.toml": "a6d15eb23a5f90467f680b296fe2e35af904f9ff00ce9530d754c96728288008", "@@//lib/rust/parser/debug/fuzz/Cargo.toml": "d93cea0a1b3a5e96ea99d0f57c7a07361b6e3b46afb95dab362e7562d86655d0", @@ -650,7 +650,7 @@ "@@//lib/rust/prelude/Cargo.toml": "d247be5470788ea62ada9fcc9aeb65be876c77fc7a0689a660c43b266bd6c504", "@@+_repo_rules+wasm_bindgen_cli_crate//Cargo.toml": "40b1c540eed2e2031f1622391be27ec7f28ddea710447f078c5f2fd245ef2750", "@@//lib/rust/metamodel/Cargo.toml": "20f5bb60a5c394ee059eecf25bcf5d3dd15151600e50cbc069c1e4fdb77d7ab9", - "@@rules_rust++rust_host_tools+rust_host_tools//bin/cargo": "35099f3b7b9497b3ae95aa00886ac6839343488e5cdb958e69c16c9b58c3afb2" + "@@rules_rust++rust_host_tools+rust_host_tools//bin/cargo": "be459aeefa634aa6693a9a4741cfa4d63dd8a50af2d1a8ff221b7565e7eb4e4c" }, "recordedDirentsInputs": {}, "envVariables": { diff --git a/app/gui/src/dashboard/components/Breadcrumbs/BreadcrumbItem.tsx b/app/gui/src/dashboard/components/Breadcrumbs/BreadcrumbItem.tsx index 286b92e7ca6a..0bed6b838ec3 100644 --- a/app/gui/src/dashboard/components/Breadcrumbs/BreadcrumbItem.tsx +++ b/app/gui/src/dashboard/components/Breadcrumbs/BreadcrumbItem.tsx @@ -220,6 +220,7 @@ export function BreadcrumbItem(props: BreadcrumbItemPro :