159 Commits

Author SHA1 Message Date
Samuel Åkesson
158ff72610 WIP: experiment with zbus 2026-04-29 11:41:50 +02:00
Samuel Åkesson
63b3b185f9 refactor: use single-threaded tokio and only pull in features we use 2026-04-17 12:58:32 +02:00
Samuel Åkesson
9d18fe7d7e refactor(favorite): stop using async fs operations, simplify and optimize 2026-04-17 12:54:18 +02:00
ozkucukemre
0e3118feb0 fix(handler): make Tab reset devices state like BackTab (#136) 2026-04-16 22:02:27 +02:00
Samuel Åkesson
1435e67208 fix: fallback to selecting first controller during refresh, if None selected 2026-04-16 21:51:35 +02:00
Samuel Åkesson
45ced96185 chore: remove unnecessary comments 2026-04-16 21:46:40 +02:00
Samuel Åkesson
601c2890c2 refactor(app): break out rendering every main block into its own method 2026-04-16 21:40:31 +02:00
Samuel Åkesson
d6ada7f337 refactor(app): use shorthands for styles in new_devices_table 2026-04-16 21:23:29 +02:00
Samuel Åkesson
239658d843 refactor(app): use shorthands for styles and creating rows for paired_devices_table 2026-04-16 21:12:36 +02:00
Samuel Åkesson
fdf01ff1be chore: remove newline 2026-04-16 21:01:12 +02:00
Samuel Åkesson
589e30adb8 refactor(alias): further condense render_set_alias 2026-04-16 20:59:25 +02:00
Samuel Åkesson
c83103f422 refactor(alias): simplify and use modern ratatui 2026-04-16 18:56:52 +02:00
Samuel Åkesson
fece3184e2 refactor(app): move render_set_alias into its own module 2026-04-16 18:38:02 +02:00
Samuel Åkesson
b9f2e4bbf9 refactor(app): remove unnecessary clone 2026-04-16 18:13:18 +02:00
Samuel Åkesson
d856fefe9b refactor(app): use more fluent methods for setting colors in styles of controller table 2026-04-16 18:13:18 +02:00
Samuel Åkesson
e3303d938b refactor(app): deduplicate controller table header creation 2026-04-16 18:13:18 +02:00
Samuel Åkesson
8243865147 refactor(app): use modern .areas for splitting app area 2026-04-16 18:13:18 +02:00
Samuel Åkesson
5b2f9888e6 fix(test): all of those tests were actually good.. i was encountering OS error when saving snapshot
i'm an idiot...
2026-04-16 17:50:16 +02:00
Samuel Åkesson
90504d8d47 chore: satisfy lints added in rust 1.95 2026-04-16 17:41:53 +02:00
Samuel Åkesson
58595bf051 chore: enable some pedantic clippy lints and satisfy all lints 2026-04-16 17:21:41 +02:00
Samuel Åkesson
3450b4f430 chore: only use bluetoothd feature of bluer 2026-04-16 16:53:34 +02:00
Samuel Åkesson
30223fd8cb chore: stop using clap:s cargo feature, hardcode to "bluetui" 2026-04-16 16:53:34 +02:00
Badr
55423b5e7b fix(rfkill): check all the controllers 2026-04-13 16:42:19 +02:00
Samuel Åkesson
6401c78a01 chore: add cargo test to precommit 2026-04-13 14:33:08 +02:00
Samuel Åkesson
fcb4624b3e fix(test): split into good and bad tests 2026-04-13 14:30:11 +02:00
Samuel Åkesson
2e013f0854 test: add snapshot tests for confirmation request 2026-04-12 17:45:56 +02:00
Samuel Åkesson
b1a76e8507 test: add snapshot tests for notification 2026-04-12 17:42:57 +02:00
Samuel Åkesson
d704e65313 Revert "refactor: make Config::new fallible"
This reverts commit 0a4f5e3e6d.
2026-04-11 15:52:29 +02:00
Samuel Åkesson
0a4f5e3e6d refactor: make Config::new fallible 2026-04-11 15:39:34 +02:00
Samuel Åkesson
4aa81f3383 refactor: combine match arms and rename sender for crossterm event stram task 2026-04-11 14:58:22 +02:00
Samuel Åkesson
e073035573 refactor: use is_some_and 2026-04-11 14:57:55 +02:00
Samuel Åkesson
e683f45e35 chore: bump dependencies 2026-04-10 19:26:51 +02:00
Samuel Åkesson
d035965a8f refactor: use modern shorthand for vertical/horizontal layout (#133) 2026-04-10 19:11:15 +02:00
Samuel Åkesson
9f67a6e65e fix(ci): it's called master, not main 2026-04-10 19:09:32 +02:00
Samuel Åkesson
b554960968 build: update ci, inspired by ratatui 2026-04-10 19:02:57 +02:00
Samuel Åkesson
c53e544ab9 test: add snapshot test for enter_pin_code 2026-04-10 18:19:16 +02:00
Samuel Åkesson
2e169e2e26 test: add snapshot test for help 2026-04-10 18:19:16 +02:00
Samuel Åkesson
cf857c87e8 test: add rstest and insta 2026-04-10 18:19:16 +02:00
Samuel Åkesson
ef159d7e3c refactor: Un-nest code. Use clap-derive. (#122) 2026-02-05 22:15:52 +01:00
Badr
584873698c Readme: update Gentoo install 2026-01-24 22:08:11 +01:00
Badr
c959c09bb1 release v0.8.1 v0.8.1 2026-01-17 23:27:31 +01:00
Badr
4682463b15 bump dependencies 2026-01-11 20:31:23 +01:00
Badr
1aee8b1569 build static binaries 2026-01-09 23:05:36 +01:00
Joseph DePalo
af36197bff implement list wrapping (#113)
Co-authored-by: Joseph DePalo <jdepalo@proton.me>
2026-01-03 20:03:21 +01:00
Khashayar Fereidani
fda1022924 Optimization and refactoring (#104)
* Fix cloning whole device in sorting

* Optimizes is_mac_addr implementation

* Refactor StringRef to derive Clone instead of manual implementation

* Improves is_mac_addr implemenation
2025-12-10 13:27:09 +01:00
Samuel Åkesson
0a51389a85 Implement favorite paired devices (#74) 2025-12-09 21:03:39 +01:00
Badr
b6e5870aca update Readme 2025-12-09 00:13:31 +01:00
Dalton Caron
aca9b2e5ae Fix index out of bounds panic when paired devices are removed (#99) 2025-11-22 23:17:49 +01:00
Jeff Nunn
6cd286fd66 Binds <Esc> to quit in contexts where q or ctrl+c is accepted as quit (#98) 2025-11-22 23:05:45 +01:00
Khashayar Fereidani
b6427dfd77 Few optimization and heap allocation elimination (#97)
* optimize controller refresh by removing unplugged adapters in a single pass

* refactor Device struct to use static string for icon and update get_icon return type

* refactor notification system to use StringRef for optimized message handling and add StringRef module

* refactor padding functions to use preallocated buffer and Cow for optimized string handling in requests
2025-11-19 20:13:01 +01:00