fix(dashboard): quest widget auto-arrange tab placement

Fixed auto-arrange placing quest widget into wrong tab.

Problem:
- Quest widget had category: 'scene' but needs dedicated tab
- Auto-arrange only created Status/Scene/Social/Inventory tabs
- Quest widget got grouped with scene widgets
- No 'quests' category existed in the system

Solution:
1. Changed quest widget category from 'scene' to 'quests'
2. Added 'quests' to category groups in distributeWidgetsByCategory()
3. Added Quests tab creation in auto-arrange logic
4. Updated category sort order to include 'quests' (order 5)

Changes:
- questsWidget.js: category: 'quests' (line 396)
- dashboardManager.js: Added 'quests' to groups object (line 870)
- dashboardManager.js: Added Quests tab creation (lines 942-954)
- dashboardManager.js: Updated categoryOrder to include 'quests': 5 (line 983)

Result:
- Auto-arrange now creates dedicated Quests tab 
- Quest widget correctly placed in Quests tab 
- Matches default layout structure 
- Clean separation of scene info vs quests 
This commit is contained in:
Lucas 'Paperboy' Rose-Winters
2025-10-30 08:44:33 +11:00
parent 9f92c4af87
commit f6ba2642f7
2 changed files with 19 additions and 3 deletions
@@ -393,7 +393,7 @@ export function registerQuestsWidget(registry, dependencies) {
name: 'Quests',
icon: '<i class="fa-solid fa-scroll"></i>',
description: 'Quest tracking with main and optional quests',
category: 'scene',
category: 'quests',
minSize: { w: 2, h: 4 },
defaultSize: { w: 2, h: 5 },
maxAutoSize: { w: 3, h: 7 },