Commit Graph

2061 Commits

Author SHA1 Message Date
Michael Hudson-Doyle ea8f97491f delete old ErrorView 2018-06-22 09:34:02 +12:00
Michael Hudson-Doyle 16f68dd994
Merge pull request #370 from mwhudson/table-tweaks
Some tweaks to the table widget. Also build forms out of Tables.
2018-06-21 21:15:56 +12:00
Michael Hudson-Doyle 0e2d376ed0 build a form out of tables 2018-06-21 21:07:02 +12:00
Michael Hudson-Doyle 7093006711 fix binding more than two tables 2018-06-21 20:48:08 +12:00
Michael Hudson-Doyle 88e23fce54 fix distribution of space when widening columns to accommodate a colspan>1 column 2018-06-21 16:07:00 +12:00
Michael Hudson-Doyle f09696862a add a column option to allow a column to take available space 2018-06-21 16:07:00 +12:00
Michael Hudson-Doyle 8eb21bce72 split Table into TablePile and TableListBox
and get rid of that confusing container_maker thing
2018-06-21 16:07:00 +12:00
Michael Hudson-Doyle 119f40b72d
Merge pull request #369 from mwhudson/form-simplify
simplify the way forms are turned into widgets
2018-06-21 16:06:47 +12:00
Michael Hudson-Doyle f037ebd586 add lost_focus/gained_focus to our WidgetWrap 2018-06-21 15:39:14 +12:00
Michael Hudson-Doyle 99dd12f870 simplify how forms are built 2018-06-21 15:38:02 +12:00
Michael Hudson-Doyle ed86028dd2 provide a way for a field to opt out of default styling 2018-06-21 15:37:19 +12:00
Michael Hudson-Doyle 19d43c19c7 make field an ABC 2018-06-21 15:37:19 +12:00
Michael Hudson-Doyle ba809a9e97 simplify how form widgets get styled 2018-06-21 15:37:19 +12:00
Michael Hudson-Doyle 59da0e717b make Toggleable simpler and more robust 2018-06-21 15:37:15 +12:00
Michael Hudson-Doyle eee758d382 update STYLE_NAMES to match the styles that are currently defined 2018-06-21 12:09:40 +12:00
Michael Hudson-Doyle 76835c40ab sort STYLE_NAMES constructor 2018-06-21 12:09:40 +12:00
Michael Hudson-Doyle 4adbd7d0af add colon to partition size field caption 2018-06-21 12:09:22 +12:00
Michael Hudson-Doyle 84c61383eb
Merge pull request #368 from mwhudson/design-feedback
address feedback from design
2018-06-21 09:25:24 +12:00
Michael Hudson-Doyle e5214b2871 change cancel button to back on maas region/rack set up forms 2018-06-20 09:17:49 +12:00
Michael Hudson-Doyle 8680786da3 make inputs on keyboard and welcome page of consistent width 2018-06-20 09:17:49 +12:00
Michael Hudson-Doyle 9e33874a86
Merge pull request #366 from mwhudson/mwhudson/scrollbar-tweaks
make scrollbar less intrusive
2018-06-20 08:47:56 +12:00
Michael Hudson-Doyle 7a5511ea03
Merge pull request #367 from mwhudson/size-mess
account for GPT overhead in a better place
2018-06-20 08:38:44 +12:00
Michael Hudson-Doyle d52823c68f use a less ambiguous way of specifying a device in answers 2018-06-19 23:49:34 +12:00
Michael Hudson-Doyle df1234be70 restore Disk.size to returning the full size of the disk
account for the GPT overhead in the new renamed Disk.free_for_partitions
2018-06-19 23:43:55 +12:00
Michael Hudson-Doyle e1488d9774 reintroduce filtering out of small devices
at a somewhat more fundamental level this time
2018-06-19 23:14:23 +12:00
Michael Hudson-Doyle d1f57b54d2
Merge pull request #363 from mwhudson/rework-fs-views
modernize filesystem views
2018-06-19 11:48:42 +12:00
Michael Hudson-Doyle 2f320f691a show format and mount of partition being deleted 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 149df0de2a answers support for not submitting a form, deleting things 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 650b185920 add an answers file that creates a swap partition 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 1cdfea174d add some validation of curtin config generated from answers 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 4f55f803d6 add support for driving the filesystem UI via answers 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle d7add31d77 future proofing 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle f115a32edd create mounts for swap when the fs gets created 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 3eff761284 add a "Make boot device" action
also future proof against adding the boot partition to e.g. RAID
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 1cae2592e0 reimplement device actions in a less boilerplatey fashion 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle de3ae13592 fix obscure focus bug
there was a sequence of events that left focus on a non-selectable widget
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 6f7bbf9f15 use screen() helper 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 53db9bf729 remove dead view 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 68c49e5135 add some super basic filesystem tests, fix partition tests 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle e2dadb4da2 enable/disable done button as needed 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 48efa764b9 remove delete partition button from edit partition dialog 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 2459f585a8 implementing deleting a partition via the context menu 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle e11e02f89d refactor action callbacks a bit 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle e9e4d3e5c9 add and use FormatEntireStretchy 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle da17180708 move adding/editing a partition to a dialog 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle b464323606 move disk info into dialog 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 3051252103 move device lists to separate class too 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 24788c5c9a move filesystem summary to separate view 2018-06-19 11:43:58 +12:00
Michael Hudson-Doyle de80a06f47 add actionmenu widget 2018-06-18 21:36:35 +12:00
Michael Hudson-Doyle 77a693c4fc introduce DeviceAction enum and supports_action methods 2018-06-18 21:36:35 +12:00