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

Allow /copy to work with an empty hypothetical #2941

Open
naomiburks opened this issue Apr 24, 2024 · 3 comments
Open

Allow /copy to work with an empty hypothetical #2941

naomiburks opened this issue Apr 24, 2024 · 3 comments

Comments

@naomiburks
Copy link

Is your feature request related to a problem? Please describe.
Sometimes I want to share a deck order (or a slightly modified version of it) from a seed without including any actions. The easiest way I know of is to use /copy on a hypothetical, but the server PMs me "there are no actions in your hypothetical" if I use /copy on an empty hypothetical, even though that is often what I want to do.

Describe the solution you'd like
I would like the site to stop PMing me "there are no actions in your hypothetical" and let me use /copy from the start of the game.

Describe alternatives you've considered
I would be OK if the server PM'd for empty hypotheticals if /copy was not used at the start of the game -- my use case is specifically for /copy without any actions.

Another alternative is to /copy the JSON with an action and then manually remove the action from the JSON, but that does not help with generating a link, which is what I would most often like to do.

@timotree3
Copy link
Collaborator

I believe the motivation for this warning is because you might be trying to copy a whole replay but you didn't realize you needed to skip to the end first. I've hit this message several times and every time it's been because I forgot that the /copy feature was sensitive to the current turn

@jack67889
Copy link

jack67889 commented Apr 24, 2024

The issue is more the other way around. You can’t open a JSON without an action, so it would be rather unpractical to /copy one without.

You can circumvent this with a JSON, by including an “end of game” action, which does nothing in practice.

@Zamiell
Copy link
Collaborator

Zamiell commented Apr 24, 2024

You can’t open a JSON without an action

we should probably fix that?

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

4 participants