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

[Feature]: Add "Cycle" input #112

Open
1 task done
thombruce opened this issue Sep 21, 2024 · 0 comments
Open
1 task done

[Feature]: Add "Cycle" input #112

thombruce opened this issue Sep 21, 2024 · 0 comments
Assignees
Labels
type: enhancement New feature or request

Comments

@thombruce
Copy link
Owner

Feature request

The cycle input would work a lot like a single-option dropdown or radio select input. It would ideally be used in scenarios where only a few options are present, and we'd like a simple means of cycling through them.

It would show the default option and, when clicked, cycle to the next option, then the next, then the next, and cycle back to the default.

A blank option would be permissible, though it would be advised in such cases to have some decoration in order to indicate that the input even exists.

Use case:

I want to be able to cycle through priority options on Toodles: ["", "A", "B", "C"] In this case, a blank option is present but I imagine the decoration indicating something goes here would be the parentheses around the todo priority.

By default, some other decoration should be present; perhaps an arrow, caret or double-caret on either side.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@thombruce thombruce added the type: enhancement New feature or request label Sep 21, 2024
@thombruce thombruce self-assigned this Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant