Commit graph

334 commits

Author SHA1 Message Date
76f5a4f27a Add an assertion that makes sure that tabs which should be hidden do not get displayed to the user if the condition becomes falsy due to a document update 2026-04-12 17:57:42 -06:00
687440c0da Make the disabled details collapse/expand more obvious when it's disabled (closes #63) 2026-04-09 21:48:43 -06:00
9955b76956 Finish adding the create button in the item group lists 2026-04-09 21:41:37 -06:00
fc24caf08a Add header control for adding an embedded item into an actor. 2026-04-08 01:08:52 -06:00
380ed3fe15 Make the quantity input update the embedded document of actor 2026-04-06 23:33:32 -06:00
6f3139edf1 Fix typo for showing/hiding the %-used of carry capacity 2026-04-06 23:33:12 -06:00
f666fd2fa9 Add missing localization string for the sheet name 2026-04-06 23:01:43 -06:00
13619b6a09 Change all instances of "color" in my theme variables to be "colour" 2026-04-06 22:55:12 -06:00
f05311d7c8 Hide the "% used" indicator when there is no maximum capacity, and add a placeholder to be more explicit for the input 2026-04-06 22:47:53 -06:00
e4e1f30fcb Add comments for the v13 shims to make it easier to find them 2026-04-05 20:23:11 -06:00
cfa352e5e0 Allow negative item quantities, don't allow negative weights 2026-04-05 20:14:18 -06:00
4c05171e04 Add the context menu for items in the player sheet 2026-04-05 20:14:02 -06:00
441930a5e5 Add _loc compatibility for v13 2026-04-05 20:08:55 -06:00
66d2452d1d Update the item sheet styling to use Forgejo colours in dark mode 2026-04-05 19:18:32 -06:00
c9ad0d8a4e Tweak the way the config/api globals are structured (closes #50) 2026-03-29 01:27:26 -06:00
2d6db98530 Make the localizer config sealed instead of non-extendible 2026-03-29 01:24:39 -06:00
9d49a45f0d Swap the checkbox for a toggle in the item sheet for consistency of UI and help user expectations 2026-03-29 01:04:30 -06:00
b20240699b Update the toggle so that the animation plays fully before the events are emitted 2026-03-28 20:01:16 -06:00
e4b6a5c635 Update the toggle element to have the foreign update listener attached to it 2026-03-28 18:44:13 -06:00
25840a65e9 Set verified to v14 2026-03-28 18:43:50 -06:00
c65e960bd7 Add listener registration for foreign document updates on all sheets 2026-03-28 18:43:39 -06:00
0f1ba90161 Update the TafToggle to actually properly dispatch change/input events as required 2026-03-28 18:43:21 -06:00
1892a02794 Remove the unused cache from the config 2026-03-28 18:42:48 -06:00
9f19072426 Add a utility method for performing a document update on any arbitrary document 2026-03-28 18:42:11 -06:00
f5c7e1c4bc Add the toggle for item equipped status and inventory properties 2026-03-23 00:23:32 -06:00
44372d0a17 Add a customizable weight formatter function 2026-03-23 00:22:54 -06:00
6e2dfa1cf1 Add a toggle component 2026-03-23 00:08:30 -06:00
92553cb1f1 Realize I haven't updated the html-data for my custom elements and correct the descriptions 2026-03-19 23:32:20 -06:00
2b0fbdfa8b Finish the primary design of the item tab, still awaiting an equipped toggle 2026-03-19 23:31:50 -06:00
704ff4672a Get the item list styles finished, and start working on the weight summary / carry capacity for the tab 2026-03-19 00:23:01 -06:00
96eccc62f2 Add partial rerendering to document sheets via a custom mixin 2026-03-16 22:06:30 -06:00
761f0b6563 Fix eslint and lint the codebase 2026-03-16 22:01:06 -06:00
23a402f11a Get items appearing on the sheet, still a lot to do but this is a strong step in the right direction 2026-03-15 22:37:55 -06:00
6b03d62234 Add the item list compatibility for the Attribute Only Sheet 2026-03-15 15:47:28 -06:00
40f0e1ea2c Add support for the tabs in the two contentful Actor sheets 2026-03-15 15:35:57 -06:00
76d8f3675c Make group sorting be case insensitive 2026-03-14 16:02:37 -06:00
f2420a6848 Make the labels not take up so much space so that click events are a bit more predictable on when they happen 2026-03-14 16:01:01 -06:00
ce81212bbe Add a group property on the Item data model 2026-03-14 15:58:06 -06:00
c6ec60b5bf Update the Player data model and move it into an Actor folder since we now have an item data model 2026-03-13 21:45:13 -06:00
d9d66abf27 Add localization for the item sheet fields 2026-03-13 21:35:10 -06:00
94b3ec923b Finish getting the main item sheet completed and fully functional 2026-03-13 21:31:03 -06:00
2518c7cf05 Begin work on the most basic item sheet version 2026-03-13 01:05:52 -06:00
f91c3d2419 Create the Item data model 2026-03-08 13:11:14 -06:00
cc8f054115 Localize the default attribute notification 2026-03-07 16:26:04 -07:00
174aceeb91 Prevent the content from rerendering when it doesn't get any changes, allowing in-progress edits (closes #31) 2026-03-07 16:06:18 -07:00
ec5f2feb7e Ensure that the AttributeManager can still render in v13 due to the _del reference 2026-03-07 15:18:05 -07:00
871493bacf Prevent the ghosts of attributes from lingering when deleted (closes #37) 2026-03-07 14:47:21 -07:00
97760bc424 Make horizontal rules visible in prose-mirror (closes #36) 2026-03-02 22:02:58 -07:00
d540cc72f6 Add saving and editing of default attributes and their values (closes #29) 2026-03-02 21:52:19 -07:00
5159db3d33 Make the input sanitization apply to all sub-inputs 2026-03-01 21:47:07 -07:00