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

Inline Tabs for Actor sheets - Pop-Out! workaround #195

Open
wants to merge 2 commits into
base: release-0.2.2
Choose a base branch
from

Conversation

zithith
Copy link
Collaborator

@zithith zithith commented Dec 14, 2024

Type

  • Bug fix
  • Feature
  • Refactor
  • Other (please describe):

Description
Added a setting toggle (as per the item sheet one, but inverted) to make the tabs for actor sheets fall in-line, more like the default foundry behaviour. Required a small re-factor of the navigation parts for the actor sheets so that they appear in a relevant place in the sheet structure.

Related Issue
Closes #194

How Has This Been Tested?
Local machine. Opened sheets with and without the setting toggled to see the change (doesn't re-render already opened sheets).

Screenshots (if applicable)
image
image

Checklist:

  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes do not introduce any new warnings or errors.
  • My PR does not contain any copyrighted works that I do not have permission to use.
  • I have tested my changes on Foundry VTT version: 12.331.

@zithith
Copy link
Collaborator Author

zithith commented Dec 14, 2024

Note the styling is not great... at all...
A) It's a workaround
B) I didn't want to upset the merge conflicts for mango's styling branches more than I had to.

I did make the decision that I left out the labels on the tabs as there are too many of them for the space on the sheet. Though if people think adding them back for accessibility is better, we could look at stacking icon over text?

@zithith zithith self-assigned this Dec 14, 2024
@zithith zithith added ui User interface related issue ux User experience related issue character sheet labels Dec 14, 2024
@zithith zithith linked an issue Dec 14, 2024 that may be closed by this pull request
1 task
@zithith zithith added this to the Release 0.2.2 milestone Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
character sheet ui User interface related issue ux User experience related issue
Projects
Status: In review
Development

Successfully merging this pull request may close these issues.

Enable support for Pop-out module (workaround)
1 participant