Commit graph

688 commits

Author SHA1 Message Date
ClementTsang
3026fbd1bc Add time scaling. 2020-03-08 19:47:10 -04:00
ClementTsang
6d0b7035d3 Redid basic mode logic and separated CPU
* Separated CPU into CPU legend and graph

* Redid how I did maximizing with basic mode
2020-03-08 16:17:28 -04:00
Clement Tsang
01b37368b2
More basic cleaning (#74)
* Add htop link.

* Move dd and help dialog into separate files

* Move to  folder

* Properly show error message if DD fails on macOS and linux.
2020-03-08 13:56:18 -04:00
Clement Tsang
226c4e5a68
Clean up and manage some basic stuff (#73)
* Remove debug statement.

* Remove redundant functions from main

* Update pull request template.

* Format temperature line.

* Update README for chocolatey.

* Add note about basic mode and htop's inspiration.
2020-03-08 00:35:01 -05:00
Clement Tsang
6342686e22
Merge pull request #72 from ClementTsang/split_widgets_up
Split up widgets to make it a bit easier to work with.
2020-03-07 23:57:22 -05:00
ClementTsang
03ec52c5b1 Split up widgets to make it a bit easier to work with. 2020-03-07 23:47:53 -05:00
Clement Tsang
132a5a2170
Fix dialog box height and scroll label (#71)
* Fixes search with small mode by changing the prompt based on size.

* Minor fixes for search

- Remove ignore unused var lint
- Add a bit more spacing to deal with large unicode
- Add on-right movement on type

* Add contributor's list and bug/req section

* Check for div by zero

* Fix for dd in terms of sizing.

* Added (temporary) fix for help box.  Scrolling is the ideal solution but will leave that for another time.
2020-03-05 23:54:39 -05:00
imgbot[bot]
e16eb832fc
[ImgBot] Optimize images (#68)
/assets/cpu_filter.png -- 100.80kb -> 87.13kb (13.56%)

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

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-05 20:33:04 -05:00
Clement Tsang
f2b5f96d80
Fix by doublechecking the remaining width calculation. (#67) 2020-03-05 11:46:38 -05:00
Clement Tsang
3a57570031
Cargo optimization (#65)
* Add potential cargo optimizations.

* Add potential cargo optimizations.
2020-03-05 02:23:19 -05:00
Clement Tsang
188858fedd
Formatting and typos (#63)
* Fix typo and run rustfmt.

* Also add rustfmt check to travis... this might be temporary.

* Add a bit on default config files being created in the debian extended description.

* Add rustup component add to travis.

* Disable rustfmt for now, seems to play weird on windows builds.

* Remove unneccesary deprecate ignore.
2020-03-05 02:09:29 -05:00
Clement Tsang
d018c6ee88
Make update rate u128 across the board. (#64) 2020-03-05 01:30:53 -05:00
Clement Tsang
657cb2dd9b
remove ram rounding. (#62) 2020-03-05 00:38:09 -05:00
Clement Tsang
22cdc005bc
Merge pull request #60 from ClementTsang/simple_mode
Simple mode
2020-03-05 00:11:04 -05:00
ClementTsang
b26f2eca4e Rename cevent to event. 2020-03-04 23:51:05 -05:00
ClementTsang
26c1175a8a More merge conflicts. 2020-03-04 23:48:40 -05:00
Clement Tsang
fee8b5c8a1
Merge branch 'master' into simple_mode 2020-03-04 23:47:53 -05:00
ClementTsang
2a40750067 Fix merge conflict. 2020-03-04 23:45:59 -05:00
Clement Tsang
d1039996c8
Merge pull request #57 from shilangyu/populate-config
create config if doesnt exist
2020-03-04 23:41:23 -05:00
ClementTsang
c69362000d Add CPU row allocation system to more evenly distribute it (aka simple division) 2020-03-04 23:13:00 -05:00
ClementTsang
32ca9edf11 Fix highlighting and cpu filtering when maximized 2020-03-04 18:16:19 -05:00
Clement Tsang
111eb42064
[skip travis] Add another bit to the PR template 2020-03-04 00:02:04 -05:00
ClementTsang
effd494683 Add two new tests; bit unrelated tbh. 2020-03-03 01:02:54 -05:00
ClementTsang
a8d3593518 [skip travis] Update README. 2020-03-03 00:59:03 -05:00
ClementTsang
0c65d5ff56 Added spacing for RAM/net column. 2020-03-03 00:54:49 -05:00
ClementTsang
f3ebed6185 Add table indicator to basic. 2020-03-03 00:48:07 -05:00
ClementTsang
9cad3bb4ec Add basic flag to sample config, also fixed incorrect flag name for configs. 2020-03-03 00:08:09 -05:00
ClementTsang
808fe4deb1 Update README to include basic flag. 2020-03-03 00:05:49 -05:00
ClementTsang
1ba1b0318f Fixed bug with basic mode and default position with basic variants. 2020-03-02 23:45:44 -05:00
shilangyu
47cc34a8e2 reflected auto config creation 2020-03-02 22:07:41 +01:00
ClementTsang
7ca12b0fa2 Merge branch 'simple_mode' of https://github.com/ClementTsang/bottom into simple_mode 2020-03-02 00:09:58 -05:00
ClementTsang
8ee9b72da2 Changed search to be a constant height of 3. 2020-03-02 00:09:45 -05:00
ClementTsang
225ad5366c Added proper navigation for basic mode. 2020-03-02 00:09:45 -05:00
ClementTsang
fcd529aca2 Fixed column organization, need to refactor CPU side to remove any redundant code. 2020-03-02 00:09:45 -05:00
ClementTsang
14c2320de2 Added highlighting + begin finalizing arrangement. Still not done. 2020-03-02 00:09:45 -05:00
ClementTsang
953dd81a5d Added space, fixed div by 0 error. 2020-03-02 00:09:45 -05:00
ClementTsang
269d344c5b Renamed total rx/tx styles. 2020-03-02 00:09:45 -05:00
ClementTsang
d917a27faa Add minimal mode widgets
This adds minimal mode widgets to the program.  This is not done, still
gotta play around with rearranging it to look nice.

Also going to have to change search bar to always take a constant 3.
May remove borders.
2020-03-02 00:09:45 -05:00
ClementTsang
4c98fe4fde Refactoring. 2020-03-02 00:09:45 -05:00
ClementTsang
eb2622467f Refactoring. 2020-03-02 00:09:45 -05:00
ClementTsang
ff43799037 Add basic flag + option. Not functional yet. 2020-03-02 00:09:45 -05:00
ClementTsang
df01a94cb0 Another import optimization. 2020-03-02 00:09:45 -05:00
Clement Tsang
e8f6896c23
[skip travis] Change to LoC rather than lines 2020-03-02 00:09:15 -05:00
Clement Tsang
1899d4e76d
[skip travis] Add tokei for... fun I guess? 2020-03-02 00:08:12 -05:00
ClementTsang
ea86b39688 Changed search to be a constant height of 3. 2020-03-02 00:01:28 -05:00
ClementTsang
7f34061e68 Added proper navigation for basic mode. 2020-03-01 23:53:49 -05:00
ClementTsang
63f2ead48b Fixed column organization, need to refactor CPU side to remove any redundant code. 2020-03-01 17:41:45 -05:00
ClementTsang
227af7654f Added highlighting + begin finalizing arrangement. Still not done. 2020-03-01 17:16:08 -05:00
ClementTsang
8baa04f976 Added space, fixed div by 0 error. 2020-03-01 01:11:22 -05:00
ClementTsang
1a54bb45fb Renamed total rx/tx styles. 2020-03-01 00:29:37 -05:00