Commit c1a5788
* Investigating new file dialog
* Column sorting
* Add navigationStack
* Append autocomplete half working
* Change autocomplete append to use draw effect instead of selection effect
* WIP on FileDialog2
* Refactor sort order and add more 'ls' colors
* Refactor history to its own class
* FileDialog2 navigation fixes/improvements
* Added centered Title
* Add tree view and split container
* Add FileDialogState
* Add AllowsMultipleSelection
* Add result fields and Scenario
* Added FileDialo2 test file
* Fix FileDialog2 Redraw padding to respect max/min view bounds
* Fix unit tests and warnings
* Started on better keyboard navigation in FileDialog2
* Update to match new SplitContainer API
* Quality of Life improvements
* Fix recommending parent folder
* Remove border from SplitContainer in FileDialog2 and fixed tests
* Bugfixes and improvements to FileDialog2
* usability improvements to FileDialog2
* Add multi select and OpenMode
* Enforce OpenMode when making a multi selection
* Prevent typing illegal characters
* Added AllowedTypes to FileDialog2
* Added combo box filter AllowedType
* Improve code readability by reordering members
* Do not update FileDialog2 text box when selecting ".." in TableView
* Fix history navigation in FileDialog2
* Restore selection after navigating backwards in history
* Add FileDialog2 tests
* Make FileDialog2 Title user configurable
* Fix DirectTyping_Allowed unit test when running on linux
* Change Home/End to go to first/last cell in table in FileDialog2
* Remove overloaded Title property
* Switch to `ustring.IsNullOrEmpty`
* Update to latest TileView API
* Add TableView navigation by letter using CollectionNavigator
* Fix recreating search navigator too often
* Add tests for proper disposing
* Make Ctrl+F10 toggle split line focusability
* Fix layout bug in first tile when orientation is horizontal
* Switch to GenerateImage
* Fix not calling base constructor
* Revert "Merges latest LineCanvas into TileView"
* Fix keyboard tab navigation problems
* Workaround for changing CanFocus throwing Exceptions sometimes
* Update to latest splitcontainer API
* Adjust suggestions to be gray and properly update on keystrokes
* Move ok and cancel to bottom
* Add MustExist and fix multi selection of 1 result
* bugfixes and quality of life
* Navigating to .. clears path up to current dir
* Better arrow key navigation
* Make title pretty and informative
* Fix test
* Fix test
* Trim default Titles to be more compact and readable
* Fix bad merge changes
* Remove EscSeqReq files that are not in v2... came from develop?!
* Fix nullable and enable toggle select on table view
* Fix multi select return value
* Add icon and monochrome support
* Add search elements
* Add search for current directory
* WIP: Async search
* Thread safety and disposal
* Improve UX
* Fix for rapid search results
* Fix warnings and whitespace
* Don't add more than 10000 search results
* Add support for adjusting search matching
* Added ISearchMatcher example to FileDialog2Example
* Remove double spaces after periods
* Make MaxSearchResults a config setting
* Localization for FileDialog2
* Fix build error
* Support for custom open button Text
* Improve file dialog scenario UX
* Change feedback to a drawing effect in center of screen
* Explore MenuBar instead of ComboBox for AllowedTypes
* Fix prompt and move file open into try/catch for errors reading files
* Open menu when tabbed to
* FileDialog2 improvements
- Expose table/tree style properties
- Rename Monochrome to UseColors and default to false
- IconGetter no longer forces space
- On Windows in Scenario just use a backslash for folder icon (i.e. not unicode)
-
* Add style settings in scenario and make autocomplete case insensitive on Windows
* Move ok button text to Style
* xmldoc
* Remove old FileDialog and re-wire OpenDialog and SaveDialog to use FileDialog2 base
* localization
* Move open/save dialog to their own files
* Rename FileDialog2 to FileDialog
* Fix repetition in string
* Add IAllowedType
* Get rid of AllowedTypesIsStrict
User now adds the `IAllowedType` implementation `AllowedTypeAny`
* Add max length to AllowedType ToString
* Pressing Enter in find restarts search instead of confirm selection
* Add TreeRootGetter for customizing the quick access items in FileDialog
* Add FilesSelected event
Allows user to do things like confirm dialogs on selecting existing file(s)
* Update to new sender, event args signature
* Fix naming on MouseEventArgs
* Fix mouse events naming
* Revert "Fix naming on MouseEventArgs"
This reverts commit 2f557f5.
* Add deletion support
* Move delete keybinding to tableview
* Scaffold for rename and new operations
* Prevent delete dialog popping up again on cancel
* Add rename and new folder implementations
* Add rename,delete,new to context menu
* On rename or new, reselect the file in its new location in tree
* Support searching on multiple terms
* Localization support for new/rename/delete
* Refactor internal classes and add class diagram
* Move some visual properties to FileDialogStyle
* Ensure MultiSelected is never null and always contains Path if relevant
* Fix spacing/indentation
* WIP: Add new namespace Terminal.Gui.FileServices
* Improve appearance of back/forward/up
* Move SpinnerLabel to Views
* Add SpinnerView
* Code formatting
* Add AutoSpin test
* Avoid ever removing spinner timeout twice
* Make SpinnerView show/hide instead of stopping
* WIP: Refactor to use 3 sub PRs
- SpinnerView
- Suggest Append Autocomplete
- Caption TextField
* Add FilepathSuggestionGenerator
* WIP: FileDialog autocomplete append mostly working again
* Improve file autocomplete
* Move IconGetter to Style and provide default implementation
- Depends on `UseUnicodeCharacters`
- Also updated up/back/collapse/expand tree to use spicier icons
* Fix failing unit test
* Improved colors and layout
* Adjust use of unicode
* Fix UseUnicodeCharacters
* Update table style to include scroll indicators and lines
* Fix cycle suggestion with down cursor
* Adjust sort indicators
* Add default sort order on isDir then name
* Always use left/right unicode arrows
* Fix autocomplete suggesting in empty textbox
* Press escape to cancel ongoing search (when search box is focused)
* When entering a TreeView if there is no selection then select first object
* Move CursorIsAtEnd to TextField
* Improve layout
* Change UseColors to be a cell color fill
* Fxied tests for new apis
* Remove manual title drawing code
* Fix MoveEnd name conflicting with base class
* Fix merge conflicts
* Switched to IFileSystem for unit testing
* Add unit test
* Revert "Fix MoveEnd name conflicting with base class"
This reverts commit a5f9c07.
* Fix MoveEnd name collision with 'new' keyword
* Fixed tree not toggling
* DateTime fixes and mocking
* Fix TestDirectoryContents_Windows
* Expose UseColors and UseUnicodeCharacters as config settings
* Fix linter settings having removed curly brackets
* Fix namespace on test
* Move tests to file services folder
* Remove the FileServices namespace
* Updated class diagram
* Clear title from tests for futureproofing
* Localization support for FileDialog title
* Remove trailing whitespace in "open existing"
* Fix listing suggestions immediately after folder path entered
---------
Co-authored-by: Tig <tig@users.noreply.github.com>
1 parent 8ac9273 commit c1a5788
File tree
36 files changed
+3803
-886
lines changed- Terminal.Gui
- FileServices
- Resources
- Text/Autocomplete
- Views
- TableView
- TreeView
- UICatalog
- Resources
- Scenarios
- UnitTests
- FileServices
36 files changed
+3803
-886
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
0 commit comments