feat(ui): add circled question mark help button in top header rechtsbuendig
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 56s
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 56s
This commit is contained in:
1 parent
5b5b7b1810
commit
275442e9e2
2 files changed
+20
-21
No files matched your search
@@ -46,7 +46,6 @@ import { api, triggerHaptic } from '../../lib/api';
|
||||
interface WorkspaceViewProps {
|
||||
initialDocId?: string | null;
|
||||
onStatsChange: () => void;
|
||||
onOpenHelp?: () => void;
|
||||
}
|
||||
|
||||
const ICONS = ['📄', '📝', '💡', '🚀', '🏡', '⚡', '🎯', '🍕', '🛠️', '🧠', '🔥', '🏔️', '📦', '📑', '⚙️', '📊'];
|
||||
@@ -82,7 +81,6 @@ const SLASH_COMMANDS: SlashCommandItem[] = [
|
||||
export const WorkspaceView: React.FC<WorkspaceViewProps> = ({
|
||||
initialDocId,
|
||||
onStatsChange,
|
||||
onOpenHelp,
|
||||
}) => {
|
||||
// Top Workspace Tab Mode: 'editor' vs 'todos' (Global To-Do Rollup Dashboard)
|
||||
const [workspaceMode, setWorkspaceMode] = useState<'editor' | 'todos'>('editor');
|
||||
@@ -1066,18 +1064,6 @@ export const WorkspaceView: React.FC<WorkspaceViewProps> = ({
|
||||
</button>
|
||||
</>
|
||||
)}
|
||||
|
||||
{onOpenHelp && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={onOpenHelp}
|
||||
className="btn-action h-8 px-2.5 text-xs flex items-center gap-1.5"
|
||||
title="Hilfe & Dokumentation öffnen"
|
||||
>
|
||||
<HelpCircle className="w-3.5 h-3.5 text-accent" />
|
||||
<span>Hilfe</span>
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user