mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[PR #1262] [MERGED] refactor(clients): use concrete errors where possible #9693
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#9693
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/ironbar/pull/1262
Author: @JakeStanger
Created: 11/26/2025
Status: ✅ Merged
Merged: 11/27/2025
Merged by: @JakeStanger
Base:
master← Head:refactor/thiserror📝 Commits (2)
7ae773arevert: fix(logging): panic messages have escaped ansi sequences2abb847refactor(clients): use concrete errors where possible📊 Changes
21 files changed (+209 additions, -147 deletions)
View changed files
➕
.idea/scopes/clients.xml(+3 -0)📝
Cargo.lock(+57 -22)📝
Cargo.toml(+2 -1)📝
src/clients/bluetooth.rs(+3 -4)📝
src/clients/compositor/hyprland.rs(+2 -2)📝
src/clients/compositor/mod.rs(+29 -25)📝
src/clients/compositor/niri/connection.rs(+6 -4)📝
src/clients/compositor/niri/mod.rs(+2 -3)📝
src/clients/compositor/sway.rs(+5 -2)📝
src/clients/libinput.rs(+24 -6)📝
src/clients/music/mod.rs(+2 -1)📝
src/clients/music/mpd.rs(+3 -5)📝
src/clients/music/mpris.rs(+1 -2)📝
src/clients/networkmanager.rs(+1 -2)📝
src/clients/sway.rs(+4 -4)📝
src/clients/swaync/mod.rs(+2 -2)📝
src/clients/sysinfo.rs(+12 -4)📝
src/clients/wayland/mod.rs(+40 -26)📝
src/clients/wayland/wlr_data_control/mod.rs(+5 -3)📝
src/clients/wayland/wlr_data_control/source.rs(+1 -2)...and 1 more files
📄 Description
This is the first of many steps to improve the codebase and decouple the client code from the rest of the codebase. The hope is that eventually the repo can be split into a workspace with multiple packages to try and keep code sanitary and maybe even improve compilation times.
Also includes a downgrade of
tracing-subscriber, which fixes the ANSI characters showing in errors, and reverts attempted fixes put in place for the upgrade🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.