Commit Graph

2640 Commits

Author SHA1 Message Date
Dimitri John Ledkov 4a451fe0e3 Unbreak F1 2019-10-02 12:49:40 +01:00
Michael Hudson-Doyle 8ca8bcf579
Merge pull request #541 from mwhudson/add-help-menu
Add help menu
2019-10-02 11:01:48 +13:00
Michael Hudson-Doyle 12a8ff3445 leave the help menu focusable while help content is showing 2019-10-02 10:51:56 +13:00
Michael Hudson-Doyle 9ece5d2222 implement local documentation 2019-10-02 10:51:34 +13:00
Michael Hudson-Doyle 6944637b7b minor about wordsmithing 2019-10-02 10:51:12 +13:00
Michael Hudson-Doyle 85338ff834 help on shortcut keys 2019-10-02 10:50:49 +13:00
Michael Hudson-Doyle 8d97a6be80 make f1 open help menu 2019-10-02 10:50:27 +13:00
Michael Hudson-Doyle efe24c7c6a make "about" menu item do something 2019-10-02 10:50:05 +13:00
Michael Hudson-Doyle 5470a8adf3 nerdery around displaying menu dividers more neatly 2019-10-02 10:49:43 +13:00
Michael Hudson-Doyle 2e03caa805 have escape close the menu 2019-10-02 10:49:20 +13:00
Michael Hudson-Doyle 0c4d809c05 Have the help button open a help menu.
None of the items do anything yet though.
2019-10-02 10:48:58 +13:00
Michael Hudson-Doyle 70bb4ab5dd add [ Help ] button to header 2019-10-02 10:48:35 +13:00
Michael Hudson-Doyle 3450078f4b
Merge pull request #542 from mwhudson/log-file-per-pid
create one log file per invocation
2019-10-02 10:29:25 +13:00
Michael Hudson-Doyle 26a24c9043
Merge pull request #544 from mwhudson/run_command_in_foreground-fix
fix run_command_in_foreground to disconnect from stdin while in background
2019-10-02 09:38:55 +13:00
Michael Hudson-Doyle 93732dfb73 fix run_command_in_foreground to disconnect from stdin while in backgound
Not sure how I didn't notice this when implementing it for the first
time but well. This is all fairly confusing.
2019-09-30 16:26:24 +13:00
Michael Hudson-Doyle fb6ea590a5 still create a subiquity-debug.log symlink 2019-09-30 16:21:42 +13:00
Michael Hudson-Doyle 296d512039
Merge pull request #543 from mwhudson/curtin-ubuntu-devel
go back to getting curtin from ubuntu/devel branch
2019-09-30 16:12:31 +13:00
Michael Hudson-Doyle 88946c3c85 go back to getting curtin from ubuntu/devel branch 2019-09-30 14:58:48 +13:00
Michael Hudson-Doyle 7c1154b758 create one log file per invocation
Log to subiquity-debug.log.$PID instead of just subiquity-debug.log.

