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

Replace move in study #11844

Open
betabandido opened this issue Nov 5, 2022 · 1 comment
Open

Replace move in study #11844

betabandido opened this issue Nov 5, 2022 · 1 comment

Comments

@betabandido
Copy link

It has happened to me a few times that I create a study for an OTB game I have played, just to find later I have made a "subtle" mistake that forces me to delete dozens of moves. By subtle mistake I mean one such as placing a rook on e1 instead of d1. One that apparently doesn't interfere with the next moves, only to realize 20-30 moves later that the rook is not on the correct square.

It would be great to be able to "fix" (or replace) that move without needing to enter all the moves after it again. I understand there should be a way to deal with cases where fixing a move renders some of the following moves invalid. But I can imagine different workarounds to cope with such cases.

If you agree this is an interesting feature to add, I'd be glad to do the PR myself, but I might need some help, as I have never contributed to lichess before, and I am not familiar with the tech stack used.

@benediktwerner
Copy link
Member

Hm, this seems a bit difficult to do nicely. Not sure if it's useful/frequent enough to be worth it?

One somewhat easy way to fix it that you can do already is to simply export the PGN, edit the move, and import it again.

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

2 participants