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

Interactive Modal Support #73

Open
jasona opened this issue Mar 24, 2019 · 2 comments
Open

Interactive Modal Support #73

jasona opened this issue Mar 24, 2019 · 2 comments

Comments

@jasona
Copy link

jasona commented Mar 24, 2019

As a MUD owner
I want to be able to generate modal window on the web-client
So that I can create a richer experience for my web-client players

@jasona
Copy link
Author

jasona commented Mar 24, 2019

{
input_id: 1234,
input_type: "MULTIPLE_CHOICE",
prompt_text: "What is the air speed velocity of an unladen swallow?",
options: {"African?", "European?", "What?"}
}

input_types: SHORT_ANSWER, LONG_ANSWER, MULTIPLE_CHOICE, SINGLE_CHOICE, PASSWORD

@jasona
Copy link
Author

jasona commented Mar 24, 2019

Actually, if we can also add:

button_text: "Next>"

That would give me the ability to change the button text on the modal based on context. If I know this is the first step of many in a series of interactive prompts, otherwise the button would just default to "Submit" or something.

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

1 participant