Skip to content

Initial AppView Implementation #807

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 AppView Implementation #807

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

Opinionated app view having main content, menubar and statusbar. Usually this type of container have key bindings for navigating between in a main content. We start with simple left/right arrows.

┌─────────────────────────────┐
│           Menubar           │
├─────────────────────────────┤
│        Main content         │
│                             │
│                             │
├─────────────────────────────┤
│          Statusbar          │
└─────────────────────────────┘
  • Menu system
  • Status system
  • Events for navigation
@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 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 added a commit to jvalkeal/spring-shell that referenced this issue Jul 22, 2023
- Can clear items from a GridView
- Full refactor for AppView now using GridView internally
  and can hide/show menu/status.
- Add function key bindings f1-f10
- Modify catalog app to use new features in an AppView, listen
  F10 key to toggle statusbar visibility.
- Relates spring-projects#805
- Relates spring-projects#807
- Relates spring-projects#811
@jvalkeal jvalkeal mentioned this issue Jul 22, 2023
11 tasks
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue Jul 23, 2023
- Now offering to menu if it has focus so that it
  can do its things. Essentially if menu is visible
  it take keys.
- Relates spring-projects#807
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