Commit graph

104 commits

Author SHA1 Message Date
Jeremy Soller
d8fb62255f
Remove about heading 2024-02-28 09:33:36 -07:00
Jeremy Soller
b39c845456
Add about page, add icons, use open crate 2024-02-28 09:29:17 -07:00
Jeremy Soller
ea93c7df32 Use dash icon if column not sorted 2024-02-27 22:28:06 -07:00
Dominic Gerhauser
91060cf22e sorting of files in heading 2024-02-27 21:43:57 -07:00
Jeremy Soller
8ab15027a5
Add failed operation dialog and dialog queue 2024-02-27 13:48:12 -07:00
Jeremy Soller
01a2e13e56
Make new file/folder an operation 2024-02-27 13:25:50 -07:00
Jeremy Soller
f31f8a0559
Do not show operations page any time an operation is done 2024-02-27 13:08:31 -07:00
Jeremy Soller
326fb4ba1f
Implement new file/folder 2024-02-27 13:03:39 -07:00
Jeremy Soller
65d61f5565
Update libcosmic 2024-02-27 10:26:56 -07:00
Jeremy Soller
9b22c8f9ed
Fix warnings 2024-02-27 09:58:22 -07:00
Jeremy Soller
e9da2bfb90
USe libcosmic for replace dialog 2024-02-27 09:52:39 -07:00
Jeremy Soller
5778d64e8c Implement dialog for replacing files 2024-02-26 15:16:29 -07:00
Jeremy Soller
ab3b5f40d5 Dialog improvements 2024-02-26 15:16:29 -07:00
Jeremy Soller
a936cd4a6d Return item open to tab handler 2024-02-26 15:16:29 -07:00
Jeremy Soller
0ce43dfcf5 Fix actions 2024-02-26 15:16:29 -07:00
Jeremy Soller
c8f4eb9d34 WIP: buildout mouse interactions 2024-02-26 15:16:29 -07:00
Jeremy Soller
61fe3c093d
Adjust list view sizing to match designs 2024-02-22 21:46:33 -07:00
Jeremy Soller
143aa6d32b
Ensure that previews keep aspect ratio 2024-02-22 21:34:21 -07:00
Jeremy Soller
752e29e281
Adjust thumbnail size, allow zoom in preview 2024-02-22 21:24:21 -07:00
Jeremy Soller
9905af8f6f
Add thumbnailing 2024-02-22 16:17:39 -07:00
Jeremy Soller
f38ce15bf9
Calculate mime and fix time formats 2024-02-22 15:04:37 -07:00
Jeremy Soller
d526040ff5
Format 2024-02-22 14:30:04 -07:00
Josh Megnauth
86aa79733b Close context panes and tab menus on Escape 2024-02-22 10:04:19 -07:00
Jeremy Soller
4f19123847
Fix button styles 2024-02-20 14:39:17 -07:00
Jeremy Soller
88073536e2
Store save dialog filename in DialogKind 2024-02-20 11:58:39 -07:00
Josh Megnauth
162616f687 Add icon sizes to settings page 2024-02-20 09:58:35 -07:00
Josh Megnauth
1f613860e4 Add icon sizes to config
Icon sizes are stored as a zoom percentage. This may need to be updated
by a programmer with better ideas, but it seems a bit nicer than storing
the size in pixels and presenting that to the user.
2024-02-20 09:58:35 -07:00
Josh Megnauth
3167a9936c Add tab config to settings page
* Allow tabs to be configured globally
* Update each tab when global tab config changes
2024-02-20 09:58:35 -07:00
Jeremy Soller
a24983ca7f
Add dialog types 2024-02-15 15:03:01 -07:00
Jeremy Soller
91c4985d42
Gate setting application ID by platform 2024-02-13 13:12:23 -07:00
Jeremy Soller
5dc65515fc
Force file dialog size 2024-02-13 12:49:52 -07:00
Jeremy Soller
81dcd6c3eb
Reduce column size 2024-02-13 12:49:37 -07:00
Jeremy Soller
db485798da
Improve dialog handling 2024-02-13 12:29:50 -07:00
Josh Megnauth
e697e96afe Small TabConfig clean ups
* Rename `config::Tab` to `TabConfig`
* Use the loaded tab config instead of the default (oops)
2024-02-11 07:23:02 -07:00
Josh Megnauth
bc5b46d552 feat: Toggle showing hidden items
`ctrl` + `h` toggles the visibility of hidden files and folders per tab.
The per tab option overrides the global option. So, a user may set
hidden items to be visible by default (global option) but override it
per tab with `ctrl` + `h`.

Currently, per tab options aren't presented anywhere in the UI such as a
menu, so the hotkey is the only way to use this feature for now.
2024-02-11 07:23:02 -07:00
Josh Megnauth
073a9a95ab Add a per Tab config
A tab config is useful for allowing users to show hidden files, sorting
by different metrics such as size or MIME type, as well as providing a
way to implement some of the todos such as configurable icon sizes for
views.
2024-02-11 07:23:02 -07:00
Jeremy Soller
75874caf9d Use CSDs on Redox, set min size 2024-02-10 19:09:37 -07:00
Jeremy Soller
cb4bd84ea5 Rebase on new libcosmic and iced 2024-02-09 07:09:51 -07:00
W
88089fecb4 Support back/forward mouse buttons 2024-02-08 14:10:36 -07:00
W
d79349efaf Capture mouse back/forward 2024-02-08 14:10:36 -07:00
Josh Megnauth
c636ca8b23 Clean up LocationUp
Path doesn't need to be canonicalized.
2024-02-08 14:10:03 -07:00
Josh Megnauth
2814834251 Feature to move up file hierarchy with Alt+Up
From: https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts#Browsers_/_Go_menu

Alt+Up moves up the file hierarchy until it hits root.
So, if "/home/josh" is opened, Alt+Up would move to "/home"
2024-02-08 14:10:03 -07:00
Josh Megnauth
843997a0d8 Add Alt-Left and Alt-Right for history navigation
Common shortcuts.
2024-02-08 14:10:03 -07:00
Josh Megnauth
6378d54f7b Add unit tests for tab history 2024-02-05 19:11:40 -07:00
Josh Megnauth
d2cfae5dc7 Unit tests for tab::Message::Click
Tests for selecting items and opening items with double clicks.
2024-02-05 19:11:40 -07:00
Josh Megnauth
b0e8299ff4 Unit test for tab::Message::Location
* Implement a working unit test for `tab::Message::Location`
* Add more helper test functions and improve existing logic
2024-02-05 19:11:40 -07:00
Josh Megnauth
5d51190169 Support hidden files for tests 2024-02-05 19:11:40 -07:00
Jeremy Soller
588211adb0 Enable multi-window feature of libcosmic 2024-02-01 19:40:37 -07:00
Jeremy Soller
2832e6066e Forward selected path to caller 2024-02-01 17:43:41 -07:00
Jeremy Soller
c6eecbddd8 Add open/cancel buttons to dialog 2024-02-01 17:34:22 -07:00