Commit graph

4 commits

Author SHA1 Message Date
40e14d1196
feat: implement clean Foundry V13 compliant tab system
- Remove custom tab implementation in favor of official ApplicationV2 tabs
- Implement ApplicationTab typedef structure for Actor and Item sheets
- Add memory-safe event listener management with proper cleanup
- Update all sheet templates to use standard Foundry tab structure
- Add template safety checks to prevent undefined access errors
- Optimize performance with DOM updates instead of full re-renders
- Maintain backward CSS compatibility during transition
- Add dynamic tab configuration based on item types

Key improvements:
- ~200 lines of custom tab code removed
- Memory leak prevention with proper event cleanup
- Performance optimization (no re-render on tab switch)
- Standards-compliant with Foundry V13 ApplicationV2 API
- Consistent implementation across Actor and Item sheets
- Template safety with Handlebars guards
- Dynamic icon and localization support

All 31 modified files now use the official Foundry VTT v13 tab system.
2025-07-29 19:03:58 +02:00
76d223db0f
fix(ui): remove duplicate data-action attributes in item sheet tabs 2025-07-17 18:40:45 +02:00
4821eba0a9
feat!: complete ApplicationV2 migration with item sheet port
Convert DS4ItemSheet and all item sheet templates from ApplicationV1 to
ItemSheetV2. Add V2 action handlers, tab navigation, and form
processing. Update effect management to use DialogV2. Preserve all
functionality including tab state and override handling.
2025-07-13 15:41:51 +02:00
Johannes Loher
1aa284311f refactor: resturcture files so that lincensing info can be bundled properly 2022-01-31 15:31:45 +01:00
Renamed from src/templates/sheets/item/spell-sheet.hbs (Browse further)