Commit Graph

921 Commits

Author SHA1 Message Date
Clement Tsang
57e87d88d0
feature: Add persistent search settings (#257)
Adds persistent search settings across runs, by saving to the config file.  Each process widget keeps track of it's *own* behaviour.  The previous flags/options are now for *global* behaviour.

The following new behaviour is:
- Relevant flags: `--case_sensitive`, `--whole_word`, and `--regex`, will *override* the current widget's default behaviour.
- Relevant options: `case_sensitive`, `whole_word`, and `regex`, will also *override* the current widget's default behaviour.

As per before, if you set, say, `--case_sensitive`and `case_sensitive=true`, the flag always overrides.

Documentation updates will be done in #248.
2020-09-28 19:50:21 -04:00
Clement Tsang
7eff79395d
bug: fix chart and data point overlap (#256)
Update to tui-rs, which fixes #255, as well as some miscellaneous things like updating changelogs and travis.
2020-09-27 14:23:18 -04:00
Clement Tsang
7a9fcae605
docs: Add missing COPR entry to ToC 2020-09-27 02:05:30 -04:00
ClementTsang
205033685f other: change packaging default tag 2020-09-27 01:50:53 -04:00
ClementTsang
3b8e99bdc1 other: add packaging template 2020-09-27 01:50:18 -04:00
ClementTsang
a12cabd160 other: update github issue and PR templates 2020-09-27 01:49:35 -04:00
ClementTsang
fdd2d1b747 bug: fix basic mode arrows being slightly larger than intended 2020-09-26 21:49:28 -04:00
Clement Tsang
750d8f3cb7 refactor: tui-rs 0.11.0 refactor (#253)
Refactors tui-rs usage to the new 0.11.0 release. This release also fixes the highlighting bug from #249, and now, expanding a widget no longer overrides the widget title colour.

This commit also introduces #255, but that seems to be easy to bandaid so hopefully it will get fixed soon?
2020-09-26 20:21:59 -04:00
Clement Tsang
6db76029e2
feature: Beginnings of in-app config (#231)
Initial refactorings and additions to support in-app config.

- Refactor our current options logic to support in-app configs.  That is, we can write to a config file with our changes now.
- The default action when creating a new config file is to leave it blank. (TBD and for now, not sure on this one)
- Previously, we would set everything in a config file on startup; now we need to read from the config TOML struct whenever.
- `C` keybind is now occupied for configs.
- `no_write` option to never write to a config file.
2020-09-22 18:12:36 -04:00
Clement Tsang
b0b174eb98
bug: Fix for index oob caused by terminal size mismatch (#238)
Fix for an index out-of-bounds by resizing to a smaller terminal just after the program got the terminal size, but right before the terminal started drawing.
2020-09-18 12:35:32 -04:00
ClementTsang
83445eccbb other: update github issue templates 2020-09-18 01:55:19 -04:00
Clement Tsang
86c8b474ae
feature: mouse support for tabs and dd dialog (#230) 2020-09-11 04:20:14 -04:00
Clement Tsang
0c21cba189
refactor: rename data harvesting fns to what archs/oses they support (#229)
Just a simple rename.
2020-09-09 23:30:09 -04:00
Clement Tsang
c58b2c2bb9
refactor: rewrite column algorithm (#227)
Update how we position and generate column widths to look less terrible.  This also adds truncation w/ ellipsis to the columns, and for processes, the state will automatically shrink to a short form (just a character) if there isn't enough space.
2020-09-09 21:51:52 -04:00
Clement Tsang
c426b0c7c4
docs: add winget install instructions 2020-09-08 20:08:00 -04:00
imgbot[bot]
972ca99d48
chore: [ImgBot] Optimize images (#226)
*Total -- 641.18kb -> 541.81kb (15.5%)

/assets/trees_2.png -- 227.68kb -> 190.77kb (16.21%)
/assets/trees_1.png -- 361.14kb -> 305.06kb (15.53%)
/assets/trees_3.png -- 52.36kb -> 45.97kb (12.2%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-06 23:24:45 -04:00
Clement Tsang
eb8295c430
feature: Adds tree view (#223)
Adds a tree process view to bottom.

Currently uses a pretty jank method of column width setting, should get fixed in #225.
2020-09-06 23:03:03 -04:00
Clement Tsang
0d8572c692
fix: Fixes count being sortable, but nothing occuring (#224)
Fixes sorting by count being available, but doing nothing. This fix makes it sortable.
2020-09-06 02:16:50 -04:00
ClementTsang
cc87fa8e4a fix: Fix mouse detection not working on proc after closing search 2020-09-05 16:25:35 -04:00
Clement Tsang
54a35d632e
other: Windows compilation stuff (#222)
Some Windows compilation/deploy stuff. Mostly just a catch-all for some chores.
2020-09-03 12:22:02 -04:00
ClementTsang
33b37bb5ac other: Add missing shebang to husky pre-push script 2020-09-03 03:25:12 -04:00
ClementTsang
3843d63dbb bug: change heim io fn to not bail on any error 2020-09-03 03:18:18 -04:00
ClementTsang
105e9d27bb docs: rename demo gif 2020-09-02 22:14:03 -04:00
imgbot[bot]
73267f38bd
chore: [ImgBot] Optimize images (#221)
*Total -- 134.20kb -> 116.22kb (13.4%)

/assets/temp_filter_pre.png -- 45.44kb -> 37.86kb (16.69%)
/assets/disk_filter_pre.png -- 26.47kb -> 22.86kb (13.66%)
/assets/temp_filter_post2.png -- 20.45kb -> 17.82kb (12.87%)
/assets/disk_filter_post2.png -- 16.96kb -> 15.10kb (10.97%)
/assets/disk_filter_post.png -- 16.90kb -> 15.11kb (10.6%)
/assets/temp_filter_post.png -- 7.97kb -> 7.48kb (6.25%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-02 22:08:07 -04:00
Clement Tsang
cef3166cf8
feature: Add ability to filter out disks and temp (#220)
You can now filter out disks and temp sensors by name via config.
2020-09-02 22:02:49 -04:00
Clement Tsang
a949073728
bug: fix being able to click widgets when dd-dialog was open (#219)
Fixes a bug where you could click on a widget when dd's dialog was open.
2020-09-02 05:00:01 -04:00
Clement Tsang
01b7b6744e
doc: Update README for ARM info 2020-09-02 04:41:45 -04:00
Clement Tsang
f5f37f7f0a
ci: Fix missing equals sign (#218) 2020-09-02 03:46:39 -04:00
Clement Tsang
22278d7d75
other: aarch64 support (#217)
Adds theoretical aarch64 support.
2020-09-02 02:59:51 -04:00
ClementTsang
663ae6c5c2 bug: fix broken check from last commit, add tests 2020-09-01 03:08:46 -04:00
ClementTsang
d24a797ce9 other: Add config error if default_widget_count is not used with default_widget_type 2020-09-01 00:29:46 -04:00
ClementTsang
01f65d378b docs: Update README 2020-09-01 00:26:05 -04:00
Clement Tsang
a4ddd649e1
refactor: Update error messages w/ anyhow and thiserror (#216)
Refactoring and updating of error messages + tests to be more useful.
2020-08-31 23:59:33 -04:00
Clement Tsang
5ed573157c
bug: Use correct labels for sensors in Linux (#215)
Update temperature sensors in Linux to use labels + names rather than just names.
2020-08-31 20:02:48 -04:00
Clement Tsang
5aa7b4df08
docs: Update some arguments, and documentation (#214)
Some more updates to arguments and documentation.
2020-08-31 18:57:01 -04:00
Clement Tsang
3431411215
other: Add autocomplete file generation (#213)
Adds shell completion generation as part of the build, as well as tweaking install scripts/templates/CI to use them.
2020-08-31 17:50:21 -04:00
ClementTsang
c6a20a1420 deps: Update battery, sysinfo 2020-08-29 20:41:51 -04:00
Clement Tsang
6632714f26
feature: Allow Ctrl-F and / to work in sort (#212)
Fixes a bug, and also allows `Ctrl-F` and `/` to work in the sort widget.
2020-08-29 19:23:20 -04:00
Clement Tsang
3d2fc76aa2
feature: Add mouse click support for moving between widgets (#208)
Adds mouse support to the application, to move between widgets and click on elements.

List of things to added:

- Click to move between widgets
- Click to move between widgets in basic mode
- Click on widget entries
- Ability to disable mouse if you don't like it, I guess
2020-08-29 18:54:18 -04:00
Clement Tsang
b6363096b4
bug: fix bug where you could move down in basic proc when search was off (#211)
Fixes a bug where you could move down in a process widget even if search was disabled while in basic mode.
2020-08-29 04:06:21 -04:00
allcontributors[bot]
6e7b35c421
docs: add tim77 as a contributor (#209)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-08-28 20:26:22 -04:00
Artem Polishchuk
56b2634676
Add Fedora/CentOS installation instructions (#207) 2020-08-28 20:06:34 -04:00
Clement Tsang
9a11e77aa0
feature: Adaptive network widget (#206)
Allows the network widget graph to grow/shrink with current data, rather than using a static size.
2020-08-28 16:30:24 -04:00
ClementTsang
81ec7c311b uptick: 0.4.7 2020-08-26 20:34:30 -04:00
ClementTsang
b3e85b135a docs: Update CONTRIBUTING.md with note on cargo-husky 2020-08-26 20:34:22 -04:00
ClementTsang
0ea07c288e docs: Update changelog 2020-08-26 20:32:18 -04:00
imgbot[bot]
6266593bf0
chore: [ImgBot] Optimize images (#203)
/assets/sort.png -- 280.22kb -> 233.91kb (16.53%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-08-26 20:30:45 -04:00
Clement Tsang
2425779e7f
bug: fix searching by command being broken (#204)
Fixes searching by command name being broken.
2020-08-26 20:29:55 -04:00
ClementTsang
83e3437b36 docs: Fix incorrect heading 2020-08-26 19:11:41 -04:00
ClementTsang
31ee9b73fc docs: Update README to include sorting 2020-08-26 19:06:55 -04:00