Commit graph

253 commits

Author SHA1 Message Date
John Lewin
efb9a45831 Remove dead code 2017-07-28 14:07:11 -07:00
John Lewin
732f26a5c2 Remove unimplemented async behavior 2017-07-28 14:07:10 -07:00
John Lewin
efe07f730e Use theme text color 2017-07-28 08:59:13 -07:00
John Lewin
998f0ab266 Revise container browser
- Actually use new ListContainerBrowser widget on popup
- Pass and manipulate library context
- Add listview to container browser and bind to library context
- Move existing controls into a new navbar container
- Prevent input in container browser from closing popup
2017-07-28 08:00:55 -07:00
John Lewin
787624a9ae Refine library views for focused tasks
- Sidebar should focus on usable scene content
- Container browser should allow changing context of sidebar content
- Filter containers from library sidebar
- Replace breadcrumb bar with new container dropdown
- Add filtering to listview for containers/items
- Add container browser for container bar popup
- Filter library items from container browser
- Filter library items from SaveAs selector window
2017-07-28 06:33:41 -07:00
John Lewin
83a4bcf1b7 Create '+' tab for main content view
- Make RenameItemWindow more generic, reuse for Rename Printer
- Move Delete Printer to printer overflow menu
- Move Rename Printer to printer overflow menu
- Remove PrinterSelector from printer overflow menu
- Remove Add New Printer action from PrinterSelector
- Remove pencil icon/edit printer behavior from PrinterSelector
2017-07-27 14:32:21 -07:00
John Lewin
3d0f541db0 Correctly position sceneItem in z 2017-07-19 17:39:43 -07:00
John Lewin
9208b5ee76 Guard for null reference 2017-07-19 16:23:42 -07:00
John Lewin
1acc55bbc8 Force invalidate after load 2017-07-19 07:53:05 -07:00
John Lewin
b18dca42f9 Revert troubleshooting code in MeshContentProvider 2017-07-19 07:38:33 -07:00
John Lewin
4ff6c5cbb8 Convert from ReportProgressRatio to Action<T> 2017-07-18 20:51:44 -07:00
John Lewin
4eb8ebe254 Revise ReportProgressRatio implementation 2017-07-14 13:55:02 -07:00
John Lewin
b1f57559a1 Skip queued thumbnail generation tasks for off-screen items 2017-07-13 14:21:54 -07:00
John Lewin
5ef94eb275 Restore View3D progressbars for loading drag items 2017-07-12 23:01:51 -07:00
John Lewin
3ba370e349 Don't force extension to upper case
- Issue MatterHackers/MCCentral#1722
2017-07-12 14:53:10 -07:00
Lars Brubaker
1a9ebebaed Changed ReportPregress delegate to have touple and use CancellationTokenSource 2017-06-30 16:09:31 -07:00
John Lewin
d9b28cdd86 Add 'Print' menu action, implement Print for GCode and SD card GCode
- Fix and rename CloseShouldNotStopSDPrint test
- Fix product bugs regarding selecting and printing GCode
2017-06-21 07:43:40 -07:00
John Lewin
aba13453a7 Add GCode content provider for custom icon, future custom drag behavior 2017-06-21 07:41:12 -07:00
John Lewin
668fbabf8e Restore control names expected by automation tests 2017-06-17 18:51:24 -07:00
John Lewin
07dc5f3333 Evaluate creators in library root 2017-06-17 10:46:01 -07:00
John Lewin
8afc92ae33 Decouple MatterControl components from PrinterConnection
- Move relevant aspects to ApplicationController
2017-06-16 18:04:47 -07:00
John Lewin
d950e76722 Workarounds for DesignTools Android 2017-06-14 19:39:30 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -07:00
John Lewin
fd170070cf Reset to original container before search on ClearSearch() 2017-06-11 16:45:34 -07:00
John Lewin
0a3042dd45 Restore Library search functionality
- Reuse new CreateSmallResetButton helper
2017-06-11 16:45:31 -07:00
John Lewin
fda1cbd457 Remove enterEditModeButton 2017-06-11 16:45:28 -07:00
John Lewin
a4d93b1869 Revise layout, sync up more sizes and colors 2017-06-08 10:14:06 -07:00
John Lewin
b0de2d1e57 Convert "Options..." menu into OverflowDropdown 2017-06-07 09:15:02 -07:00
John Lewin
3a33076d13 Revise icon styling 2017-06-07 08:21:01 -07:00
John Lewin
7e4d3913da Remove temp workaround DropDownMenu, add CreateMenuItem to Overflow menu 2017-06-07 08:21:01 -07:00
John Lewin
11e3ca8a6e Revise RemoveButtonRemovesMultipleItems test
- Fix product bug with PrintQueueContainer failing to reload
- Add test helper to select ListView items
- Reuse test helper
- Iterate on .OfType instead of cast and eval
2017-06-06 18:42:44 -07:00
John Lewin
11668e305b Revise DragTo3DViewAddsItem test
- Fix naming bug introduced in earlier updates
  - Friendly name should only be applied to default file names
  - Friendly name should not include extension
2017-06-05 23:34:33 -07:00
John Lewin
9389281ba8 Revise LibraryQueueViewRefreshesOnAddItem test
- Fix naming issue with SaveAs->LocalLibrary
2017-06-05 22:51:28 -07:00
John Lewin
2a9e70c28c Ensure bedplate is saved before slicing
- Remove cheat in AddSelectedItemToBedplate helper which saved bed
- Invoke PersistePlateIfNeeded before slicing
- Mark plate as dirty when adding items
- Make SaveChanges awaitable so slicing queues until save is done
- Remove unused Action in functionToCallOnSaveAs delegate
- Change saveas delegate to support new awaitable signature
2017-06-05 14:37:32 -07:00
John Lewin
ddcb32e1f7 Fix naming issues with IObject3D and FindNamedChildrenRecursive 2017-06-04 23:07:05 -07:00
John Lewin
912c9fc68f Honor Thumbnail rendering mode
- Remove local ThumbnailTracer instance, use ThumbnailEngine.Generate()
- Pass correct parameters to ThumbnailEngine
2017-06-04 10:32:02 -07:00
John Lewin
223db022a8 Invalidate when thumbnails change
- Fixes delay as thumbnails are generated
2017-06-03 18:35:01 -07:00
John Lewin
add70a2f90 Revise AddToQueueFromLibraryButtonAddsItemToQueue test
- Restore Add To Queue functionality
- Expose reusable AddAllItems() to PrintQueueCollection
- Revise base implementation of FileSystemItem to support default
  name based on filename unless set
2017-06-03 16:18:09 -07:00
John Lewin
4635831e9c Revise RemoveButtonClickedRemovesMultipleItems test 2017-06-03 15:45:26 -07:00
John Lewin
dd9e2d30b5 Revise RenameButtonRenamesLocalLibraryFolder test
- Restore support for LocalLibrary -> Create Folder
- Share Selection logic between Row/Icon views
- Make folders selectable
- Improve naming of DirectoryContainerLink
2017-06-03 15:11:12 -07:00
John Lewin
ce6a3834fc Fix LibrarySelection -> Rename
- RenameButtonRenameLocalLibraryItem test passing
- Get LibrarySelection->Remove action to compile after refactoring
- Make LibraryRenameSelectedItem an extension method and update callers
2017-06-03 13:31:07 -07:00
John Lewin
fc84f30333 Expand zips on add to Sqlite, fix test
- LocalLibraryAddButtonAddZipToLibrary test passing
2017-06-03 09:46:02 -07:00
John Lewin
d54f651b42 Restore classic SqliteLibrary item naming behavior, get test passing
- LocalLibraryAddButtonAddSingleItemToLibrary passing
2017-06-03 09:03:02 -07:00
John Lewin
fa800c4a3b Get first ActivePrintItem test passing again
- CompletingPrintTurnsoffHeat now passing
- Create new 'Add to Plate' action for library selections
- Create zip files after print->slice->ActivePrintItem success
- Copy generated gcode into zip
- Copy SliceSettings into zip
  - Make DocumentPath on PrinterSettings public
- Copy printer plate to zip file
- Add ClearPlate helper function to ApplicationController
- Invoke ClearPlate on startup to initialize ActivePrintItem
- Make SliceSettings user mode resets SliceSettings not AdvControls
- Make Library Overflow menu and items automatable
2017-06-02 17:06:27 -07:00
John Lewin
55e217641a Better expose reusable components
- Move ActiveView3D reference to ApplicationController
- Use ActivewView3D reference rather than ChildrenRecursive search
- Reuse EditPrinter button on action bar to get more tests passing
- Move IsContentFileType helper to LibraryConfig
- Make PlatingHelpers operate on IEnumerable<IObject3D> versus Scene
- Pass Scene.Children rather than Scene
- When plating multiple items, pass the updated IEnumerable context
2017-06-02 13:23:08 -07:00
John Lewin
88d32b0d2d Restore Library menu item selection 2017-05-26 00:18:34 -07:00
John Lewin
4559073237 Move more widgets to printer action bar
- Extract elements in PrinterConnectAndSelectControl to components
- Use new components in printer action bar
- Extract more factories to shared components
- Move shared color to ThemeConfig
- Add support for widget generation during ShowPopup
2017-05-24 14:19:02 -07:00
John Lewin
1e643617c5 Adjust tab styling
- Pass separator bars to tabs, disable drawn borders
- Remove ActionBar from leftnav
- Remove PrintProgressBar from leftnav
- Revise BreadCrumb button attributes
- Revise UpFolder icon
- Revise overflow/pancake menu icon
- Create OverflowButton to encapsulate common menu item
- Use horizontal/VerticalLine for consistent color/weight separators
- Reduce visual clutter
  - Minimize regions created by color and line separators
  - Reduce the contrast of separator lines
  - Reduce the contrast of region backgrounds
  - Use consistent background colors across sibling tab pages
2017-05-23 14:54:36 -07:00
John Lewin
8dad331afd Revise IconView layout 2017-05-21 23:22:28 -07:00
John Lewin
4d84844f96 Throw exceptions for missing functionality rather than Debug.Break
- Fix unexpected abort in NUnit testruns
- Tests should fail rather than crash, highlighting areas needing focus
2017-05-21 22:37:30 -07:00