Skip to content

Releases: kgar/foundry-vtt-tidy-5e-sheets

v0.1.11

24 Nov 22:53
b65f658
Compare
Choose a tag to compare

What's Changed

  • [#73] Fixed Advancement Removal Dialog on Item Delete by @kgar in #74
  • [#75] Added Default Sheet Tabs configs for PCs, NPCs, and Vehicles by @kgar in #77
  • [#78] Added style support for custom 5e enrichers by @kgar in #79

Full Changelog: v0.1.10...v0.1.11

Default Tab Selection is Here

For each actor type—PC, NPC, and Vehicle—you can now visit Sheet Settings and configure their default tabs. When a sheet does not have its own custom tab selection, it will use the defaults. Previously, the defaults were simply all available tabs, in a specific order. Now, you can control that. Do you prefer to have all NPCs with just two tabs by default, your time has come!

image

image

image

Thanks to Zand on the Foundry League discord for testing Tab Selection and giving me the push to implement this other half of the Tab Selection feature.

More misc fixes

Thanks again to Zand for testing item advancements and reporting the missing Advancement Deletion dialog bug. That is now fixed. Now, upon deletion of an item with advancements (race, class, background, etc.), the correct prompt will appear:

image

Thanks to @imivoltz for reporting the issue with custom enrichers being illegible in dark mode. They have now adopted the same styles as the other enriched roll links.

image

v0.1.10

23 Nov 03:00
155deb9
Compare
Choose a tag to compare

What's Changed

  • [#67] Fixed "Move Traits" bug by @kgar in #68
  • [#57] Actor Tab Selection by @kgar in #58
  • [#69] Fixes spell component tag issue when using languages with different abbreviations by @kgar in #70

Full Changelog: v0.1.9...v0.1.10

Tab Selection

Tab selection and tab ordering is now available on all character, NPC, and vehicle sheets for GMs and sheet owners. Use the sheet menu at the top right and choose "Tab Selection."

image

This opens a selection listbox where you can adjust tabs as needed for your sheets' individual needs:

image

image

Selected tabs apply to the actor, not the user. That is, it is configured via an actor flag. This is because the selected tab loadout is intended to reflect the most appropriate set of tabs for the type of actor. For example,

  • A fighter PC may not need to see the spellbook tab
  • Players who keep their character notes off-Foundry may want to reduce noise by removing Biography and Journal tabs

When an actor has no selected tabs, their sheet has all of the registered tabs (these are the default tabs as they currently exist) in the default order.

Big thank you to @crash1115 for submitting the issue and for engaging in discussion about this and other features.

Bugfixes

I fixed a bug where the PC traits UI would not remove itself from one place when you toggled "Move traits below resources" in settings. As it turns out, it was related to a svelte thing that I didn't fully understand yet, and now it's been fixed. The nature of the fix has also fixed a handful of other unreported visual bugs that would occur when doing things like changing permissions while the user had the sheet pulled up.

Thank you to @hateitwtf for reporting the spell component tag issue for languages with different abbreviations for Concentration and Ritual. The extra information and recommendations were very helpful!

Working on Things: Unifying Non-Sheet Styles

While working through this project, I have undergone numerous mini-projects and amassed numerous different styles for things. Also, I have some copy/pasted form applications and dialogs from the original sheets. I've begun the process of consolidating my styles for non-sheet windows, such as Actor Origin Summary, Sheet Settings, Theme Settings, and now Tab Selection. I'm building up a generic set of styles to unify the look and feel. Please pardon my progress as things will continue to evolve and look different. I'm continually learning how to do this project.

Aside from consistency, one big reason I'm trying to bring my look and feel together is to increase my speed of development when I need to make new UI content outside of the sheets for any additional features related to settings or configuring the sheets.

image

image

image

v0.1.9

21 Nov 22:26
7cab265
Compare
Choose a tag to compare

What's Changed

  • Made macros for tidy data transfer by @kgar in #56
  • [#63] Fixed missing Creature Type for new NPCs by @kgar in #64
  • [#62] Fixed Resources Header Background Issue for Firefox and FLC by @kgar in #65
  • [#61] Fixed Formidable Firefox Scrollbars by @kgar in #66

Full Changelog: v0.1.8...v0.1.9

🦊: “We’re closing in on them, Falco.”

This is a bugfix/style-fix release mainly for Firefox and FLC.
Also, I fixed an issue with new NPCs being unable to pick a creature type.

v0.1.8

18 Nov 17:27
24f90f1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.7...v0.1.8

One last thing

  • Promoted the active item description editor to cover the entire tab content area.

v0.1.7

18 Nov 17:17
9c56243
Compare
Choose a tag to compare

What's Changed

  • [#31] dnd5e 2.4.0 Compatibility - Loot Details Tab by @kgar in #46
  • [#31] dnd5e 2.4.0 Compatibility - Item Activation prompt checkboxes by @kgar in #47
  • [#31] dnd5e 2.4.0 Compatibility - More Item Activation refinements by @kgar in #48
  • [#31] dnd5e 2.4.0 Compatibility - Misc by @kgar in #49
  • [#31] dnd5e 2.4.0 Compatibility - Item Descriptions with Accordion by @kgar in #50

Full Changelog: v0.1.6...v0.1.7

dnd5e 2.4.0 Compatibility Release 2 Notes

  • Added item descriptions accordion for all items with property sidebars.
    image
  • Added the Loot Details tab with type and subtype options.
  • Added item activation checkboxes related to prompting.
  • Misc updates based on changes to dnd5e 2.4.0.

v0.1.6

17 Nov 02:31
c37b39b
Compare
Choose a tag to compare

What's Changed

  • Dnd5e 2.4.x Compatibility Release 1 by @kgar in #32

Full Changelog: v0.1.5...v0.1.6

dnd5e 2.4.0 Compatibility Release 1

  • Added Race item sheet
  • Updated items, NPCs, and Vehicles to use the upgraded Source data fields (Book, Page, Custom Label, License,...)
  • Added Creature Type (Humanoid, Fey, Plant,...) to the character sheet
  • Minor UI fixes

v0.1.5

15 Nov 21:38
5a7e3d5
Compare
Choose a tag to compare

What's Changed

  • [#43] Fixed missing icon issue for dev server and prod build. by @kgar in #45

Full Changelog: v0.1.4...v0.1.5

This is a minor bugfix release to take a second shot at the missing icons issue.

v0.1.4

15 Nov 17:19
90eaa0e
Compare
Choose a tag to compare

What's Changed

  • [#40] Localization Revisions, Preparation, and Maintenance by @kgar in #41
  • [#43] Corrected URL issue for items that point to web addresses rather than files on the server. by @kgar in #44

Full Changelog: v0.1.3...v0.1.4

Major Localization / Settings Overhaul

Warning

Breaking changes: Numerous config settings have changed meaning and name. Any setting whose name has changed will reset to its default value. If your sheet setup has changed when upgrading, visit Sheet Settings and/or Theme Settings to re-apply your desired settings.

  • All localization files have been synchronized to the en.json lang file.
  • Numerous settings have been revised to be more positive-oriented (e.g., changing "Disable health bar." to "Use HP Bar")
  • All settings have been given "Title Case" to keep with Foundry / dnd5e setting name conventions
  • Numerous setting descriptions have been shortened, revised for clarity, and revised to remove advice about other modules or how to use the settings. They have instead been fashioned as simply a cafeteria plan of features.
  • The Settings Info tab has been filled out information and links.

Coming Soon: Weblate for Tidy 5e Sheets

As part of this upgrade, @kgar is setting up the Tidy 5e Sheets rewrite in Foundry Hub Weblate so that localization is easier and doesn't require translators to fuss with Github or pull requests. Weblate also provides a number of compelling quality-of-life features.

v0.1.3

11 Nov 01:42
88d9d63
Compare
Choose a tag to compare

What's Changed

  • [#36] Cleanup, Bugfixes, Maintenance, Resolving TS / svelte-check errors by @kgar in #38
  • Configured active effect deletion to require confirmation on all acto… by @kgar in #39

Full Changelog: v0.1.2...v0.1.3

Updates

  • Replaced the creature size dropdown on PC, NPC, and Vehicle sheets
  • Added drag and drop functionality to the Effects tab
  • Adjusted UI for inventory classic controls so that the icons stay aligned even when controls like Attuned and Equip are not present.
  • Updated active effects for actors and items to provide a confirmation dialog when deleting (part of dnd5e 2.4.x readiness project #31)

Bug Fixes

  • Fixed settings menu bug where "Sheet Settings," "Theme Settings," and "Settings Reset" options were gone. They have returned!
  • Fixed Pact magic handling so that "Prepare Spell" is not shown on the classic controls or context menu for Pact Magic.
  • Fixed bug where unlocking Advancement in classes was not working for embedded class items.
  • Added back the ↳ character to subclasses.

Accessibility

  • Added focus-visible / keyboard support for traversing spell slot levels
  • Replaced more a11y noncompliant elements with compliant elements (I turned more things into buttons)

Under the Hood

  • Resolved svelte-check errors and warnings
  • Established a build for pull requests going to main so that a svelte-check is done.
  • Eliminated z-index abuse where able.
  • Revamped all HP Bars (PC, NPC, Vehicle, Vehicle Equipment) to use a shared component ResourceWithBar.
  • Consolidated item favorite logic and said goodbye to hardcoded interop with the standalone Character Sheet Favorites module
  • Extend the ItemTableRow to support drag and drop from items and effects separately
  • Established global dynamic types as needed to ease the burden of dealing with a lack of TS types for Foundry and dnd5e
  • Pulled back more Foundry- and dnd5e-specific globals to the FoundryAdapter for now in preparation for some better future organization scheme which will accommodate having multiple sheet layouts.
  • Made dnd5e setting disableExperience reactive on the Tidy 5e character sheet, so a change to the config setting also updates the sheet in realtime.
  • Applied more PX to REM conversions where found.

v0.1.2

08 Nov 21:11
38c1c59
Compare
Choose a tag to compare

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.