fix(v2): move Dashboard to tool links + fix Combat sidebar button
- Dashboard toggle moved from sidebar header to tool links area alongside Suitbuilder, Inv Search, Debug, Quests - Combat sidebar button now opens a character picker window (combatpicker prefix) that lists all online characters — click one to open their full combat stats window Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2095f54d79
commit
2cd68d0368
6 changed files with 46 additions and 14 deletions
|
|
@ -59,7 +59,6 @@ export const Sidebar: React.FC<Props> = ({
|
|||
{version && <div className="ml-version">v{version}</div>}
|
||||
<div className="ml-sidebar-header">
|
||||
<span className="ml-sidebar-title">Active Mosswart Enjoyers ({players.length})</span>
|
||||
<button className="ml-view-toggle" onClick={onViewToggle}>Dashboard</button>
|
||||
</div>
|
||||
|
||||
<div className="ml-server-status">
|
||||
|
|
@ -80,6 +79,7 @@ export const Sidebar: React.FC<Props> = ({
|
|||
|
||||
{/* Tool links */}
|
||||
<div className="ml-tool-links">
|
||||
<span className="ml-tool-link" style={{ cursor: 'pointer' }} onClick={onViewToggle}>📊 Dashboard</span>
|
||||
<a href="/inventory.html" className="ml-tool-link">🔍 Inv Search</a>
|
||||
<a href="/suitbuilder.html" className="ml-tool-link">🛡️ Suitbuilder</a>
|
||||
<a href="/debug.html" className="ml-tool-link">🐛 Debug</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue