Commit Graph

214 Commits

Author SHA1 Message Date
Greg Shuflin
f407a18ed8 Update insta test harness to latest version 2025-11-01 09:50:12 -07:00
Greg Shuflin
4da3e5adbf Get rid of WarningMessage parameter 2025-11-01 09:47:04 -07:00
Greg Shuflin
581d820c20 Run cargo fmt on codebase 2025-11-01 09:46:38 -07:00
Greg Shuflin
59e3b83199 Suppress some unused code warnings 2025-10-29 17:36:57 -07:00
Greg Shuflin
7e531f9d2a Update edition to 2024 2025-10-29 17:16:54 -07:00
Greg Shuflin
196a38af18 Update packages to latest versions:
This commit updates several packages to their latest versions
- unicode-width
- nix
- jwalk
- tui
- crosterm

And fixes some code to use the API of the latest packages
2025-10-29 17:15:31 -07:00
Greg Shuflin
611b7172ef Run cargo update 2025-10-29 10:52:48 -07:00
Aram Drevekenin
65cd829069 docs(sponsorship): add my Github Sponsors 2022-02-19 10:11:54 +01:00
Aram Drevekenin
2cf5c7bd06 docs(changelog): small files legend change 2020-10-15 15:30:15 +02:00
Patrick Sier
f330d85284 feat(ui): only show small files legend when visible (#75)
* feat: only show small files legend when visible

* refactor: add render_small_files_legend function
2020-10-15 15:28:45 +02:00
Aram Drevekenin
9f94e941fb chore(release): 0.11.0 2020-09-23 16:13:29 +02:00
Aram Drevekenin
b6555a8e65 docs(readme): spacing 2020-09-23 16:16:45 +02:00
Aram Drevekenin
34476f00d3 docs(readme): windows installation 2020-09-23 16:16:07 +02:00
Aram Drevekenin
9d02321d61 docs(changelog): windows support 2020-09-23 16:14:04 +02:00
pm100
929f759f63 feat(platform): windows version (#74)
* init checkin

* tests now compile

* Update linux.rs

* fixed linux build

* fmt

* most tests pass

* all tests pass

* reinstate delete after test

* remove old snaps

* oops on the crossterm dep

* fix fmt

* add windows test to travis

* travis windows tests linux messed up term after q

* fmt

* clean as per PR

* more pr clean

* tests done on windows

* oops

* non windows tests

* more cleanup

* fmt

* one last clean

* linux->unix

* linux->unix

* style(cleanup): minor fixes

* style(cleanup): moar minor fixes

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-09-23 16:12:12 +02:00
Aram Drevekenin
e6188b6867 chore(release): 0.10.0 2020-09-11 17:24:37 +02:00
Riccardo Tacconi
01787e8881 docs(readme): add installation instructions with NIX on OX (#72)
* Add installation instructions with NIX on OX

We can install diskonaut on OSX using NIX too.

* docs(readme): refer to nix section

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-09-07 17:25:22 +02:00
Aram Drevekenin
566c468d6c docs(changelog): disable delete confirmation 2020-09-07 16:09:19 +02:00
markafarrell
f4989056ca feat(ux): add option to delete with out a confirmation prompt (#71)
* implement disabling delete confirmation option

* add tests for delete confirmation disable option

* fix linting
2020-09-07 16:06:04 +02:00
Aram Drevekenin
9cff09e279 docs(readme): fix some styles 2020-09-02 11:39:14 +02:00
Aram Drevekenin
701a77e2bc docs(readme): brew installation instructions 2020-09-02 11:01:57 +02:00
Aram Drevekenin
2f4ac08669 docs(installation): freebsd 2020-09-01 19:07:46 +02:00
Evan Stoll
ed3e92ec36 docs(readme): add nix installation info (#67) 2020-07-21 14:26:34 +02:00
Aram Drevekenin
a7374be505 chore(release): 0.9.0 2020-07-12 14:05:36 +02:00
Aram Drevekenin
12f042b979 feat(filesystem): flag for showing file apparent size (#66)
* feat(filesystem): flag for showing file apparent size

* style(format): fmt fmt fmt
2020-07-12 14:09:07 +02:00
Aram Drevekenin
94c9cc4576 chore(release): 0.8.0 2020-07-09 14:39:30 +02:00
Aram Drevekenin
d5358c25a3 docs(changelog): backspace 2020-07-09 14:25:54 +02:00
Max Heyer
adbae50d19 fix(controls): change delete key to backspace (#64)
* Change delete key to backspace

* Add BACKSPACE as delete key within snap tests

* Readd delete key for warning modal

* Change key for warning modal to Backspace
2020-07-09 14:24:25 +02:00
Aram Drevekenin
cceb2a2db7 docs(changelog): u128 2020-07-06 15:04:10 +02:00
Thomas Hurst
bb86708783 fix: Use u128 for sizes (#52) (#63) 2020-07-06 15:02:28 +02:00
Aram Drevekenin
814c0ce8f4 chore(release): 0.7.0 2020-07-04 13:46:06 +02:00
Aram Drevekenin
60773121ef docs(changelog): update changes 2020-07-04 13:42:51 +02:00
Aram Drevekenin
d317ea45ef feat(ui): allow zooming in/out/reset (#61)
* feat(ui): allow zooming in/out/reset

* style(format): rustfmt

* refactor(state): consolidate percentage calculation

* style(format): rustfmt

* fix(tests): clean up temporary files in specific test
2020-07-04 13:38:31 +02:00
Mehdi Mohseni
356904fa04 feat(ux): implement a warning modal on deleting a file/folder while s… (#60)
* feat(app) implement a warning modal on deleting a file/folder while scanning

add keypress handler for warning_modal

update apps ui state of warning modal

implement autoclose functionality for warningmodal

* remove auto close functionality from warning modal

* fix(controls): use delete key when loading

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-07-04 13:36:26 +02:00
Aram Drevekenin
f63760d2df chore(release): 0.6.0 2020-07-03 09:22:11 +02:00
Aram Drevekenin
d5223787bd docs(changelog): update delete key 2020-07-03 09:24:18 +02:00
Max Heyer
e5581644c6 feat(ui): change delete key #41 (#59) 2020-07-03 09:08:38 +02:00
Aram Drevekenin
510ee05185 docs(changelog): root visual indication 2020-06-29 10:13:55 +02:00
Chris Tomlinson
36961c3c29 feat(ui): add visual indication running as root (#57)
* Add visual indication running as root

* Fixing formatting

Co-authored-by: Chris Tomlinson <chris@c3st7n.net>
2020-06-29 10:12:09 +02:00
Aram Drevekenin
48d9458b3b chore(release): 0.5.0 2020-06-27 12:57:17 +02:00
Aram Drevekenin
96de8231f9 docs(changelog): are you sure you want to quit? 2020-06-27 12:52:17 +02:00
Mehdi Mohseni
2a3e2b635c feat(ui): add an "Are you sure you want to quit?" modal (#44)
* feat(app): show confirm modal before exit

add keyEvent handler function for exiting mode

add Exiting variant to UiMode enum | add prompt_exit method

implement ExitingMode widget rendering

fix mixed UiState issue

* resolved requested changes

* feat(app) add confirm modal before exit

fix panic in modals when terminal-width=50

listen for all possible keys when user tries to exit

exit without confirmation in ScreenTooSmall mode

fix tests to be compatible with ConfirmModal Changes

* docs(readme): add gentoo installation info (#47)

* feat(ux): make enter select largest folder if nothing is selected (#45)

* Make enter select largest folder if nothing is selected

* Rename method

* Renamed and changed method to do what it originally said

* Efficiency improvements

* Added test for the feature

* Run cargo insta review

* Fixed len for assert_eq!

* Fixed asserts at end of test

* Run cargo insta review again

* docs(changelog): enter largest folder

* docs(readme): fix error in how it works

* feat(ui): show quit shortcut ('q') in the legend (#46)

* Add <q> shortcut in the legend

* Fix typo for description

* Use <arrows> instead of <hjkl> or <arrow keys>

* Apply fmt

* Merge main

* feat(navigation): keep a stack of visited items and make go_up use it (#53)

* Keep a stack up visited items and make go_up use it

This will allow us to keep track of where our previous selections were
so can can automatically select the parents when we go up in the
hierarchy.

Closes #48.

Signed-off-by: Daniel Egger <daniel@eggers-club.de>

* Redo snapshot tests to fix failures

Signed-off-by: Daniel Egger <daniel@eggers-club.de>

* style(naming): minor naming change for clarity

Co-authored-by: Aram Drevekenin <aram@poor.dev>

* fix(formatting): prevent crashes on files with multibyte characters (#51)

* Fix crash when truncating to middle of a character

* Fix alignment of file names with wide characters

* Respect use ::formatting convention

* docs(changelog): update recent changes

* chore(release): 0.4.0

* fix enter_largest_folder_with_no_selected_tile test and its snapshot

Co-authored-by: Aram Drevekenin <aram@poor.dev>
Co-authored-by: telans <telans@protonmail.com>
Co-authored-by: redzic <48274562+redzic@users.noreply.github.com>
Co-authored-by: Oleh <45392385+olehs0@users.noreply.github.com>
Co-authored-by: Daniel Egger <daniel@eggers-club.de>
Co-authored-by: Renée Kooi <renee@kooi.me>
2020-06-27 12:48:54 +02:00
Aram Drevekenin
41c6971f0e docs(readme): add reference to CONRTIBUTING.md 2020-06-27 12:36:31 +02:00
Aram Drevekenin
6dcd006994 docs(contributing): CONTRIBUTING.md 2020-06-27 12:34:35 +02:00
Aram Drevekenin
d6d32c430f docs(changelog): update rendering fix 2020-06-26 17:20:18 +02:00
Aram Drevekenin
628a6e3be9 fix(rendering): prevent corrupted small files rendering (#55) 2020-06-26 17:18:20 +02:00
Aram Drevekenin
e525cdd1aa chore(release): 0.4.0 2020-06-26 14:51:25 +02:00
Aram Drevekenin
b61cdbb483 docs(changelog): update recent changes 2020-06-26 14:36:13 +02:00
Renée Kooi
120058d817 fix(formatting): prevent crashes on files with multibyte characters (#51)
* Fix crash when truncating to middle of a character

* Fix alignment of file names with wide characters

* Respect use ::formatting convention
2020-06-26 14:03:04 +02:00
Daniel Egger
4d3ac2b45c feat(navigation): keep a stack of visited items and make go_up use it (#53)
* Keep a stack up visited items and make go_up use it

This will allow us to keep track of where our previous selections were
so can can automatically select the parents when we go up in the
hierarchy.

Closes #48.

Signed-off-by: Daniel Egger <daniel@eggers-club.de>

* Redo snapshot tests to fix failures

Signed-off-by: Daniel Egger <daniel@eggers-club.de>

* style(naming): minor naming change for clarity

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-06-26 14:01:20 +02:00