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 "prompt the user to choose" apply to one or more options. #376

Merged
merged 4 commits into from
May 23, 2022

Conversation

miketaylr
Copy link
Member

@miketaylr miketaylr commented Apr 8, 2022

closes #375

A PR for discussion. PTAL @marcoscaceres


💥 Error: 500 Internal Server Error 💥

PR Preview failed to build. (Last tried on May 23, 2022, 6:26 PM UTC).

More

PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

🚨 Spec Generator - Spec Generator is the web service used to build specs that rely on ReSpec.

🔗 Related URL

📡 HTTP Error 404: http://labs.w3.org/spec-generator/uploads/OUQ0MZ

If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
@miketaylr
Copy link
Member Author

(thanks both, will get back to this ASAP)

@miketaylr
Copy link
Member Author

OK, re-worked it a bit to take a boolean "allowMultiple". It seems sensible to restrict to one choice in the default case, but allow any number of choices in the non-default case. PTAL @marcoscaceres @jyasskin

Copy link
Member

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good. Let's go with it.

index.html Outdated Show resolved Hide resolved
Co-authored-by: Jeffrey Yasskin <jyasskin@gmail.com>
@miketaylr
Copy link
Member Author

Thanks for the feedback @jyasskin and @marcoscaceres! 🙇‍♂️

@miketaylr miketaylr merged commit ccee19d into w3c:main May 23, 2022
@miketaylr miketaylr deleted the issues/375/1 branch May 23, 2022 19:28
github-actions bot added a commit that referenced this pull request May 23, 2022
SHA: ccee19d
Reason: push, by @miketaylr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit to miketaylr/permissions that referenced this pull request May 25, 2022
)

SHA: ccee19d
Reason: push, by @miketaylr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

"Prompt the user to choose" should let caller decide how many results are allowed.
3 participants