Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1] Native Actions List in Tidy 5e Sheets #71

Merged
merged 26 commits into from
Nov 26, 2023
Merged

Conversation

kgar
Copy link
Owner

@kgar kgar commented Nov 23, 2023

#1

Added a Features settings tab to Sheet Settings.

Added Actions List settings UI to Features settings tab.

Added English localization fields for Actions list and Features settings tab.
@kgar kgar self-assigned this Nov 23, 2023
@kgar kgar added the enhancement New feature or request label Nov 23, 2023
kgar added 25 commits November 23, 2023 01:14
Wired actions list settings to register/unregister the actor tabs according to settings.

Removed unused code.
…ndled with default tab selection.

Removed unused Actions localization content.

Moved ActorJournalTab to the actor/tabs directory.

Added the Actions tab to the sheet state for each actor type so that it is available in tab selection.
Added ActorActions type to the core ActorSheetContext type.

Updated each actor type to pull actor actions during data setup.
Added scroll container to actions tab.

Aligned ItemUseButton to be centered vertically, in preparation for multi-line item table rows.
Added image size overrride that applies to ItemUseButton and ItemImage components and is based on a CSS variable, falling back to the usual 1.5rem.
…nts.

Extracted RechargeControl and replaced all the places where it'd been copy/pasted throughout development.
…abilities, and vehicle attributes tabs.

Added "Shift+Click to clear override" functionality.

Added some null-safety to the actions tab prop checking.

Added localization keys.
Added useActionsFeature boolean to all actor sheet contexts.

Limited presence of action filter override control to when useActionsFeature is true.

Added Action Filter Override and Clear Override options to context menu.
…tracted out of components.

Added script for determining the item info card to use.

Streamlined item info card template selection by delegating default fallback to the new function during rendering rather than during the delay period.

Removed explicit item card template assignment by the various lists and grids, allowing the item type to determine the card template instead.

Indirectly got item cards on the Action tab.
Stacked item use text so that the numbers are on top and the small text is on bottom.

Set up flex-wrap for the damage strings and make them not truncate. Given enough damage types, the row will expand to accommodate them.
@kgar kgar marked this pull request as ready for review November 26, 2023 07:02
@kgar kgar merged commit 3e16d29 into main Nov 26, 2023
1 check passed
@kgar kgar deleted the alpha-1-actor-actions-tab branch November 26, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant