lila icon indicating copy to clipboard operation
lila copied to clipboard

Analysis Board - Set engine off with url parameter

Open labbeast89 opened this issue 2 years ago • 6 comments

We can already define in the URL what is the

  • FEN
  • Side of the board
  • Color of the board And so on

It would be really handy to have a parameter like engine: on or off. Sometime I open a puzzle or a studie directly with the URL, but in some cases the engine is still on from last analysis and it ruins the problem. The fact that it remembers the last state is great, but having the control over the url parameter would be a nice feature.

Let me know if this is possible!

Keep up the good work!

labbeast89 avatar Aug 18 '22 16:08 labbeast89

It is better to ask for a "get engine-disabled link" button in whatever place you'd like it. Being able to configure engine settings via URL is not very useful (on its own) for discoverability reasons.

schlawg avatar Aug 26 '22 13:08 schlawg

I understand your point. To me it can be defined somewhere else in the website documentation similar to the parameters in the webmasters/developpers section of the site: Lichess-Webmaster

labbeast89 avatar Aug 30 '22 14:08 labbeast89

Make the case that this would be useful to users who are not labbeast89. If there is a case, shouldn't the feature be discoverable without browsing developer params?

schlawg avatar Aug 30 '22 14:08 schlawg

Userful to other users:

Sites like chessvision.ai could use it to prevent the engine automatically turn on and spoil problems/studies, people are asking for ways to prevent engine from automatically turning on:

Keep engine off - Forum - Lichess

Discoverable You are 100% correct, it is better if it's easily discoverable.

labbeast89 avatar Aug 31 '22 13:08 labbeast89

For security reasons, an URL parameter should only be able to disable, never enable.

I personally think opening links in a new tab (where the engine will always be disabled) is good enough, though. That's much quicker than editing the URL, too. If a webmaster wants to link a study as a puzzle, they can already configure the study accordingly (see the forum post).

niklasf avatar Aug 31 '22 17:08 niklasf

Only off is perfectly fine. The general idea, is to use it to quickly load a position with the analysis board and avoid spoiling it with the engine. Thanks for the explanation. I know studies can be used to do that, but in some setup it's way easier to use the analysis board.

labbeast89 avatar Aug 31 '22 20:08 labbeast89