Skip to content

v0.1.2

Compare
Choose a tag to compare
@kgar kgar released this 08 Nov 21:11
· 815 commits to main since this release
38c1c59

What's Changed

  • [#17] Sheet State - Current Tab, Scroll Top, Expanded Items, Search Filter Texts by @kgar in #33

Full Changelog: v0.1.1...v0.1.2

Sheet State Upgrade

Implements sheet state caching for Characters, NPCs, and Vehicles.

  • Current Tab: cached for lifetime of page / resets on page refresh
  • Scroll Tops of scrollable areas: cached for lifetime of application dialog / resets when a sheet is closed and reopened
  • Expanded Items: cached for lifetime of page / resets on page refresh
  • Search Filter: cached for lifetime of page / resets on page refresh

Search Filter Has Changed

  • Search Filters are no longer based on actor flags. They are properties on the target sheet. This allows multiple people to search a given tab on an actor sheet without changing each other's search criteria / view.

Location Awareness Added

  • In order to provide caching for expanded items in a sensible way for Tidy 5e sheets, the location of the cached item expansion is also needed. For example, we should know if the item was expanded on Favorites or Inventory. To accomplish this, location awareness is not baked into sheets, so when items are expanded, the relevant svelte component will notify the sheet of this event and also include where in the sheet this occurred. For now, location awareness is being applied to Tabs. So, sheets can be made aware of what happened on what tab.

Item Application Auto-Height Adjust Removed

  • The default 5e sheets will expand the height of an item sheet when the user goes to the Details tab. I tried to implement that early on for the rewritten Tidy 5e sheets, but it was somewhat buggy. For now, it is being removed. If the community actually misses this behavior, we can have an issue opened and take a fresh approach to implementing it.