Skip to content

Commit 25ed9fc

Browse files
feat: remove help/docs menu links until wiki pages exist
1 parent c91c7e5 commit 25ed9fc

2 files changed

Lines changed: 0 additions & 108 deletions

File tree

src/App.css

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -286,63 +286,11 @@
286286
user-select: text;
287287
}
288288

289-
/* ─── Help / Documentation menu ─────────────────────────── */
290-
.help-menu-wrapper {
291-
position: relative;
292-
}
293-
294289
.icon-btn.active {
295290
background: #252525;
296291
color: #bbb;
297292
}
298293

299-
.help-menu {
300-
position: absolute;
301-
top: calc(100% + 6px);
302-
right: 0;
303-
min-width: 200px;
304-
background: #252525;
305-
border: 1px solid #333;
306-
border-radius: 8px;
307-
padding: 6px 4px;
308-
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
309-
z-index: 200;
310-
}
311-
312-
.help-menu-section-label {
313-
padding: 4px 10px 6px;
314-
font-size: 11px;
315-
font-weight: 600;
316-
color: #555;
317-
letter-spacing: 0.06em;
318-
text-transform: uppercase;
319-
}
320-
321-
.help-menu-item {
322-
display: flex;
323-
align-items: center;
324-
gap: 8px;
325-
width: 100%;
326-
padding: 8px 10px;
327-
border-radius: 5px;
328-
background: none;
329-
border: none;
330-
color: #e0e0e0;
331-
font-size: 13px;
332-
cursor: pointer;
333-
transition: background 0.1s;
334-
text-align: left;
335-
}
336-
337-
.help-menu-item:hover {
338-
background: #303030;
339-
}
340-
341-
.help-menu-item svg {
342-
flex-shrink: 0;
343-
color: #666;
344-
}
345-
346294
/* ─── Workspace ──────────────────────────────────────────── */
347295
.workspace {
348296
display: flex;

src/App.jsx

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,61 +1462,6 @@ function PluginInspector({ action, onChange, pluginManifests = [] }) {
14621462
)
14631463
}
14641464

1465-
// ─── Help / Documentation menu ──────────────────────────────
1466-
const HELP_LINKS = [
1467-
{ label: 'User Manual', url: 'https://github.com/FritzBlignaut/tech-stack-streamdeck/wiki/User-Manual' },
1468-
{ label: 'Installation Guide', url: 'https://github.com/FritzBlignaut/tech-stack-streamdeck/wiki/Installation-Guide' },
1469-
{ label: 'Release Notes', url: 'https://github.com/FritzBlignaut/tech-stack-streamdeck/releases' },
1470-
]
1471-
1472-
function HelpMenu() {
1473-
const [open, setOpen] = useState(false)
1474-
const ref = useRef(null)
1475-
1476-
useEffect(() => {
1477-
if (!open) return
1478-
const handler = (e) => {
1479-
if (ref.current && !ref.current.contains(e.target)) setOpen(false)
1480-
}
1481-
document.addEventListener('mousedown', handler)
1482-
return () => document.removeEventListener('mousedown', handler)
1483-
}, [open])
1484-
1485-
return (
1486-
<div className="help-menu-wrapper" ref={ref}>
1487-
<button
1488-
className={`icon-btn${open ? ' active' : ''}`}
1489-
title="Help &amp; Documentation"
1490-
onClick={() => setOpen(o => !o)}
1491-
>
1492-
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth="1.5">
1493-
<circle cx="8" cy="8" r="2.5" />
1494-
<path d="M8 1.5v1.8M8 12.7v1.8M1.5 8h1.8M12.7 8h1.8M3.4 3.4l1.27 1.27M11.33 11.33l1.27 1.27M3.4 12.6l1.27-1.27M11.33 4.67l1.27-1.27" />
1495-
</svg>
1496-
</button>
1497-
1498-
{open && (
1499-
<div className="help-menu">
1500-
<div className="help-menu-section-label">Documentation</div>
1501-
{HELP_LINKS.map(({ label, url }) => (
1502-
<button
1503-
key={url}
1504-
className="help-menu-item"
1505-
onClick={() => { window.streamDeck?.openUrl(url); setOpen(false) }}
1506-
>
1507-
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth="1.4" width="14" height="14">
1508-
<path d="M3 3h5v1.5H4.5v7h7V9H13v3.5a1 1 0 0 1-1 1H3.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z" />
1509-
<path d="M9 2.5h4.5V7" strokeLinecap="round" strokeLinejoin="round" />
1510-
<path d="M13.5 2.5L8 8" strokeLinecap="round" />
1511-
</svg>
1512-
{label}
1513-
</button>
1514-
))}
1515-
</div>
1516-
)}
1517-
</div>
1518-
)
1519-
}
15201465

15211466
function PropertiesPanel({ keyIndex, onClose, config, onChange, iconSize, profiles, pageCount, onEnterFolder, pluginManifests = [] }) {
15221467
const fileInputRef = useRef(null)
@@ -2663,7 +2608,6 @@ export default function App() {
26632608
</svg>
26642609
</button>
26652610

2666-
<HelpMenu />
26672611
{appVersion && <span className="app-version">v{appVersion}-{__GIT_HASH__}</span>}
26682612
</div>
26692613
</header>

0 commit comments

Comments
 (0)