Skip to content

UI component model #360

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

Closed
jvalkeal opened this issue Feb 3, 2022 · 1 comment
Closed

UI component model #360

jvalkeal opened this issue Feb 3, 2022 · 1 comment
Milestone

Comments

@jvalkeal
Copy link
Contributor

jvalkeal commented Feb 3, 2022

We want to make it easy to create higher "UI" level components user to interact providing ways to ask various types of inputs like texts and selectors. Essentially what you see in https://github.com/cli/cli and https://github.com/SBoudrias/Inquirer.js.

Value for this is that user don't need to know all low level details about working with console as things get quite complex when working with inputs, ansi escape characters(ie moving cursor) and unicode charaters(something more sophisticated than plain text).

@jvalkeal jvalkeal added this to the 2.1.0-M3 milestone Feb 3, 2022
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue Feb 4, 2022
- Add first preliminary model of building and working with
  higher level components.
- Components for text input, path input, single selector and
  multi selector.
- Components renderings are based on ANTLR ST templates while
  there is support for building rendering output manually.
- Add these into sample.
- This is a base of additional work what goes to these components
  and concepts around it.
- Relates spring-projects#360
jvalkeal added a commit that referenced this issue Feb 4, 2022
- Add first preliminary model of building and working with
  higher level components.
- Components for text input, path input, single selector and
  multi selector.
- Components renderings are based on ANTLR ST templates while
  there is support for building rendering output manually.
- Add these into sample.
- This is a base of additional work what goes to these components
  and concepts around it.
- Relates #360
@jvalkeal
Copy link
Contributor Author

Closing this now as we have basic things under https://github.com/spring-projects/spring-shell/tree/main/spring-shell-core/src/main/java/org/springframework/shell/component.

Docs coming in a separate issue as well as further tweaks.

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