When we implement error reports we'll obviously attach the log to the
error report. There's no point adding log messages from previous runs of
subiquity.
2019-09-30 13:47:56 +13:00
Michael Hudson-Doyle f69a393380
Merge pull request #540 from mwhudson/remove-footer
remove footer, make header narrower
2019-09-30 09:38:27 +13:00
Michael Hudson-Doyle 2581e8e0f9 fix about the only screen that does not use the screen() helper 2019-09-30 09:32:23 +13:00
Michael Hudson-Doyle 401618bfff stop snap details using the frame header 2019-09-30 09:32:23 +13:00
Michael Hudson-Doyle a2ccb0cd9e remove all remaining footer-related things 2019-09-30 09:32:23 +13:00
Michael Hudson-Doyle a96c5c8805 Make header narrower, move right_icon into header. 2019-09-30 09:32:07 +13:00
Michael Hudson-Doyle d8d5b2e265 remove the footer 2019-09-27 14:31:34 +12:00
Michael Hudson-Doyle f78760101f Move guidance on what to do next on filesystem screen out of the footer. 2019-09-27 14:31:34 +12:00
Michael Hudson-Doyle c442a166ca
Merge pull request #537 from mwhudson/log-sanity
clean up logging a touch
2019-09-26 11:57:27 +12:00
Michael Hudson-Doyle f82864ef72
Merge pull request #538 from mwhudson/move-stretchy-signals
move stretchy signals from overlay to stretchy itself
2019-09-25 16:31:11 +12:00
Michael Hudson-Doyle cff9b057d4
Merge pull request #539 from mwhudson/dont-call-default
update a few leftover calls to controller.default()
2019-09-25 14:24:29 +12:00
Michael Hudson-Doyle 130c95f5c7 update a few leftover calls to controller.default() 2019-09-25 14:01:56 +12:00
Michael Hudson-Doyle 947f14a0af move stretchy signals from overlay to stretchy itself
Also add overridable opened/closed hooks.
2019-09-12 21:36:40 +12:00
Michael Hudson-Doyle ce66777bd4 give filesystem actions a nicer __repr__ 2019-09-09 15:42:24 +12:00
Michael Hudson-Doyle d0151deec0 some more logging statements to follow user around the ui a little more 2019-09-09 15:33:45 +12:00
Michael Hudson-Doyle b6bf3fcc42 a bit too much effort making one particular log statement look nice 2019-09-09 15:32:49 +12:00
Michael Hudson-Doyle 0eb4dcfdfb more logging tweaks 2019-09-09 15:27:56 +12:00
Michael Hudson-Doyle ca6ebf84f4 only call is_linux_tty once 2019-09-09 15:27:34 +12:00
Michael Hudson-Doyle b24dbf7095 remove environment_check stuff 2019-09-09 15:27:29 +12:00
Michael Hudson-Doyle 5dca5e861e remove some pointless wrapping of exceptions 2019-09-09 14:30:49 +12:00
Michael Hudson-Doyle 3d9cbeac95 light sanitization of log statements 2019-09-09 14:28:48 +12:00
Dimitri John Ledkov 8e29d93293 Switch dependencies from probert, to probert-storage and
probert-network as needed. Reduces dependencies in core20 snap.
2019-09-06 12:19:26 +01:00
Dimitri John Ledkov de09c6e37a
Merge pull request #535 from mwhudson/font-blocks
Add UPPER HALF BLOCK and LOWER HALF BLOCK to subiquity's console font
2019-09-05 14:36:49 +01:00
Dimitri John Ledkov 25ed1e281f
Merge pull request #533 from mwhudson/app-specific-uis
allow the application to have a widget in the bottom right
2019-09-05 14:36:12 +01:00
Dimitri John Ledkov 0a1a9faa12
Merge pull request #534 from mwhudson/overlay-close-signal
define a 'closed' signal on StretchyOverlay
2019-09-05 14:34:38 +01:00
Michael Hudson-Doyle ea258973fc define a 'closed' signal on StretchyOverlay
And return the overlay from show_stretchy_overlay, so you can do things
when the overlay is closed.

Will be used by the help-showing stuff.
2019-09-05 12:30:03 +12:00
Michael Hudson-Doyle 3c2fd87e9b Allow the UI to have a widget in the bottom right of the screen
This will be a help button in subiquity soon.
2019-09-05 12:22:56 +12:00
Michael Hudson-Doyle 3f8c005237 allow console_conf and subiquity to use different UI classes
Subiquity is going to grow some global UI elements that console_conf
does not want.
2019-09-05 11:58:25 +12:00
Michael Hudson-Doyle e9c56d65f0
Merge pull request #531 from mwhudson/controller-refactors
refactor some controller stuff
2019-09-04 22:38:38 +12:00
Michael Hudson-Doyle c1e973fe1e Add Controller.showing helper 2019-09-04 15:21:26 +12:00
Michael Hudson-Doyle 9a05653150 Tweak Controller API
* rename 'default' method to 'start_ui'
 * add 'end_ui' hook
 * add Application.cur_controller helper
2019-09-04 15:18:45 +12:00
Michael Hudson-Doyle 3605514d30 extract some methods out of Application.run 2019-09-03 13:14:17 +12:00