From 97e4e78df412b7dc3c55638a5ac5fe076715641a Mon Sep 17 00:00:00 2001 From: jelveh Date: Wed, 29 Jul 2026 20:12:22 -0700 Subject: [PATCH] Dashboard files: drop the root crumb from the breadcrumb Every path rendered as "> Puter > user > ...", but the root crumb is noise on anything beneath it. Render it only at the root itself, where it's all there is to show (the Up button can still reach /, and an empty breadcrumb bar there would strand the user). Each crumb keeps its leading caret, including the first. --- src/gui/src/UI/Dashboard/TabFiles.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gui/src/UI/Dashboard/TabFiles.js b/src/gui/src/UI/Dashboard/TabFiles.js index 1cd00577d..0235e2ee5 100644 --- a/src/gui/src/UI/Dashboard/TabFiles.js +++ b/src/gui/src/UI/Dashboard/TabFiles.js @@ -4264,7 +4264,12 @@ const TabFiles = { } } } - let str = `${path_seperator_html}${html_encode(window.root_dirname)}`; + // The root crumb ("Puter") is noise on every path beneath it, so it + // only renders at the root itself, where it's all there is to show. + // Every crumb keeps its leading caret, including the first. + let str = abs_path === '/' + ? `${path_seperator_html}${html_encode(window.root_dirname)}` + : ''; for ( let k = 1; k < dirs.length; k++ ) { str += `${path_seperator_html}${dirs[k] === 'Trash' ? i18n('trash') : html_encode(dirs[k])}`; }