Commit graph

50 commits

Author SHA1 Message Date
John Lewin
b4ce775bed Restore items in popup library browser 2017-08-10 06:00:10 -07:00
John Lewin
6dd9957cfc Enable export on library selections 2017-08-09 16:26:15 -07:00
John Lewin
5a4b0e249a Add guards for active processing 2017-08-08 14:12:03 -07:00
John Lewin
0745ae90a0 Update AddToPlate to support ContentItem & ContentStream interfaces 2017-08-08 14:11:17 -07:00
John Lewin
cc96dc65e5 Specify type rather than instance for default container view widget
- Construct and switch to container requested view if not active
2017-08-08 11:35:25 -07:00
Lars Brubaker
f7d4163125 Refactoring VAnchor and HAnchore names
Making more debug info for show bounds
2017-08-07 15:47:27 -07:00
John Lewin
1ec80d8e62 First pass at new menubar 2017-08-04 15:47:43 -07:00
John Lewin
9af153f1fe Use existing button factory, use existing Options in SplitButton factory 2017-08-04 08:49:38 -07:00
John Lewin
e372b33358 Use existing factory with same margin overrides 2017-08-03 19:00:38 -07:00
John Lewin
4abea0ab0c Extract button factory options to new class 2017-08-03 19:00:37 -07:00
John Lewin
d6a97052bf Make standard button factory member names more generic 2017-08-01 21:18:00 -07:00
John Lewin
ad9a445587 Add support for ListView filtering & property for container IsReadOnly
- Filter SaveAs dialog to writable containers only
2017-07-31 22:16:15 -07:00
John Lewin
374c35fcb0 Revert back to non-colorized part thumbnails 2017-07-31 10:51:56 -07:00
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
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
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
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
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
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
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
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
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
John Lewin
2654151649 Call Container.Add(IEnumerable<T>)
- Add ChangeToQueueContainer helper method
- Cast to IWritableContainer and invoke Add(IEnumerable<T>)
- Issue MatterHackers/MCCentral#1503
2017-05-21 16:29:00 -07:00
John Lewin
1787c377eb Only switch to container if not null 2017-05-21 00:02:30 -07:00
John Lewin
c24480e4ed Fix list item names, use DoubleClickByName to automate library items
- Remove unused 'up folder' list view item code
2017-05-20 17:47:36 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00