-
Notifications
You must be signed in to change notification settings - Fork 27
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
base: release-0.2.2
Are you sure you want to change the base?
Conversation
Note the styling is not great... at all... 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? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fine change for 0.2.2, but will need to be discarded and rebuilt for 0.3.0 I suspect, since the CSS layout won't translate properly
"actorSheetInlineTabs": { | ||
"name": "Horizontal Inline Tabs for Actor Sheets", | ||
"hint": "If enabled, actor sheets will use horizontal tabs within the bounds of the sheet, as per foundry default sheets. This setting is meant as a work-around solution for the Pop-Out! module, for those who want to use it." | ||
}, | ||
"itemSheetSideTabs": { | ||
"name": "Vertical Side Tabs for Item Sheets", | ||
"hint": "If enabled, item sheets use vertical tabs down the right-hand side, similar to the character sheet, instead of the default in-line horizontal ones." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should make the setting consistent here where on = vertical and off = horizontal. It doesn't make sense for the 2 settings to do opposite things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had considered that, but I felt it made more sense to me that the defaults for any optional settings are "off" and that those defaults set it to the way we are suggesting people start.
Yeah, looking at the handlebars changes for your styling PR as well this seems like it would be almost entirely re-worked. Probably best to just strike it from 0.2.2 so we don't end up reverting functionality, especially as previously mentioned, it doesn't seem to do what people were after (at least according to my testing). |
Type
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)
Checklist: