- 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.
15 lines
474 B
Handlebars
15 lines
474 B
Handlebars
{{!--
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-License-Identifier: MIT
|
|
--}}
|
|
|
|
<div class="ds4-biography-tab-content">
|
|
<!-- beautify ignore:start -->
|
|
<!-- prettier-ignore-start -->
|
|
{{!-- remove indentation to avoid annoying Handlebars auto-indent --}}
|
|
{{> systems/ds4/templates/sheets/actor/components/profile.hbs}}
|
|
{{> systems/ds4/templates/sheets/actor/components/biography.hbs}}
|
|
<!-- beautify ignore:end -->
|
|
<!-- prettier-ignore-end -->
|
|
</div>
|