Commit Graph

1545 Commits

Author SHA1 Message Date
Clement Tsang 97bf8bf295
ci: fix missing envs in build workflow ()
Made a mistake in not testing properly and broke the build workflow with
missing envs.
2022-11-12 02:29:15 -05:00
Clement Tsang f41e7cd66d
ci: unify cache keys in actions ()
* ci: unify cache keys in actions

* some docs

* because empty strings are false in JS

* update comment

* fix build cache naming
2022-11-11 23:45:27 -05:00
Clement Tsang 1960c40a30
ci: bump delete-tag-and-release to v0.3.1 () 2022-11-11 19:44:00 -05:00
Clement Tsang 51212bcdfe
ci: switch delete-tag-and-release to personal fork to avoid node16 warning () 2022-11-11 03:23:12 -05:00
Clement Tsang 5649b850a8
ci: update upload-artifact to 3.1.1 to remove set-output warnings () 2022-11-11 02:48:25 -05:00
Clement Tsang 9dc6d0c0d5
other: remove the mouse throttler except for scroll events ()
The throttler is only really needed for scrolls (e.g. free scroll wheels
in Logitech mice), I don't really see it being needed in any other
contexts. Moves/drag is another one I guess but we outright ignore those
events right now.
2022-11-11 02:27:18 -05:00
Clement Tsang 99fc5fc2c8
refactor: run cargo +nightly fmt with group_imports ()
* refactor: add some disabled unstable fmt options

* run cargo +nightly fmt with group_imports

* separate out the cfg-specific imports for clarity
2022-11-10 01:22:19 -05:00
Clement Tsang f5ec9191f2
other: try using flume for channel () 2022-11-10 01:08:06 -05:00
Clement Tsang 7e6e098e2b
ci: wrap checks with try block to avoid panic () 2022-11-10 00:46:45 -05:00
Clement Tsang 938c4ccd52
feature: search paste support ()
* feature: add pasting to search

Supports pasting events to the search bar (e.g. shift-insert, ctrl-shift-v).

* update docs

* clippy

* comment

* Update process.md

* remove keyboard event throttle

* fix issues with cjk/flag characters
2022-11-10 00:40:04 -05:00
Clement Tsang 5f849e81e6
ci: add back target as cache key () 2022-11-08 20:01:13 -05:00
Clement Tsang 8101e6fa56
deps: Update tui to 0.19.0 and crossterm to 0.25.0 ()
* deps: update tui to 0.19 and crossterm to 0.25

* fix error

* handle breaking changes
2022-11-08 00:56:39 -05:00
Clement Tsang e1be318177
docs: update usage and config, add blurb in home ()
* docs: update usage and config, add blurb in home

* add doc pages to pr template
2022-11-07 23:36:27 -05:00
Clement Tsang 76d2e83efa
docs: add a quick blurb on doc site of what bottom is () 2022-11-07 02:44:30 -05:00
ClementTsang d613fbdee9
ci: add log line for cache clearing 2022-11-06 03:48:45 -05:00
ClementTsang 442dba84e3
ci: add missing PR pull 2022-11-06 03:46:51 -05:00
Clement Tsang 7ae8e66a3a
ci: add cache clearing to PR merges ()
* ci: add cache clearing to PR merges

* some renaming

* small change to force cache

* add manual run option
2022-11-06 03:44:02 -05:00
Clement Tsang 29bc0b67ba
ci: rename deployment folder to scripts () 2022-11-06 03:19:52 -05:00
Clement Tsang 8c3e9669b8
ci: only enable ci cache if not a PR or not a fork ()
* ci: only enable ci cache if not a PR or not a fork

* add to coverage
2022-11-06 02:50:45 -05:00
Clement Tsang 2b3c76bf5a
docs: update docs for disk sorting feature ()
* update changelog

* update mkdocs
2022-11-06 02:26:36 -05:00
ClementTsang 7f7d0cebf4
bug: fix spacing for disk table widget headers when sorting 2022-11-06 02:26:16 -05:00
Clement Tsang 36837ae8ac
feature: basic sortable disk () 2022-11-06 01:34:32 -05:00
Clement Tsang 4d9f5093b2
feature: basic sortable temp ()
* feature: basic sortable temp

* add shortcuts

* fix missing shortcut names in header

* update changelog

* update docs
2022-11-05 19:32:14 -04:00
Clement Tsang e6e1e9d688
deps: update nvml to 0.8.0 () 2022-11-05 02:12:31 -04:00
ClementTsang 342d0da729
other: exclude more files in Cargo.toml 2022-11-05 01:00:33 -04:00
Clement Tsang ec21306f55
deps: update sysinfo to 0.26.7 () 2022-11-04 19:38:14 -04:00
Clement Tsang 6f95aaee34
ci: remove caching for release building ()
* ci: remove caching for release building

* standardize hyphen across some job names
2022-11-04 04:48:44 -04:00
Clement Tsang 76c3bc4254
refactor: clippy and small cleanup/comments ()
* refactor: small cleanup and comments in some code

* clippy

* more clippy

