Closed 96LawDawg closed 2 months ago
PR-SERVER-BOT: You can play around with it here: https://test.virtualtabletop.io/PR-2253/pr-test (or any other room on that server)
Those do look like substantial changes to the minifier. I wonder if that is what is causing my problem. I opened this PR up, with your changes, on my local machine, but all I get is "Loading room..." I deleted all the room and state and tried again and nothing. But no problem opening other PRs or main. I was going to update a tutorial showing how to do this (with the css overflow), but I can't get my local setup working. Any idea?
Is this PR going two things at once? I see some code that I wouldn't expect needed and the branch name also indicates it has other goals.
I don't think so. The branch name was what I thought the basic fix should be. But it needs to work without forcing a refresh. All the other code does that.
I opened this PR up, with your changes, on my local machine, but all I get is "Loading room..." I deleted all the room and state and tried again and nothing.
Anything in the console?
Anything in the console?
Uncaught SyntaxError: Identifier 'toServer' has already been declared
Does it work on the PR test server?
Does this help?
Does it work on the PR test server?
Yes
Does this help?
No
Does it work with either "minifyJavascript": false
or "minifyJavascript": true
in config.json
? Can you send me the broken source code (CTRL+U in browser)?
Based on discussion in Discord at https://discord.com/channels/770758631146782780/770758631146782783/1276544777860546713, I reverted @RaphaelAlvez's changes. I think this should be ready to merge. Any final comments from any body?
Based on discussion in Discord at https://discord.com/channels/770758631146782780/770758631146782783/1276544777860546713, I reverted @RaphaelAlvez's changes. I think this should be ready to merge. Any final comments from any body?
Was the property name the only problem?
I think it's least good to incorporate the features where we expect them to be used
As recently mentioned in Discord, it is possible to allow cards or any other widget to become a parent just by including dropLimit and dropTarget properties on the widgets that will be the parents. This just adds the default null value in widget.js so the JSON Editor recognizes that and recolors the properties yellow.
The wiki has also already been updated. This has been a hidden feature that we just did not realize existed until today.