hilfe-button: übersichts-dialog zum tool
- "?"-Button (life-buoy) in der Kopfzeile öffnet einen Hilfe-Dialog. - Erklärt kompakt das Tool + jede Ansicht/Funktion (Board, Galerie, Liste, Aufgaben, Aktivität, Speicher, Einfach/Erweitert, Suche, Filter, Projekt-Panel, Backup, Löschen, Sprache, Tastenkürzel) mit Icon-Chips, gruppiert und scrollbar. Zweisprachig (EN/DE). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -966,6 +966,9 @@ document.getElementById('fAddTarget').onclick = () => {
|
|||||||
}
|
}
|
||||||
document.getElementById('btnSettings').onclick = () => openSettings(false)
|
document.getElementById('btnSettings').onclick = () => openSettings(false)
|
||||||
document.getElementById('btnCloseSettings').onclick = closeSettings
|
document.getElementById('btnCloseSettings').onclick = closeSettings
|
||||||
|
// help / overview dialog (native <dialog>: Esc closes it)
|
||||||
|
document.getElementById('btnHelp').onclick = () => document.getElementById('helpDlg').showModal()
|
||||||
|
document.getElementById('helpClose').onclick = () => document.getElementById('helpDlg').close()
|
||||||
document.getElementById('spCancel').onclick = closeSettings
|
document.getElementById('spCancel').onclick = closeSettings
|
||||||
document.getElementById('spSave').onclick = saveSettings
|
document.getElementById('spSave').onclick = saveSettings
|
||||||
|
|
||||||
|
|||||||
@@ -684,6 +684,16 @@
|
|||||||
.dlg.wide .ihead { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
|
.dlg.wide .ihead { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
|
||||||
.dlg.wide .ihead h3 { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 16px; }
|
.dlg.wide .ihead h3 { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 16px; }
|
||||||
.dlg.wide .ihead .sp { flex: 1; }
|
.dlg.wide .ihead .sp { flex: 1; }
|
||||||
|
#helpDlg { width: 640px; display: flex; flex-direction: column; }
|
||||||
|
.helpbody { padding: 16px 22px 22px; overflow-y: auto; min-height: 0; }
|
||||||
|
.helpintro { margin: 0; font-size: 13.5px; color: var(--text); line-height: 1.55; }
|
||||||
|
.helph { margin: 18px 0 4px; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
|
||||||
|
.helph::after { content: ""; flex: 1; height: 1px; background: var(--border); }
|
||||||
|
.helprow { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; font-size: 13px; line-height: 1.5; color: var(--text); }
|
||||||
|
.helprow .hc { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
|
||||||
|
.helprow .hc .i { width: 16px; height: 16px; }
|
||||||
|
.helprow > div { min-width: 0; }
|
||||||
|
.helprow b { font-weight: 650; }
|
||||||
#itchBody { padding: 4px 20px 20px; }
|
#itchBody { padding: 4px 20px 20px; }
|
||||||
.isec { margin-top: 16px; }
|
.isec { margin-top: 16px; }
|
||||||
.isec h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 7px; }
|
.isec h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 7px; }
|
||||||
@@ -889,6 +899,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<button class="btn" id="btnNew" data-i18n-title="btn.new.title" title="Create a new project or clone an existing one"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="btn.new">New</span></button>
|
<button class="btn" id="btnNew" data-i18n-title="btn.new.title" title="Create a new project or clone an existing one"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="btn.new">New</span></button>
|
||||||
<button class="btn" id="btnBackup" data-i18n-title="btn.backup.title" title="Back up all projects to MyCloud"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span data-i18n="btn.backup">Backup</span><span class="bsub" id="backupSub"></span></button>
|
<button class="btn" id="btnBackup" data-i18n-title="btn.backup.title" title="Back up all projects to MyCloud"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span data-i18n="btn.backup">Backup</span><span class="bsub" id="backupSub"></span></button>
|
||||||
|
<button class="iconbtn" id="btnHelp" data-i18n-title="help.btn" title="Help & overview"><svg class="i"><use href="/icons.svg#life-buoy"/></svg></button>
|
||||||
<button class="iconbtn" id="btnSettings" data-i18n-title="btn.settings.title" title="Settings: project folders and backup target"><svg class="i"><use href="/icons.svg#settings"/></svg></button>
|
<button class="iconbtn" id="btnSettings" data-i18n-title="btn.settings.title" title="Settings: project folders and backup target"><svg class="i"><use href="/icons.svg#settings"/></svg></button>
|
||||||
<div class="seg theme" id="modeSeg" data-i18n-title="mode.title" title="View: simple or advanced">
|
<div class="seg theme" id="modeSeg" data-i18n-title="mode.title" title="View: simple or advanced">
|
||||||
<button data-ui="simple" data-i18n-title="mode.simple.title" title="Simple view – only the essentials"><svg class="i"><use href="/icons.svg#square"/></svg><span data-i18n="mode.simple">Simple</span></button>
|
<button data-ui="simple" data-i18n-title="mode.simple.title" title="Simple view – only the essentials"><svg class="i"><use href="/icons.svg#square"/></svg><span data-i18n="mode.simple">Simple</span></button>
|
||||||
@@ -1319,6 +1330,45 @@
|
|||||||
</div>
|
</div>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|
||||||
|
<dialog id="helpDlg" class="dlg wide">
|
||||||
|
<div class="ihead">
|
||||||
|
<h3><svg class="i lg"><use href="/icons.svg#life-buoy"/></svg><span data-i18n="help.title">Help & overview</span></h3>
|
||||||
|
<span class="sp"></span>
|
||||||
|
<button class="iconbtn" type="button" id="helpClose" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||||||
|
</div>
|
||||||
|
<div class="helpbody">
|
||||||
|
<p class="helpintro" data-i18n="help.intro">Project Dashboard keeps all your projects under one roof: status, size, Git/backup state and quick actions – one tile per project folder.</p>
|
||||||
|
|
||||||
|
<div class="helph" data-i18n="help.g.views">Views</div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#kanban"/></svg></span><div data-i18n-html="help.board"><b>Board</b> – Kanban by status. Drag a card to another column to change its status.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#layout-grid"/></svg></span><div data-i18n-html="help.gallery"><b>Gallery</b> – big tiles with thumbnails and the key facts.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#list"/></svg></span><div data-i18n-html="help.list"><b>List</b> – compact table with sortable columns.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#list-checks"/></svg></span><div data-i18n-html="help.tasks"><b>Tasks</b> – all open to-dos across every project.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#activity"/></svg></span><div data-i18n-html="help.activity"><b>Activity</b> – a calendar heatmap of what you worked on, and when.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#hard-drive"/></svg></span><div data-i18n-html="help.storage"><b>Storage</b> – who uses how much disk; find and delete regenerable folders (cache, builds).</div></div>
|
||||||
|
|
||||||
|
<div class="helph" data-i18n="help.g.find">Finding things</div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg></span><div data-i18n-html="help.mode"><b>Simple / Advanced</b> – Simple shows only the essentials, Advanced every feature. Toggle at the top right.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#search"/></svg></span><div data-i18n-html="help.search"><b>Search</b> – filter by name, tags or notes.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#funnel"/></svg></span><div data-i18n-html="help.filters"><b>Quick filters</b> – the chips under the counters filter by backup due, cleanable, no icon, favorites …</div></div>
|
||||||
|
|
||||||
|
<div class="helph" data-i18n="help.g.project">A single project</div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#pencil"/></svg></span><div data-i18n-html="help.edit"><b>Edit</b> – status, priority, tags, notes, tasks, icon and a custom start command.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#info"/></svg></span><div data-i18n-html="help.info"><b>Info</b> – read-only overview: description, Git, size, tech and recent activity.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#play"/></svg></span><div data-i18n-html="help.actions"><b>Actions</b> – start the program (▶), build, Git push, create a ZIP, make an itch.io page, clean up – and delete the project folder (Danger zone).</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#folder-open"/></svg></span><div data-i18n-html="help.quick"><b>Quick buttons</b> – Explorer, VS Code and ▶ start sit on every card and at the top of the panel.</div></div>
|
||||||
|
|
||||||
|
<div class="helph" data-i18n="help.g.backup">Backup & safety</div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg></span><div data-i18n-html="help.backup"><b>Backup</b> – copies projects to an external disk or NAS. Only new and changed files; nothing is ever deleted in the backup. Targets and an automatic schedule live in Settings.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#clock-alert"/></svg></span><div data-i18n-html="help.due"><b>Backup due</b> – a project changed since its last backup is flagged and appears under the “Backup due” filter.</div></div>
|
||||||
|
|
||||||
|
<div class="helph" data-i18n="help.g.misc">Good to know</div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#folders"/></svg></span><div data-i18n-html="help.folders"><b>Project folders</b> – choose which folders hold your projects in Settings → Project folders.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#languages"/></svg></span><div data-i18n-html="help.lang"><b>Language</b> – switch English / German in Settings → General.</div></div>
|
||||||
|
<div class="helprow"><span class="hc"><svg class="i"><use href="/icons.svg#keyboard"/></svg></span><div data-i18n-html="help.keys"><b>Shortcuts</b> – Esc closes panels and dialogs; Ctrl+S saves the settings.</div></div>
|
||||||
|
</div>
|
||||||
|
</dialog>
|
||||||
|
|
||||||
<div id="toast"></div>
|
<div id="toast"></div>
|
||||||
<script src="lang.js"></script>
|
<script src="lang.js"></script>
|
||||||
<script src="i18n.js"></script>
|
<script src="i18n.js"></script>
|
||||||
|
|||||||
@@ -718,6 +718,32 @@ window.LANG = {
|
|||||||
'danger.confirm1': 'Permanently delete the project folder “{name}”?\n\n{path}\n\nEverything in it is removed from the disk. The backup is NOT deleted. This cannot be undone.',
|
'danger.confirm1': 'Permanently delete the project folder “{name}”?\n\n{path}\n\nEverything in it is removed from the disk. The backup is NOT deleted. This cannot be undone.',
|
||||||
'danger.confirm2': 'Really delete “{name}”? Last chance.',
|
'danger.confirm2': 'Really delete “{name}”? Last chance.',
|
||||||
'danger.deleted': 'Project folder “{name}” deleted',
|
'danger.deleted': 'Project folder “{name}” deleted',
|
||||||
|
'help.btn': 'Help & overview',
|
||||||
|
'help.title': 'Help & overview',
|
||||||
|
'help.intro': 'Project Dashboard keeps all your projects under one roof: status, size, Git/backup state and quick actions – one tile per project folder.',
|
||||||
|
'help.g.views': 'Views',
|
||||||
|
'help.board': '<b>Board</b> – Kanban by status. Drag a card to another column to change its status.',
|
||||||
|
'help.gallery': '<b>Gallery</b> – big tiles with thumbnails and the key facts.',
|
||||||
|
'help.list': '<b>List</b> – compact table with sortable columns.',
|
||||||
|
'help.tasks': '<b>Tasks</b> – all open to-dos across every project.',
|
||||||
|
'help.activity': '<b>Activity</b> – a calendar heatmap of what you worked on, and when.',
|
||||||
|
'help.storage': '<b>Storage</b> – who uses how much disk; find and delete regenerable folders (cache, builds).',
|
||||||
|
'help.g.find': 'Finding things',
|
||||||
|
'help.mode': '<b>Simple / Advanced</b> – Simple shows only the essentials, Advanced every feature. Toggle at the top right.',
|
||||||
|
'help.search': '<b>Search</b> – filter by name, tags or notes.',
|
||||||
|
'help.filters': '<b>Quick filters</b> – the chips under the counters filter by backup due, cleanable, no icon, favorites …',
|
||||||
|
'help.g.project': 'A single project',
|
||||||
|
'help.edit': '<b>Edit</b> – status, priority, tags, notes, tasks, icon and a custom start command.',
|
||||||
|
'help.info': '<b>Info</b> – read-only overview: description, Git, size, tech and recent activity.',
|
||||||
|
'help.actions': '<b>Actions</b> – start the program (▶), build, Git push, create a ZIP, make an itch.io page, clean up – and delete the project folder (Danger zone).',
|
||||||
|
'help.quick': '<b>Quick buttons</b> – Explorer, VS Code and ▶ start sit on every card and at the top of the panel.',
|
||||||
|
'help.g.backup': 'Backup & safety',
|
||||||
|
'help.backup': '<b>Backup</b> – copies projects to an external disk or NAS. Only new and changed files; nothing is ever deleted in the backup. Targets and an automatic schedule live in Settings.',
|
||||||
|
'help.due': '<b>Backup due</b> – a project changed since its last backup is flagged and appears under the “Backup due” filter.',
|
||||||
|
'help.g.misc': 'Good to know',
|
||||||
|
'help.folders': '<b>Project folders</b> – choose which folders hold your projects in Settings → Project folders.',
|
||||||
|
'help.lang': '<b>Language</b> – switch English / German in Settings → General.',
|
||||||
|
'help.keys': '<b>Shortcuts</b> – Esc closes panels and dialogs; Ctrl+S saves the settings.',
|
||||||
},
|
},
|
||||||
|
|
||||||
de: {
|
de: {
|
||||||
@@ -1434,5 +1460,31 @@ window.LANG = {
|
|||||||
'danger.confirm1': 'Projektordner „{name}“ endgültig löschen?\n\n{path}\n\nAlles darin wird von der Platte entfernt. Das Backup wird NICHT gelöscht. Nicht rückgängig machbar.',
|
'danger.confirm1': 'Projektordner „{name}“ endgültig löschen?\n\n{path}\n\nAlles darin wird von der Platte entfernt. Das Backup wird NICHT gelöscht. Nicht rückgängig machbar.',
|
||||||
'danger.confirm2': '„{name}“ wirklich löschen? Letzte Chance.',
|
'danger.confirm2': '„{name}“ wirklich löschen? Letzte Chance.',
|
||||||
'danger.deleted': 'Projektordner „{name}“ gelöscht',
|
'danger.deleted': 'Projektordner „{name}“ gelöscht',
|
||||||
|
'help.btn': 'Hilfe & Überblick',
|
||||||
|
'help.title': 'Hilfe & Überblick',
|
||||||
|
'help.intro': 'Das Projekt-Dashboard bündelt alle deine Projekte an einem Ort: Status, Größe, Git-/Backup-Stand und schnelle Aktionen – eine Kachel pro Projektordner.',
|
||||||
|
'help.g.views': 'Ansichten',
|
||||||
|
'help.board': '<b>Board</b> – Kanban nach Status. Karte in eine andere Spalte ziehen ändert den Status.',
|
||||||
|
'help.gallery': '<b>Galerie</b> – große Kacheln mit Vorschaubildern und den wichtigsten Fakten.',
|
||||||
|
'help.list': '<b>Liste</b> – kompakte Tabelle mit sortierbaren Spalten.',
|
||||||
|
'help.tasks': '<b>Aufgaben</b> – alle offenen To-dos über alle Projekte.',
|
||||||
|
'help.activity': '<b>Aktivität</b> – Kalender-Heatmap: woran wann gearbeitet wurde.',
|
||||||
|
'help.storage': '<b>Speicher</b> – wer wie viel Platz belegt; neu erzeugbare Ordner (Cache, Builds) finden und löschen.',
|
||||||
|
'help.g.find': 'Finden',
|
||||||
|
'help.mode': '<b>Einfach / Erweitert</b> – Einfach zeigt nur das Wichtigste, Erweitert alle Funktionen. Umschalter oben rechts.',
|
||||||
|
'help.search': '<b>Suche</b> – nach Name, Tags oder Notizen filtern.',
|
||||||
|
'help.filters': '<b>Schnellfilter</b> – die Chips unter den Zählern filtern nach Backup fällig, aufräumbar, ohne Icon, Favoriten …',
|
||||||
|
'help.g.project': 'Ein einzelnes Projekt',
|
||||||
|
'help.edit': '<b>Bearbeiten</b> – Status, Priorität, Tags, Notizen, Aufgaben, Icon und eigener Start-Befehl.',
|
||||||
|
'help.info': '<b>Info</b> – Nur-Lesen-Überblick: Beschreibung, Git, Größe, Technik und letzte Aktivität.',
|
||||||
|
'help.actions': '<b>Aktionen</b> – Programm starten (▶), bauen, Git-Push, ZIP erstellen, itch.io-Seite, aufräumen – und den Projektordner löschen (Gefahrenzone).',
|
||||||
|
'help.quick': '<b>Schnell-Buttons</b> – Explorer, VS Code und ▶ Start sitzen auf jeder Karte und oben im Panel.',
|
||||||
|
'help.g.backup': 'Backup & Sicherheit',
|
||||||
|
'help.backup': '<b>Backup</b> – kopiert Projekte auf externe Platte oder NAS. Nur neue und geänderte Dateien; im Backup wird nie etwas gelöscht. Ziele und automatischer Zeitplan in den Einstellungen.',
|
||||||
|
'help.due': '<b>Backup fällig</b> – ein seit dem letzten Backup geändertes Projekt wird markiert und erscheint im Filter „Backup fällig“.',
|
||||||
|
'help.g.misc': 'Gut zu wissen',
|
||||||
|
'help.folders': '<b>Projektordner</b> – in Einstellungen → Projektordner festlegen, welche Ordner deine Projekte enthalten.',
|
||||||
|
'help.lang': '<b>Sprache</b> – Englisch / Deutsch umschalten in Einstellungen → Allgemein.',
|
||||||
|
'help.keys': '<b>Tastenkürzel</b> – Esc schließt Panels und Dialoge; Strg+S speichert die Einstellungen.',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user