* fixes for macos/freebsd
2022-11-04 04:17:22 -04:00
Clement Tsang d56b551e39
ci: try only having cancel-in-progress for non-main branch () 2022-11-02 01:29:41 -04:00
ClementTsang 1adc032570
docs: update changelog for 2022-11-02 00:45:04 -04:00
Diana b8c73d3a0b
More human friendly temperature sensor naming ()
* More human friendly temperature sensor names

This makes the names more human friendly, and possible to distinguish from each other

* Keep hwmon sensor name for GPUs

* Keep hwmon sensor name for non-GPUs too

* fix device path
2022-11-02 00:43:58 -04:00
Clement Tsang 064d740c6d
refactor: move data passing for table to another step ()
* refactor: remove redundant scroll direction enum

This was made redundant from the table refactor.

* add some todos/docs

* refactor: temp hack to pass in data on process
2022-11-02 00:36:55 -04:00
Clement Tsang 3296feae50
ci: unify CI workflow with one ending step ()
* ci: unify CI workflow with one ending step

* update PR template
2022-10-30 19:20:41 -04:00
Clement Tsang e3ced72c2f
ci: add skip based on file changes for Cirrus tests ()
* ci: add skip based on file changes for Cirrus tests
2022-10-29 05:37:45 -04:00
Clement Tsang 568c48eb5f
ci: update workflows with setup-python to v4.3.0 ()
Updates any workflows with setup-python to use v4.3 due to node deprecation warnings.
2022-10-29 05:03:19 -04:00
Clement Tsang 99a353bade
docs: update docs lib versions as of 2022-10-29 ()
Updates the following document building libraries:

- `mkdocs` (1.3.1 -> 1.4.1)
- `mkdocs-material` (8.5.3 -> 8.5.7)
- `mkdocs-material-extensions` (1.0.3 -> 1.1.0)
2022-10-29 04:21:05 -04:00
Clement Tsang 8985e6ab67
ci: update comment on what build_release does 2022-10-28 00:37:24 -04:00
Clement Tsang fec56372bb
ci: use one skip check for CI workflow ()
Use one single skip check job for CI like other workflows.
2022-10-27 22:00:37 -04:00
Clement Tsang 51498e1238
ci: automatically create and get build artifacts from Cirrus CI ()
This automatically triggers and grabs the build artifacts for systems that are only supported on Cirrus CI (as of now, FreeBSD and M1 macOS).

* ci: add cirrus build trigger script

* ci: modify build scripts to include cirrus build

* fix some stuff

* update docs

* more fixes
2022-10-27 06:27:04 -04:00
Clement Tsang 5eba26f9e5
ci: add build alias for easier build artifact URLs () 2022-10-26 04:58:51 -04:00
Clement Tsang 4240a38ced
ci: test cancelling stale actions ()
Use Github Action's concurrency settings to cancel old actions in favour of newer ones.
2022-10-25 01:24:08 -04:00
Clement Tsang 97ba34e3f4
ci: add token secret to make codecov action more stable ()
The codecov action can sometimes fail; this change adds the repo codecov token to use by default to help alleviate this.
2022-10-25 00:03:39 -04:00
ClementTsang 7482e0b495
github: fix feature quest example text 2022-10-24 23:49:21 -04:00
ClementTsang 74288a8836
github: update feature request template 2022-10-24 23:48:13 -04:00
ClementTsang 045fe81af3
github: fix some issue template tags/titles 2022-10-24 18:51:00 -04:00
Clement Tsang 0b8224c015
ci: fix cirrus ci build cleanup () 2022-10-21 23:26:39 -04:00
Clement Tsang 59c214b733
ci: update codecov upload action to 3.1.1 ()
Deals with the node12 deprecation warning.
2022-10-21 22:41:05 -04:00
Clement Tsang 3fdd7cd48e
ci: add FreeBSD and macOS M1 builds ()
* add OS to fingerprint cache

* simplify cirrus test script

* cleanup and add start of build script

* add nightly cron job to CCI build, add artifact

* add docs

* avoid test task if cron
2022-10-21 10:47:55 -04:00
Clement Tsang f9732bbb9e
ci: merge all-feature and no-feature tests on Cirrus ()
Since it is a more limited platform for the public free tier,
particularly for macOS VMs, it seems better to combine the testing
scripts rather than using a matrix.
2022-10-20 06:41:20 -04:00
Clement Tsang fc90c549ef
ci: update GitHub CI to remove deprecated/unmaintained actions and commands ()
* ci: update rust-cache to 2.0.1

* ci: update dtolnay/rust-toolchain to ba37adf

* ci: update skip-duplicate-actions to v5.2.0

* ci: update ClementTsang/cargo-action to v0.0.3

* ci: update to macos-12

* ci: update ghaction-chocolatey to 2.1.0

* ci: update upload-artifact to v3.1.0

* ci: change from actions-rs to rustsec for audit-check

* ci: stop using actions-rs for builds

* ci: update cirrus to use tlsv1.2 when curling

* ci: disable macOS ARM workflows on GHA since its built on Cirrus
2022-10-20 06:24:04 -04:00