Commit Graph

177 Commits

Author SHA1 Message Date
Stephen Lawrence
efc80bb74f Clarifying the confusing note 2024-01-16 23:55:10 -08:00
Janne Valkealahti
a37bd6ad5a Fix alias handling with @Command annotation
- Revisit how alias commands are added using
  @Command annotation when using if/or on class
  and/or method level.
- With this change alias handling is more logical
  and there's better tests and docs.
- Fixes #945
2024-01-13 12:20:06 +00:00
Janne Valkealahti
c0301933fd Add custom local antora playbook 2024-01-13 12:10:13 +00:00
Janne Valkealahti
1f027b8a7d Remove unused wrong workflow file 2024-01-12 15:30:02 +00:00
Janne Valkealahti
977faade68 Polish build docs 2024-01-02 17:06:34 +00:00
Janne Valkealahti
56dffe0223 Add SelectItem to flow single selector api
- This change makes single/multi same on an api level
  where single selector used key/value map and multi
  selector used list of SelectItem's.
- We still keep use of map on a single select but those
  essentially go directly via SelectItem's.
- Fixes #946
2023-12-18 10:03:36 +00:00
Janne Valkealahti
90df641750 Update hotkey docs
- Relates #826
2023-12-10 09:53:20 +00:00
Janne Valkealahti
ead34d69e1 Update modal docs
- Relates #825
2023-11-23 09:08:17 +00:00
Janne Valkealahti
2d29050c34 Make Catalog browsers focusable with shortcuts
- Category and scenario list views can now be focused with
  ctrl+a/ctrl+s.
- Bind all keys with ctrl modifier
- Add "shortcut" concept to views which currently hooks to
  hot keys.
- In a catalog app by using a "shortcut" then takes the key
  event as a hot key, as it consumes resulting behaviour
  is to focus.
- Move view initInternal away from constructor call to
  require user to call init() which is not in a
  View interface
- Relates #826
2023-11-12 16:43:11 +00:00
Janne Valkealahti
a9b1675595 Upgrade antora-extensions 1.8.1
- Relates #922
2023-11-10 09:33:40 +00:00
Janne Valkealahti
8055a7ef4f Polish asciinema casts
- Polishing cast files should also temporarily
  do workaround for #922 until it's fixed on
  antora extension layer.
2023-11-08 10:20:59 +00:00
Janne Valkealahti
ccf6d771d9 Add multiinput scenario
- InputView using viewcommands and has event for text change.
- Experimental way to handle tab navigation in a layout views.
- New viewcommands for tab navigation and moving cursor.
- Mouse click takes focus in AbstractView if no view command
  binding.
- MultiInputViewScenario now shows tab navigation.
- Fixes #917
2023-11-07 08:26:43 +00:00
Janne Valkealahti
bba7a82ab4 Make StatusBarView work with hotkeys
- StatusItem can now define a hotkey which is then
  bound to its action.
- In catalog app replace use of raw key event to
  item's hotkey for status bar visibility.
- Various doc updates.
- Relates #826
2023-10-30 09:31:03 +00:00
Janne Valkealahti
db3f67784a Update docs 2023-10-28 09:16:42 +01:00
Janne Valkealahti
92eb7dd2b7 Relocate message package from view
- Relates #813
2023-10-20 08:48:36 +01:00
Janne Valkealahti
433c1f96f0 Relocate geom package from view
- Relates #813
2023-10-20 08:38:01 +01:00
Janne Valkealahti
d77bcac59c Update docs 2023-10-20 08:07:17 +01:00
Janne Valkealahti
860c8dcb93 Migrate docs shell samples to asciinema
- Update antora settings
- Move cast files and remove old ones
- Switch shell svg's to asciinema
- Fixes #884
2023-10-14 15:45:09 +01:00
Janne Valkealahti
f4eec7b809 Update docs 2023-10-08 15:16:20 +01:00
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
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
af519b5766 Context close docs
- Relates #863
2023-09-12 08:08:39 +03: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
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
Rob Winch
17d0b3b89a Remove includes 2023-08-03 14:58:09 -05:00
Rob Winch
94dccea766 Generate a default navigation 2023-08-03 14:58:09 -05:00
Rob Winch
ce65cf67f6 Fix indentation for all pages 2023-08-03 14:58:09 -05:00
Rob Winch
02964ae385 Copy default antora files 2023-08-03 14:58:09 -05:00
Rob Winch
ca59c54b8a Fix image::image 2023-08-03 11:11:12 -05:00
Rob Winch
f846e7ea07 Insert explicit ids for headers 2023-08-03 11:11:12 -05:00
Rob Winch
9b5ed3a9eb Migrate Structure 2023-08-03 11:11:12 -05:00
Rob Winch
2ba6990f72 Remove unused using-shell-options-generic.adoc 2023-08-03 10:28:09 -05:00
Janne Valkealahti
a0bdbfc033 Initial terminal ui implementation
- 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 #800
- Relates #801
- Relates #802
- Relates #803
- Relates #804
- Relates #805
- Relates #806
- Relates #807
- Relates #808
- Relates #809
- Relates #810
- Relates #811
2023-07-15 16:42:39 +01:00
Janne Valkealahti
6fd1a1c78a Add primary command docs
- Relates #755
2023-07-05 10:34:17 +01:00
Janne Valkealahti
df40964e7b Document CommandNotFoundMessageProvider
- Relates #778
2023-06-23 06:30:30 +01:00
Janne Valkealahti
7f9efd1374 Fix docs for option label
- Relates #732
2023-05-01 17:27:05 +01:00