Commit Graph

177 Commits

Author SHA1 Message Date
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
Oleh
efd85b86bf 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
2020-06-26 13:59:10 +02:00
Aram Drevekenin
c0fe520d6a docs(readme): fix error in how it works 2020-06-25 12:53:00 +02:00
Aram Drevekenin
97c9c698b6 docs(changelog): enter largest folder 2020-06-25 12:29:44 +02:00
redzic
27a3ca66bb 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
2020-06-25 12:27:49 +02:00
telans
f716f629c0 docs(readme): add gentoo installation info (#47) 2020-06-24 16:28:55 +02:00
Aram Drevekenin
c2d18b60e4 docs(changelog): parallelism in tests 2020-06-23 16:01:00 +02:00
redzic
e94f9b942d fix(tests): turn off parallelism when in test mode (#43)
* Added conditional compilation to turn off/on parallelism

* style(name): clarify constant name

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-06-23 15:58:41 +02:00
Aram Drevekenin
adf3e1ba9a docs(changelog): emacs keybindings 2020-06-22 19:42:04 +02:00
redzic
20ab27d494 feat(controls): emacs keybindings (#40)
* Add emacs keybindings

* Refactored main keybindings to use key! macro

* Refactored other keybindings in controls.rs to use key! macro

* Changed navigation legend

* Removed hjkl from legend, ran cargo insta review

* Changed legend to just <arrows>

* Updated tests to reflect UI changes

* Updated tests more tests to UI change
2020-06-22 19:39:28 +02:00
Aram Drevekenin
6e449c6f24 docs(readme): clarify installation options for macos 2020-06-22 08:53:40 +02:00
Aram Drevekenin
abed12625e chore(release): 0.3.0 2020-06-21 14:09:52 +02:00
Aram Drevekenin
62a138275a docs(changelog): update changes 2020-06-21 14:11:53 +02:00
Aram Drevekenin
e050626f3b fix(performance): scan hd in parallel (#38)
* fix(performance): scan hd in parallel

* fix(performance): scan hd in parallel

* chore(deps): drop unneeded cargo-insta dependency (#35)

Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>

* fix(performance): scan hd in parallel

* style(format): removed unused import

Co-authored-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-06-21 14:10:04 +02:00
Igor Raits
40f5d08ba4 chore(deps): drop unneeded cargo-insta dependency (#35)
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-06-21 13:47:35 +02:00
Artem Polishchuk
7b93122419 docs(readme): update Fedora installation instructions (#34)
Co-authored-by: ignatenkobrain <i.gnatenko.brain@gmail.com>

Co-authored-by: ignatenkobrain <i.gnatenko.brain@gmail.com>
2020-06-20 21:28:59 +02:00
Aram Drevekenin
027c4a2b69 docs(changelog): update fix 2020-06-18 22:50:29 +02:00
phimuemue
69daa18468 refactor(board): some simplifications (#31)
* Simplify get_(vertical|horizontal)_overlap_with

* Simplify movement
2020-06-18 22:47:06 +02:00
Aram Drevekenin
876d29f3dd docs(changelog): update release 2020-06-18 21:37:38 +02:00
Aram Drevekenin
5f2f719c78 chore(release): 0.2.0 2020-06-18 21:36:24 +02:00
Aram Drevekenin
0d29136c41 docs(changelog): update changes 2020-06-18 21:39:29 +02:00
silwol
4f16e669c6 chore(deps): update tui dependency to 0.9 (#30)
Co-authored-by: Wolfgang Silbermayr <wolfgang@silbermayr.at>
2020-06-18 21:34:26 +02:00
Artem Polishchuk
03f2fe164a Chore: bump deps (#25)
* Chore: bump deps

tui to 0.8
insta to 0.16.0
cargo-insta to 0.16.0

* chore(tests): fix tests

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

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-06-18 20:26:25 +02:00
Aram Drevekenin
b204ec6304 Merge pull request #29 from jeffw387/main
Instructions for AUR installation
2020-06-18 19:57:32 +02:00
Jeff Wright
65f0bb1852 Fixed package AUR url 2020-06-18 10:51:57 -07:00
Jeff Wright
0222c0a6c8 Instructions for AUR installation 2020-06-18 08:53:24 -07:00
Aram Drevekenin
79c31f261e docs(changelog): add initial and update 2020-06-18 12:24:40 +02:00
Aram Drevekenin
78af32a268 Merge pull request #28 from Freaky/filesize
fix(portability): cross-platform size-on-disk
2020-06-18 12:27:26 +02:00
Aram Drevekenin
b56d68ab16 docs(readme): Add Fedora installation instructions
README: Add Fedora installation instructions
2020-06-18 12:07:35 +02:00
Aram Drevekenin
5e3297acb5 docs(readme): place instructions on the same level 2020-06-18 12:06:33 +02:00
Thomas Hurst
246a93f4b4 fix(portability): cross-platform size-on-disk
Adds the filesize crate as a dependency.
2020-06-18 04:27:44 +00:00
Artem Polishchuk
eeb5b5835b Typo fix 2020-06-17 21:51:22 +03:00
Artem Polishchuk
7462ac2ad4 README: Add Fedora installation instructions 2020-06-17 21:42:36 +03:00
Aram Drevekenin
f19a4f5a1d chore(cargo): delete duplicate description (oops) 2020-06-17 17:12:56 +02:00
Aram Drevekenin
a102ab3430 chore(cargo): add description 2020-06-17 17:12:09 +02:00
Aram Drevekenin
d13a17d7cb chore(release): 0.1.0 2020-06-17 17:07:50 +02:00
Aram Drevekenin
895be4ccc5 docs(coc): add coc 2020-06-17 16:58:17 +02:00
Aram Drevekenin
f8ceeab73b fix(tests): cross platform temporary folder 2020-06-17 15:49:17 +02:00