mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[PR #1193] [MERGED] refactor(config): prefer serde(default) attr at struct-level #5434
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#5434
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/1193
Author: @JakeStanger
Created: 10/13/2025
Status: ✅ Merged
Merged: 10/13/2025
Merged by: @JakeStanger
Base:
master← Head:refactor/serde-default📝 Commits (1)
3faff44refactor(config): preferserde(default)attr at struct-level📊 Changes
25 files changed (+448 additions, -621 deletions)
View changed files
📝
src/clients/bluetooth.rs(+6 -2)➕
src/config/default.rs(+17 -0)📝
src/config/mod.rs(+9 -46)📝
src/modules/battery.rs(+13 -11)📝
src/modules/bluetooth/config.rs(+71 -151)📝
src/modules/cairo.rs(+11 -10)📝
src/modules/clipboard.rs(+12 -13)📝
src/modules/clock.rs(+4 -14)📝
src/modules/custom/image.rs(+12 -5)📝
src/modules/custom/progress.rs(+13 -3)📝
src/modules/custom/slider.rs(+16 -9)📝
src/modules/focused.rs(+6 -12)📝
src/modules/keyboard.rs(+22 -38)📝
src/modules/launcher/mod.rs(+30 -45)📝
src/modules/menu/config.rs(+5 -23)📝
src/modules/menu/mod.rs(+1 -1)📝
src/modules/music/config.rs(+71 -111)📝
src/modules/networkmanager.rs(+9 -4)📝
src/modules/notifications.rs(+18 -38)📝
src/modules/script.rs(+12 -11)...and 5 more files
📄 Description
This removes a lot of default-oriented code, instead replacing it with a proper
Defaultimplementation and using#[serde(default)]at the struct level, instead of per-field.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.