Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analysis Board - Set engine off with url parameter #11399

Open
labbeast89 opened this issue Aug 18, 2022 · 6 comments
Open

Analysis Board - Set engine off with url parameter #11399

labbeast89 opened this issue Aug 18, 2022 · 6 comments

Comments

@labbeast89
Copy link

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!

@schlawg
Copy link
Collaborator

schlawg commented Aug 26, 2022

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.

@labbeast89
Copy link
Author

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

@schlawg
Copy link
Collaborator

schlawg commented Aug 30, 2022

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?

@labbeast89
Copy link
Author

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.

@niklasf
Copy link
Member

niklasf commented Aug 31, 2022

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 niklasf changed the title Analysis Board - Set engine on and off with url parameter Analysis Board - Set engine off with url parameter Aug 31, 2022
@labbeast89
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants