Commit graph

137 commits

Author SHA1 Message Date
jlewin
5830f7efb3 Simplify with tuples 2019-05-09 17:26:59 -07:00
jlewin
d6b60e6149 Use named variable to better portray logic 2019-05-09 17:25:47 -07:00
jlewin
cd68156478 Use named variables to better portray logic 2019-05-09 17:25:46 -07:00
jlewin
40721ba1c2 Fix automation test issues 2019-05-09 14:34:55 -07:00
jlewin
3c905c039b Ensure previous page is closed in ChangeToPage 2019-05-09 13:32:04 -07:00
jlewin
7bce7dff9b Suppress ClosePage behavior if close aborted 2019-05-09 13:29:44 -07:00
jlewin
f2bf0c5005 Add abort calibration confirmation via DialogWindow OnClosing 2019-05-09 13:28:37 -07:00
jlewin
2d3f71ba28 Extract AllowCancel 2019-05-09 13:26:11 -07:00
jlewin
4f776abc41 Add abort calibration confirmation via OnCancel 2019-05-09 13:25:31 -07:00
jlewin
e32b276f09 Extract navigate home behavior to reusable method 2019-05-09 11:54:56 -07:00
jlewin
4d45ece99a Leave keybinding in place until widget close 2019-05-09 11:46:26 -07:00
jlewin
b1a2cf2d70 Revise keybinding to support unregister in OnClosed 2019-05-09 11:43:51 -07:00
jlewin
568e1bfeca Restore CopyGuestProfileToUser - sequence into signin/print flows
- Issue MatterHackers/MCCentral#5445
Setup a printer without being logged in and lost all the settings
after logging in
2019-05-07 15:58:29 -07:00
jlewin
5d6c863ced Remove unused SelectActivePrinterPage 2019-05-07 15:58:29 -07:00
jlewin
728a2c421b Open printer if count == 1 2019-05-07 15:58:29 -07:00
jlewin
57b3bf0ca4 Ensure NextIncompleteStage moves to a valid page
- Issue MatterHackers/MCCentral#5429
Says to re-calibrate but doesn't show what to re-calibrate.
2019-05-01 15:45:53 -07:00
jlewin
778d83d2bc Lock down wizard left-nav unless on homepage
- Issue MatterHackers/MCCentral#5377
2019-04-24 16:59:40 -07:00
jlewin
c0be9df31e Improve naming 2019-04-24 16:59:40 -07:00
John Lewin
c6ef31075d Click Print Leveling to continue 2019-04-15 21:04:28 -07:00
jlewin
d0d2317600 Reuse LoadFilamentWizard in XYCalibrationWizard
MatterHackers/MCCentral#5266
XYCalibration Wizard should include LoadFilament pages if materials
are unknown
2019-04-15 16:07:01 -07:00
jlewin
584cbc88e7 Only move to enabled stages
- Issue MatterHackers/MCCentral#5279
Staged wizard next button advances to stage which is not active
2019-04-09 16:17:28 -07:00
jlewin
a2fc4b916a Add support for launching into next incomplete stage 2019-04-04 17:26:34 -07:00
jlewin
50e2419d72 Improve support for StagedSetupWizards 2019-04-04 17:26:34 -07:00
jlewin
4f3fbba14d Replace RunAnyRequiredPrinterSetup with Wizard.NextIncompleteStage() 2019-04-04 17:26:34 -07:00
John Lewin
f19c270e52 Update method name to match current behavior 2019-04-04 12:04:08 -07:00
jlewin
489ad473e1 Improve code conformance 2019-04-03 09:27:07 -07:00
jlewin
c562d72de0 Extract embedded type to new file 2019-04-03 09:27:07 -07:00
jlewin
44f56561d7 Move fixed size to caller 2019-03-25 17:46:13 -07:00
jlewin
016e58be39 Fix resize regression in AboutPage
- Issue MatterHackers/MCCentral#5209
About page has bad size
2019-03-25 17:46:00 -07:00
jlewin
8627c96902 Eliminate advance to next incomplete stage on Cancel
- Restore at a later point with dedicated Finish action
2019-03-22 14:53:24 -07:00
jlewin
df803eb9eb Remove enumerator manipulation in constructor 2019-03-22 14:53:20 -07:00
jlewin
0163cf6849 Dispose previous wizard when switching between stages
- Issue MatterHackers/MCCentral#5202
SetupWizards should be modified to undo their changes if aborted/
cancelled
2019-03-22 14:53:18 -07:00
jlewin
ab6e10d861 Rename type 2019-03-22 14:19:06 -07:00
jlewin
8ce46e32cb Add Visible/Enabled properties to ISetupWizard
- Add support for filtering out invalid wizards at runtime
- Add support for disabling wizards until requirements are met
2019-03-22 14:19:06 -07:00
jlewin
499d46a686 Require window title to show, use theme colors 2019-03-22 14:19:06 -07:00
jlewin
2c8b06203c Move close logic to DialogWindow for custom effect in Wizards 2019-03-22 14:19:06 -07:00
jlewin
a85d884b60 Add support for detecting/rendering stage completion status 2019-03-22 14:19:06 -07:00
jlewin
e5e0e06326 Add ActiveStage property to control staging 2019-03-22 14:19:06 -07:00
jlewin
2c13c1d4b4 Add mechanism to finish stage and move to next best action 2019-03-22 14:19:06 -07:00
jlewin
bf5ed7439a Allow setup wizard to define custom home page 2019-03-22 14:19:05 -07:00
jlewin
8f6ffb0ec4 Show active stage in left nav bar 2019-03-22 14:19:05 -07:00
jlewin
9a898459e4 Open to empty page 2019-03-22 14:19:05 -07:00
jlewin
61716d98a7 Change ISetupWizard to be IEnumerator<WizardPage>
- Allow for arbitrary navigation in staged wizard window
2019-03-22 14:19:05 -07:00
jlewin
92d4e62de4 Use custom type for wizard stage row 2019-03-22 14:19:05 -07:00
jlewin
d3097dea49 Initial StagedSetupWizard prototype 2019-03-22 14:19:05 -07:00
jlewin
a7a40816ad Add support for custom DialogWindow types 2019-03-22 14:19:05 -07:00
jlewin
4f0b6b0ba9 Change WindowTitle to Title - simple summary of task at hand 2019-03-22 14:19:05 -07:00
jlewin
3f2455c9fa Add support for explicit WindowSize on SetupWizards 2019-03-06 18:03:38 -08:00
jlewin
64090ab10c Add enter key support to SetupWizards, ensure esc works with Focus()
- Issue MatterHackers/MCCentral#5109
Enter/esc keys have no effect in WizardPages
2019-03-01 17:43:04 -08:00
John Lewin
bae0bf9020 Add mechanism to DialogPage to start and show SetupWizards
- Remove special behavior in each SetupWizard for showing Dialogs
- Move initialization code in old Start method into constructors
2019-02-19 11:05:42 -08:00