fvtt-ready-set-roll-5e icon indicating copy to clipboard operation
fvtt-ready-set-roll-5e copied to clipboard

Tidy 5e Sheet rewrite compatibility

Open kgar opened this issue 6 months ago • 8 comments

Is your feature request related to a problem? Please describe. I am working on the rewrite of Tidy 5e Sheets (new version here, and I am hoping to establish compatibility with this module. The new sheets are running on svelte, so the render lifecycle is different from a standard Foundry document sheet, and the means of injecting content into the sheets is very different.

Would it be possible to work together on ways to integrate this module with the new Tidy?

Describe the solution you'd like Ideally, I would like to provide one or more API functions that could be leveraged by RSR to inject content into the new Tidy sheets.

Describe alternatives you've considered The alternatives for establishing compatibility are few and grim. I could rewrite my sheets to look and smell like the default sheets, so that compatibility is accidentally successful, but I think intentional compatibility is the better long term bet. I could seek out some way to detect content that is not mine and then remove it and manually call the expected lifecycle hook. This is a somewhat grim prospect, since there is no sure-fire way to detect all content that others have injected except through APIs.

Additional context A user who is a fan of both our modules reported the issue with my sheets here: https://github.com/kgar/foundry-vtt-tidy-5e-sheets/issues/148

kgar avatar Dec 23 '23 05:12 kgar