Commit graph

297 commits

Author SHA1 Message Date
John Lewin
220385d9ed Always validate first_layer_height 2019-01-04 22:21:34 -08:00
John Lewin
fe49c138da Simplify validation error reporting with conventions
- Add SettingsValidationError type with Location logic
2019-01-04 21:59:59 -08:00
John Lewin
e96f943cd0 Extract literal strings to SettingsKey 2019-01-04 21:46:22 -08:00
John Lewin
379e86c0e5 Inline local variable 2019-01-04 21:25:04 -08:00
John Lewin
b6767c6022 Revise naming 2019-01-04 21:24:35 -08:00
John Lewin
7fa590ffd6 Validate passed in field rather than hard-coded start_gcode 2019-01-04 21:23:36 -08:00
John Lewin
d6bcb515ce Change SettingsValid to ValidateSettings extension method 2019-01-04 18:27:14 -08:00
John Lewin
b304519061 Simplify concatenation 2019-01-04 18:13:33 -08:00
John Lewin
3a6cbb3c90 Extract reusable ShowValidationErrors method 2019-01-04 18:06:34 -08:00
John Lewin
a3cc4c8f96 Remove additional presentation data from validation errors
- Add location property
- Have caller concatenate Location with Details
2019-01-04 17:49:58 -08:00
John Lewin
063db01796 Reduce presentation data in validation errors
- Add ValidationError type to hold validation results
- Change validation to return lists of ValidationErrors
2019-01-04 17:09:42 -08:00
John Lewin
76be3140fe Change AnyPrintTaskRunning to be true while PreparingToPrint
- Issue MatterHackers/MCCentral#4789
Do not allow sign in/out while printing
2019-01-04 11:43:03 -08:00
Lars Brubaker
c079a9592f Made Styled Message Box have scroll
Made multiple errors display better
2019-01-03 17:08:49 -08:00
Lars Brubaker
34b57c43b0 Making error messages coming back as list
fixing regression with dialog window showing as markdown (there were
assumptions on it not being markdown)
2019-01-03 16:58:05 -08:00
Lars Brubaker
45b1a32e03 removing MS auto support generation 2019-01-03 16:05:02 -08:00
LarsBrubaker
e713d9cdd6 Improving TransformWrapper interface and usage 2019-01-01 16:00:59 -08:00
Lars Brubaker
00e95316b2 Working on new support generation 2018-12-31 12:12:14 -08:00
Lars Brubaker
5cc271e508 Working on new auto support feature 2018-12-31 09:12:49 -08:00
LarsBrubaker
4521b07459 Allowing combine to work on a single item if it has multiple meshes. 2018-12-31 07:57:46 -08:00
John Lewin
a89567dea5 Revise namespace, use new Tour scope 2018-12-30 10:54:54 -08:00
John Lewin
1b38f6dddf Extract tour navigation logic to dedicated type 2018-12-30 09:05:08 -08:00
John Lewin
c23eef58ca Fix whitespace 2018-12-29 12:57:00 -08:00
John Lewin
c6af70a2e2 Add NonPrintable attribute to opt types out of slicing/printing 2018-12-29 12:33:01 -08:00
John Lewin
9381e53df8 Improve icon consistency 2018-12-28 18:28:30 -08:00
Lars Brubaker
83fd3423ec Working on new supports
refactoring tour classes
2018-12-28 16:00:30 -08:00
John Lewin
7965d96875 Only create one workspace per printer
- Issue MatterHackers/MCCentral#4746
Only load first workspace assigned to a given printer
2018-12-27 16:30:34 -08:00
John Lewin
bedc0ab413 Close connection on printer tab close
- Issue MatterHackers/MCCentral#4752
Printer still connected and printing after tab is closed
2018-12-26 16:42:48 -08:00
John Lewin
0d111a09a3 Persist user workspaces on signout, guest workspaces on signin
- Issue MatterHackers/MCCentral#4699
Bed plate should be saved on sign out
2018-12-26 15:51:00 -08:00
John Lewin
f88b04b7bc Change from KeywordFilter property to ICustomSearch 2018-12-24 12:45:35 -08:00
John Lewin
f06e67a65e Use EventHandler<StringEventArgs> for SettingChanged event
- Issue MatterHackers/MCCentral#4730
Event should declare specialized EventArgs used via EventHandler<T>
2018-12-21 18:37:11 -08:00
John Lewin
801363fe49 ReloadAll should not rebuild workspaces
- Issue MatterHackers/MCCentral#4704
2018-12-19 15:53:54 -08:00
John Lewin
2ff5ddbf95 Use local this reference instead of ApplicationController.Instance
Simplify to prevent insidious bugs during construction
2018-12-19 09:24:11 -08:00
John Lewin
b405688629 Remove workspace for printer when printer is removed
- Issue MatterHackers/MCCentral#4732
ActivePrinters should decrement by one when printer is closed
2018-12-19 09:22:03 -08:00
John Lewin
a366e1ad3b Use standard event pattern 2018-12-18 11:54:31 -08:00
Lars Brubaker
147cf829c4 Fixing first layer temp test 2018-12-18 11:29:44 -08:00
Lars Brubaker
f0fc1234e7 making more macro replaces work
issue: MatterHackers/MCCentral#4720
[temperature1] not working correctly
2018-12-17 18:53:52 -08:00
LarsBrubaker
a98389d54e fixed ctrl-z and shift-ctrl-z to do the right undo and redo
issue: MatterHackers/MCCentral#4703
Undo does not work completely
2018-12-16 08:35:56 -08:00
LarsBrubaker
3e38fac335 Making ungroup and flatten do the same behavior and always be available 2018-12-16 08:35:55 -08:00
John Lewin
51ceeb2175 Update product tour url 2018-12-13 16:11:16 -08:00
John Lewin
da625fc267 Add cached network loading for product tour 2018-12-13 09:27:27 -08:00
John Lewin
99cdee6ed7 Extract product tour loading to ApplicationController 2018-12-13 09:27:27 -08:00
WinstonMao
eb27e21394
Update ApplicationController.cs
Load TranslationMap before load hardware tabpage
2018-12-13 14:44:16 +08:00
John Lewin
8f0338107d Add OpenPrinters container to Library tab 2018-12-12 18:13:22 -08:00
John Lewin
567b3d3076 Wire up new PrinterContainer on printer workspaces 2018-12-12 17:41:51 -08:00
John Lewin
a22866abcf Add per workspace library context
- Add WrappedLibraryContainer for per workspace containers
  (support for printer specific containers)
- Issue MatterHackers/MCCentral#4710
All printers and parts share the same library view
2018-12-12 17:40:32 -08:00
Lars Brubaker
f39caf4859 Made the name update correctly
issue: MatterHackers/MCCentral#4657
Object rename not updating tree view name
2018-12-11 16:42:48 -08:00
John Lewin
3e0e1703f4 Extract opentabs loading to method, invoke on sign out/in
- Make ReloadAll async
- Issue MatterHackers/MCCentral#4698
Open tabs should track users after sign in/out
2018-12-10 18:16:15 -08:00
Lars Brubaker
536c0e2f68 Fixed resize in single window
issue: MatterHackers/MCCentral#4696
DialogPage fails to resize in SingleWindow mode

issue: MatterHackers/MCCentral#4695
Make ShownWelcomeMessage user rather than application based
2018-12-10 16:56:57 -08:00
John Lewin
dcea4603cc Remove dead code 2018-12-10 14:34:08 -08:00
John Lewin
7b20dd9b41 CodeFactor clean up 2018-12-10 14:32:56 -08:00