bottom/tests/valid_configs
Clement Tsang dd66ae774c
refactor: simplify some config -> constraints code (#1383)
* refactor: simplify some config -> constraints code

* iteratively progress...

* update bcr; this might need testing since I removed some old proc code

* widget side

* fix battery

* fix widget tests with bandaid for now

The issue was that the calculations assume a certain ratio for CPU
legends.

* add some tests

* bump up

* fix proc drawing issues

So with the proc widget in certain places, there would be a panic during
constraint determination.

Looks like back when I wrote this I made some gross assumptions about
certain things. In particular, the problem here was that the search
added an additional "one" height, so that needs to be accounted for
after we removed the "doubling" code.

* tests

* fix tests

* reorganize tests

* clippy

* fix cross tests not working

* fix builds for android
2024-01-15 04:19:18 -05:00
..
all_proc.toml refactor: simplify some config -> constraints code (#1383) 2024-01-15 04:19:18 -05:00
cpu_doughnut.toml refactor: simplify some config -> constraints code (#1383) 2024-01-15 04:19:18 -05:00
empty_config.toml refactor: simplify some config -> constraints code (#1383) 2024-01-15 04:19:18 -05:00
many_proc.toml refactor: simplify some config -> constraints code (#1383) 2024-01-15 04:19:18 -05:00