Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
395 stars 73 forks source link

[BUG] Tokens made with Assets missing name/token field in initiative tracker using subpath setup #1217

Closed rexy712 closed 1 year ago

rexy712 commented 1 year ago

Describe the bug Back in issue #1178, I was confused that there was no way to enter names in the initiative tracker. This has made it difficult to tell which token is which in my games. Now I came across an older screenshot that the initiative tracker used to have token previews beside each entry, making them easier to identify. In the current version I use (2023.1), all I have is the Value field and settings to the right of that. This applies only to tokens created via assets. This is not an issue for basic tokens or shapes made with the draw tool. These have their Name listed to the left of the Value entry.
I now believe there's a bug in the initiative tracker that makes tokens not show either their name or their token as it seems is supposed to happen.

To Reproduce Steps to reproduce the behavior:

  1. Create a token from an asset.
  2. Add the token to initiative.
  3. View initiative, see there is no indication of which token corresponds to which entry.

Expected behavior It seems that there is supposed to be a miniature view of the token's image or name to the left of their initiative value. I personally think that having the name show up there could be clearer, but that's subjective and I'd be fine with the token preview.

Screenshots

My current version. The token's name is 'Archer Sentry', but shows up as nothing.

image




The old screenshot that shows tokens showing up as intended.

image

Desktop:

Additional context This may be caused by my use of the subpath setup? It seems like no one else really uses this setup, so this problem may have been unreported by anyone else for this reason. Just a guess.

rexy712 commented 1 year ago

I just ran a temporary server without a subpath to test. The initiative tracker renders mini versions of the tokens as expected in that case.
This is definitely a bug specifically for subpath setup.