Skip to content

Initial Screen abstraction layer #801

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
3 tasks done
Tracked by #800
jvalkeal opened this issue Jul 7, 2023 · 0 comments
Closed
3 tasks done
Tracked by #800

Initial Screen abstraction layer #801

jvalkeal opened this issue Jul 7, 2023 · 0 comments
Assignees
Labels
area/components-view Belongs ui view components
Milestone

Comments

@jvalkeal
Copy link
Contributor

jvalkeal commented Jul 7, 2023

One issue when prototyping how a "view" gets drawn into something what JLine understands is trouble not exposing too much low level logic for terminal styles and ansi magic into a "view" stuff itself. It looks like it's better to have a "Screen" interface which is more suitable for needs from a "views" and then translate this into something what JLine is able to eat.

  • Can draw borders
  • Can handle cursor visibility
  • Can draw text
@jvalkeal jvalkeal added the area/components-view Belongs ui view components label Jul 7, 2023
@jvalkeal jvalkeal added this to the 3.2.0-M1 milestone Jul 7, 2023
@jvalkeal jvalkeal changed the title Screen abstraction layer Initial Screen abstraction layer Jul 7, 2023
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue Jul 15, 2023
- This commit adds proof of concept work for terminal ui as is.
- Some things work, some don't but we need to start from somewhere.
  Further development continues in a main.
- Essentially we are starting to have enough so that it merits to
  move all this work into a main repo.
- Everything new is kept under org.springframework.shell.component.view
  and will get revisiter later to find correct locations for some classes.
- Catalog sample has been modified to provide "showcase" app for
  terminal ui features. This is a start while it already contains
  some usefull scenarios.
- Relates spring-projects#800
- Relates spring-projects#801
- Relates spring-projects#802
- Relates spring-projects#803
- Relates spring-projects#804
- Relates spring-projects#805
- Relates spring-projects#806
- Relates spring-projects#807
- Relates spring-projects#808
- Relates spring-projects#809
- Relates spring-projects#810
- Relates spring-projects#811
@jvalkeal jvalkeal self-assigned this Jul 15, 2023
@jvalkeal jvalkeal mentioned this issue Jul 22, 2023
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components-view Belongs ui view components
Projects
None yet
Development

No branches or pull requests

1 participant