Janne Valkealahti
edddc0b2e8
Update docs
2023-10-07 15:35:42 +01:00
Janne Valkealahti
923498bbcf
Update docs
2023-10-07 15:23:24 +01:00
Janne Valkealahti
8716774236
Enhance TerminalUI eventing
...
- New methods in an eventloop and message builder
- Generic polish to use these methods
- Relates #761
2023-10-07 14:56:54 +01:00
Janne Valkealahti
9a5f189783
Update docs
2023-10-07 08:09:51 +01:00
Janne Valkealahti
2e95fccbd5
Update docs
2023-10-06 17:25:34 +01:00
Janne Valkealahti
6f7eac435a
Update docs
2023-10-06 17:07:16 +01:00
Janne Valkealahti
2819c1d367
Update docs
2023-10-06 16:39:50 +01:00
Janne Valkealahti
825db92117
Update docs
2023-10-06 15:58:56 +01:00
Janne Valkealahti
1417e33f92
Update docs
2023-10-06 15:34:37 +01:00
Janne Valkealahti
89a829cfef
Update docs
2023-10-06 13:40:48 +01:00
Janne Valkealahti
6dd038830f
Fix wrong groupId in docs
...
- Fixes #852
2023-09-25 09:09:19 +01:00
Janne Valkealahti
c18c482ad2
Update readme
2023-09-24 09:05:19 +01:00
Janne Valkealahti
da529fa277
Make samples native build fully optional
...
- Add springShellSampleNative project property
- Implement generic samples build logic in buildSrc
- Fixes #873
2023-09-24 08:37:32 +01:00
Janne Valkealahti
585125d2e3
TerminalUI can define rootView rect
...
- Add functions to calculate Rectangle for fullscreen/nonfullscreen modes.
- Fixes for rendering so that nonfullscreen works better with views.
- Add some basic samples
- isEmpty method for Rectangle
- Fixes #872
2023-09-22 09:00:22 +01:00
Janne Valkealahti
a79ecbc069
Upgrade spring-boot 3.2.0-M3
...
- Fixes #871
2023-09-21 16:56:24 +01:00
Janne Valkealahti
d58293e700
Support view commands in view
...
- Setup facilities in view system to register commands
with a Runnable to get dispatched into an event loop.
- As first commands, setup ListView with lineDown and
lineUp.
- Expose needed functions into View itself.
- Relates #867
2023-09-21 09:03:58 +01:00
Janne Valkealahti
af519b5766
Context close docs
...
- Relates #863
2023-09-12 08:08:39 +03:00
Janne Valkealahti
2e5264a379
Optionally close context after command logic
...
- spring.shell.context.close=true adds ApplicationListerner
which attempts to close context with ApplicationReadyEvent.
- Relates #863
2023-09-12 08:08:23 +03:00
Janne Valkealahti
51c250608b
Overhaul ListView to support checked states
...
- ListView can be defined to use nocheck, checked or radio
- List can now scroll through up/down
- Actual visual is handled in a DefaultListCell
- Modify/add scenarios and catalog app
- Relates #865
2023-09-09 08:59:37 +03:00
Janne Valkealahti
a679de0067
Add missing ascii keys to KeyEvent
...
- Relates #823
2023-09-09 08:48:17 +03:00
Janne Valkealahti
aa3c580220
Move interrupt message to ShellMessageBuilder
...
- Relates #761
2023-08-30 09:19:35 +03:00
Janne Valkealahti
a3ca69bc72
Non-fullscreen view
...
- ViewComponent can take view and drive it as non-fullscreen
- ViewDoneEvent which InputView now uses
- ComponentUiCommands is a sample where we add ideas for
views in flow components
- Allow View to set eventloop
- Relates #850
2023-08-30 08:38:46 +03:00
Janne Valkealahti
ba691de250
Upgrade gradle 8.3.0
...
- Fixes #861
2023-08-26 08:35:30 +03:00
Janne Valkealahti
e0a366aa81
Upgrade spring-boot 3.2.0-M2
...
- Fixes #860
2023-08-25 09:42:26 +03:00
Janne Valkealahti
ba5ab1a463
Dialog should float
...
- New WindowView which can be partially atop of background.
- DialogView now extends WindowView
- Change dialog in Catalog sample and Dialog scenario
- Relates #825
- Relates #855
2023-08-24 20:02:53 +03:00
Janne Valkealahti
88c1f56c71
Add about dialog to catalog app
...
- Relates #825
2023-08-24 08:46:09 +03:00
Janne Valkealahti
b271c4493c
Fix InputView position and deletion
...
- Fixes #856
2023-08-22 15:05:20 +03:00
Janne Valkealahti
29417d495b
Initial modal integration
...
- Integrate TerminalUI to ViewService and modals
- New Dialog scenario
- Relates #825
2023-08-21 09:37:05 +03:00
Janne Valkealahti
f9283ae83b
Fix tests for ButtonView
...
- Relates #854
2023-08-21 09:27:18 +03:00
Janne Valkealahti
75765fc1ea
Add missing changes for tests
...
- Relates #854
2023-08-21 09:07:42 +03:00
Janne Valkealahti
c667b8e7b2
Initial DialogView
...
- Relates #855
2023-08-21 09:05:35 +03:00
Janne Valkealahti
50806589bc
Add ViewService interface
...
- Service interface with holds access to modal
methods. To get used by views which i.e.
want to show modal dialogs.
- Relates #825
2023-08-21 09:01:37 +03:00
Janne Valkealahti
55096a5d77
Initial ButtonView
...
- Relates #854
2023-08-21 08:56:52 +03:00
Janne Valkealahti
8363c953ed
Fix screen text align
...
- Better calculation of center with horizontal
and vertical positions.
- Fixes #853
2023-08-19 08:19:07 +03:00
Janne Valkealahti
7391d0d24f
Initial hotkey infra
...
- Duplicate keyhandler into hotkeyhandler
- Define some view to handle hot keys, like AppView and MenuBarView
- Catalog app binds some menus to hot keys
- Bind all normal keys a-z with alt
- Relates #823
- Relates #826
2023-08-10 08:27:49 +01:00
Janne Valkealahti
9e6da01351
Update labels
2023-08-06 13:04:50 +01:00
Janne Valkealahti
5e40ac3815
Move AbstractControl one level up
...
- Relates #813
2023-08-06 12:57:34 +01:00
Janne Valkealahti
e447826a93
Polish
2023-08-06 12:37:59 +01:00
Janne Valkealahti
3704933d1e
Better unicode handling
...
- Pass raw input into KeyEvent if it comes as unicode from jline
- Fixes in InputView to handle wide chars and cursor position
- Fixes #845
2023-08-06 07:22:09 +01:00
Janne Valkealahti
b897886527
Upgrade gradle 8.3.0-RC3
...
- Fixes #846
2023-08-05 15:50:28 +01:00
Janne Valkealahti
787d09e2b0
Downgrade node in antora build
...
- Mostly to make it easier for those who can't yet use node 18.
2023-08-04 15:20:23 +01:00
Janne Valkealahti
ef713638b2
Base theming for views
...
- Control is now aware of active theme name and resolver.
- Theme some settings in BoxView, ListView and MenuView.
- Overhaul scenario system to make it work with themes.
- Add new "background" StyleSetting.
- Relates #824
2023-08-04 14:19:33 +01:00
Rob Winch
55692735e6
Add deploy-docs.yml
2023-08-03 15:25:32 -05:00
Rob Winch
1d7077bf52
Migrate to Asciidoctor Tabs
2023-08-03 15:25:32 -05:00
Rob Winch
b69312c683
Polish nav.adoc
2023-08-03 15:25:32 -05:00
Rob Winch
d0cd904f38
Escape {} for non asciidoc attributes
2023-08-03 15:25:32 -05:00
Rob Winch
f8256d0671
Add symlink
2023-08-03 15:25:32 -05:00
Rob Winch
bd08352020
Add Antora Gradle Build
2023-08-03 15:25:19 -05:00
Rob Winch
2ee3fff367
Enable Section Summary TOC for small pages
2023-08-03 14:58:09 -05:00
Rob Winch
d1105f5b8e
Fix cross references
2023-08-03 14:58:09 -05:00