TJSApplication Character Sheet odd behavior with unlinked tokens
// Applications which are not currently rendered must be forced
if ( !force && (this._state <= states.NONE) ) return;
// Applications which are not currently rendered must be forced
if ( !force && (this._state <= states.NONE) ) return;
TJSDocumentCollection best practices?
game.actors
, and to do so was going to use a TJSDocumentCollection
.
Now for my actual ask. Within my component I have the following code.
```JS
<script>...Release `TRL 0.1.1` - Patch release
0.1.0
release regarding the internally used ResizableHandle Svelte component for application windows via ApplicationShell
. In the 0.1.0
release if you set width
or height
to auto
and the app window is resizable an error occured. This was just a missed refactoring aspect to some internal code and I happened to not catch it in testing for the 0.1.0
release as it was data specific in how an app is setup.
Another fix is passing the element as a JQuery element in the SvelteApplication hook invocation for closeApplication
. ...Uncaught TypeError: $storeElementRoot is undefined
Popcorn Initiative
PostcssConfig seem not workin with 0.1.0
TJSDocument for aggregating actor flags for Svelte Component
Update to ChatMessage outside of Svelte doesn't trigger reactivity on linked TJSDocument
Release `TRL 0.1.0` - The journey to beta begins...
0.1.0
. This is a major release and begins the path toward a full "beta" launch.
WARNING: This is a major breaking change release. Some of your cheese has been moved, but it is not gone. Now don't get too scared as this is not a change in the functional aspects of TRL, but a significant refinement to the API structure and locations of where various resources are located. This was necessary for API doc coherency and to move resources around in the library construction to aid future progress....How do I get the elementRoot of a ChatMessage?
elementRoot
prop to components that implement it, which is very useful. I'm looking to get something similar for my Svelte chat message templates.
I'm using this in index.js
```javascript
Hooks.on('renderChatMessage, (message, html) => {...Getting started with the GUI and understanding element root
Drag & Drop broke in v11
TJSDocument and Token Issues
Creating an interim TJSDocument / document attribute bridge
So I have made a system with TRL for my friend's homebrew game system, and I'm working on getting document updates to work. Binding values of inputs directly to the TJSDocument isn't yet supported, so this is what I cooked up thus far:```js...
TJSGameSettings with not registered settings.
Storing a collection of Items in an Item?
TJSDialog how to use buttons and callback or return value?
managedPromise
- seems to be a private property of TJSDialog without a setter.
...Release: `TRL 0.0.23` - "v11 hot patch"
TRL 0.0.22
except for the v11 fix for embedded reactive collections. Outside of this one change there should be no other issues using TRL 0.0.23
on Foundry v10 & v11.
Of general interest I recommend updating to the latest Vite: 4.3.8
as there are many improvements in the 4.3.x
releases. Also, take note that if you update to a Svelte version 3.57.0
or greater there are new accessibility / a11y warnings depending on what you use in TRL / mainly the RTE editor components. I have already fixed that for TRL 0.0.24, but you will see new a11y warnings when building. This is not a problem and already fixed for the next official release....