Sandbox and point and click improvements

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:points: :-D :eyeroll: :neutral: :nmr: :razz: :raging: :-) ;) :( :sick: :o :? 8-) :x :shock: :lol: :cry: :evil: :?: :smirk: :!:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is OFF
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Expand view Topic review: Sandbox and point and click improvements

Re: Sandbox improvements, settings page, testers needed

by lilycollinslim » Wed Dec 27, 2023 1:40 am

echidna wrote:
Sun Apr 02, 2023 6:50 am
Yes, I volunteer. I will forward all death threats to you, is that OK?
I appreciate your willingness to help!

Re: Sandbox and point and click improvements

by bonjovi » Sat Oct 07, 2023 8:27 am

2ndWhiteLine wrote:
Mon Apr 10, 2023 12:29 pm
I can select and view the press window but I'm not ablemapquest to actually type in the text box.
What is this engine?

Re: Sandbox and point and click improvements

by gimix » Wed Apr 12, 2023 9:11 am

Issue with game #556878 (Modern) in staging: the game page shows, I can see the preview and the large map, even go to the order history page; but it's stuck with "Loading orders...".

Also, a small detail: the staging environment is not linked to the forum, so the "If you have any new issues please post them here" link in the banner doesn't work (error 404) - the link itself is correct, once you remove the "staging." part

Re: Sandbox and point and click improvements

by 2ndWhiteLine » Mon Apr 10, 2023 12:29 pm

I can select and view the press window but I'm not able to actually type in the text box.

Re: Sandbox and point and click improvements

by kestasjk » Sun Apr 09, 2023 4:24 am

Hmm.. when I do it with my old games I just click the button in the bottom left and the press pops up, what happens for you?

Re: Sandbox and point and click improvements

by 2ndWhiteLine » Sat Apr 08, 2023 10:41 pm

Not a sandbox issue per se but I have no idea how to use the press feature in the postgame chat of a gunboat match without switching back to classic view.

Re: Sandbox improvements, settings page, testers needed

by kestasjk » Fri Apr 07, 2023 12:19 am

Looks like we had some activity on the staging site and no-one reported any issues so I've deployed those changes and will keep an eye on it. Really like the sandbox map.. I feel like I could make variants point and click pretty easily, though I'm interested if it works well on mobile etc as it has to do a lot of pixel shading and uses mouse events

Re: Sandbox improvements, settings page, testers needed

by kestasjk » Sun Apr 02, 2023 4:15 pm

learnedSloth wrote:
Sun Apr 02, 2023 11:29 am
Obligatory Dijkstra: Testing shows the presence, not the absence of bugs.

Getting affirmation of no regressions could take forever, but if you haven't heard from testers for a while they probably haven't found anything.
True, but I'm not aiming for perfection just want to avoid creating headaches for players and mods
gimix wrote:
Sun Apr 02, 2023 3:04 pm
Happy to help.
Just some questions:
  • "linked to the live db" means that one can use the environment to play regular games, while other players in the same game use the standard env?
  • could you please share a list of the new updates/fixes as soon as you release them in the test environment?
  • should we create a (rather detailed) checklist, so that the testers can mark any features that worked/didn't work for them?
Yep that's right; things you do in staging.webdiplomacy.net will apply on webdiplomacy.net

Updates are mainly polishing up sandbox mode, some point and click UI improvements to close some gaps in functionality e.g. lodging suspicions, getting help, sandbox builds/control etc

I should create a detailed checklist, but for now happy for people to play around and see if anything obvious breaks


Have to say React/TypeScript is quite nice to develop on. The lint checker is really touchy and wants the code formatted just so but it does make everything consistent, and the way you can see changes as you go is very nice.

ChatGPT 4 and copilot also is pretty crazy; it made the allocation screen way quicker to write (though it needs optimization and refactoring)


Below are pics of the main change areas:


edit: I'm noticing processing is quite slow also, too late to look into that now but interested if anyone noticed if it got worse suddenly or gradually?
Attachments
Screenshot 2023-04-03 001042.jpg
Screenshot 2023-04-02 234121.jpg
Screenshot 2023-04-02 234157.jpg
Screenshot 2023-04-02 234237.jpg

Re: Sandbox improvements, settings page, testers needed

by gimix » Sun Apr 02, 2023 3:04 pm

Happy to help.
Just some questions:
  • "linked to the live db" means that one can use the environment to play regular games, while other players in the same game use the standard env?
  • could you please share a list of the new updates/fixes as soon as you release them in the test environment?
  • should we create a (rather detailed) checklist, so that the testers can mark any features that worked/didn't work for them?

Re: Sandbox improvements, settings page, testers needed

by learnedSloth » Sun Apr 02, 2023 11:29 am

Obligatory Dijkstra: Testing shows the presence, not the absence of bugs.

Getting affirmation of no regressions could take forever, but if you haven't heard from testers for a while they probably haven't found anything.

Re: Sandbox improvements, settings page, testers needed

by echidna » Sun Apr 02, 2023 6:50 am

Yes, I volunteer. I will forward all death threats to you, is that OK?

Sandbox and point and click improvements

by kestasjk » Sun Apr 02, 2023 2:52 am

(edit)

Hi,

The Games > Sandbox mode functionality has been finished up. You can now create sandbox games that will work the same in drop-down and point and click mode, and the create sandbox page lets you position units prior to startup:
Screenshot 2023-04-07 085643.jpg
You can control sandbox mode via the drop-down UI using the links at the bottom, and there is also a link there so people using the drop-down UI can go to the point and click UI:
Screenshot 2023-04-07 085346.jpg
You can use this are on a non-sandbox game to copy it to a sandbox game which only you can see.

The point and click UI has links to the drop-down board, the archive pages, and buttons to control sandbox mode. Votes now appear under CONTROL, which is where options to let you control the game will go:
Screenshot 2023-04-02 234121.jpg
And in the HELP section there are now several links to extra resources, as well as the lodge suspicion button, which can be used to lodge cheating requests:
Screenshot 2023-04-07 085657.jpg
Behind the scenes some changes to try and prevent the white screen of death, which I think happens when orders/units are output mid-process due to relaxing locking, and changes to multi detection, webpushr disabled as it's too annoying for now, notifying people per browser rather than per account.

Any issues please post below with a game ID / screenshot etc

Top