mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[PR #371] [MERGED] refactor: begin restructuring core code to better encapsulate #9098
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#9098
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/371
Author: @JakeStanger
Created: 12/8/2023
Status: ✅ Merged
Merged: 12/9/2023
Merged by: @JakeStanger
Base:
master← Head:refactor/encapsulate📝 Commits (1)
b2fa19arefactor: begin restructuring core code to better encapsulate📊 Changes
14 files changed (+493 additions, -418 deletions)
View changed files
📝
src/bar.rs(+222 -166)📝
src/cli.rs(+0 -0)📝
src/clients/system_tray.rs(+2 -3)📝
src/clients/wayland/wlr_data_control/mod.rs(+2 -3)📝
src/clients/wayland/wlr_foreign_toplevel/handle.rs(+2 -3)📝
src/dynamic_value/dynamic_bool.rs(+3 -3)📝
src/dynamic_value/dynamic_string.rs(+3 -3)➖
src/global_state.rs(+0 -43)📝
src/ipc/mod.rs(+1 -6)📝
src/ipc/server.rs(+77 -63)📝
src/ironvar.rs(+7 -11)📝
src/main.rs(+162 -99)📝
src/popup.rs(+12 -6)➖
src/unique_id.rs(+0 -9)📄 Description
This is a first pass towards trying to structure things a bit better, with data generally encapsulated under a single hierarchical tree, rather than lots of globals all over the place. Lots of work is still required.
The plan is that with this and some more work, #291 should become a lot easier to sort.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.