frontend tweaks, preview workspace

This commit is contained in:
2025-10-28 00:43:54 +01:00
parent 709d32050e
commit 1179f4fcd4
6 changed files with 266 additions and 209 deletions
-7
View File
@@ -291,12 +291,6 @@ const Sidebar = ({
);
const rootNode = folderNodes.get('root');
const hintText = appStatus === 'bootstrapping' && loading
? 'Loading your library…'
: previewActive
? 'Viewing document preview. Press ← Back to return to the library.'
: 'Drag files here to upload.';
return (
<aside className="sidebar">
<div className="panel-header sidebar__header">
@@ -371,7 +365,6 @@ const Sidebar = ({
</div>
</div>
<div className="panel-body sidebar__body">
<span className="sidebar__hint">{hintText}</span>
{status && (
<div className="sidebar__status">
<div className={`status-banner ${status.variant}`}>{status.message}</div>