foundry-vtt-tidy-5e-sheets icon indicating copy to clipboard operation
foundry-vtt-tidy-5e-sheets copied to clipboard

feat: Utility Toolbar - Expand All / Collapse All refinement, Collapse All Items Utility

Open kgar opened this issue 1 year ago • 0 comments

Expand All / Collapse All Refinement

Revise Expand All / Collapse All so that they are mutually exclusive to each other. Put them to the left of the search bar. Use a single double chevron to the left of the search bar, matching the state of the accordions below. If only some are expanded (indeterminate), keep it in the "collapsed" (right) state so that the next action would be to expand all

Mockup from the community server: image

Close All Item Descriptions / Collapse All Items Utility

Tidy currently remembers which descriptions are opened or closed between full sheet re-renders. For a DM who opens a large number of items and wants to close them, a lot of clicking is required in what is typically a high-action / time-sensitive moment, such as combat. Provide a utility for closing all item summaries for a given tab.

Example / inspo from A5e: image This toggle does the same behavior as the Expand All / Collapse All behavior described above. It expands all descriptions if collapsed or indeterminate, and it collapses all descriptions if expanded fully.

References

Expand All / Collapse All: https://discord.com/channels/1167985253072257115/1170021717524107274/1224813654495592479

Collapse All Item Descriptions: https://discord.com/channels/1167985253072257115/1170021717524107274/1224807947377578095

kgar avatar Apr 02 '24 22:04 kgar