Commit Graph

884 Commits

Author SHA1 Message Date
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
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
0dbe51056d Polish 2023-08-02 09:05:23 +01:00
Greg Cooper
c5145a2fe6 Do not include timestamp for buildInfo. 2023-08-02 08:51:35 +01:00
Janne Valkealahti
4a56d2a886 Support initial checked state
- In MenuView initial check state can be set.
- Relates #832
2023-08-02 07:42:25 +01:00
Janne Valkealahti
e149dfaf14 Add better checked support in MenuView
- Keeping checked states outside of items.
- Revamp generic structure
- Can toggle item checked states
- Relates #832
2023-07-30 08:25:33 +01:00
Janne Valkealahti
43ccccaeab Upgrade gradle 8.3.0-RC2
- Fixes #837
2023-07-28 14:48:53 +01:00
Janne Valkealahti
1b7003cccc Update nexus timeouts 2023-07-26 12:44:18 +01:00
Janne Valkealahti
a024958e66 Update nexus workflows 2023-07-26 12:07:31 +01:00
MJ Gallego
b9180ba899 Completion proposal support for complete jline parameter
- to allow completing single argument with multiple tab clicks,
  for example file paths.
- Fixes #512
2023-07-25 09:11:34 +01:00
Janne Valkealahti
a4edc4e16f Polish 2023-07-23 14:19:48 +01:00
Janne Valkealahti
fe8c8646a1 Mouse click selects in ListView
- Add binding to click and select item from index
  if it's in bounds.
- Relates #806
2023-07-23 14:05:09 +01:00
Janne Valkealahti
d4bfe610a9 Fix key handling in AppView
- Now offering to menu if it has focus so that it
  can do its things. Essentially if menu is visible
  it take keys.
- Relates #807
2023-07-23 09:04:29 +01:00
Janne Valkealahti
3a2d7d4817 Restore focus after returning from scenario
- Relates #811
2023-07-22 17:27:21 +01:00
Janne Valkealahti
4b927be807 Hide statusbar in a catalog app
- 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 #805
- Relates #807
- Relates #811
2023-07-22 14:21:10 +01:00
Janne Valkealahti
cd77272091 Add test for GridView row layout
- Relates #805
2023-07-22 07:52:42 +01:00
Janne Valkealahti
a19a50b3f3 Polish GridView
- Add some new tests
- Add javadocs
- Relates #805
2023-07-21 18:06:57 +01:00
Janne Valkealahti
c074af314b Add focused color and style for BoxView title
- May define focused color and style for title
  which overrides normal color and style if set.
- Use these in a catalog app.
- Relates #804
2023-07-21 09:26:31 +01:00
Janne Valkealahti
748f41103d Fix removed deprecation
- Fix property values which doesn't exist in gradle zip task anymore.
- Relates #821
2023-07-21 08:09:24 +01:00
Janne Valkealahti
9de09995de Upgrade spring-boot 3.2.0-M1
- Fixes #787
2023-07-20 18:45:41 +01:00
Janne Valkealahti
a55034e454 Remove unused repo from buildSrc 2023-07-20 18:45:33 +01:00
Janne Valkealahti
0b08e98128 Create docsarchive configuration before convention
- Zip dist didn't get published and looks like docsarchive
  needs to exist before ArtifactoryConventions is applied.
- Relates #821
2023-07-20 17:11:12 +01:00