Skip to content

chore: refactor large monolithic modules into smaller submodules#3

Merged
shitz merged 4 commits into
mainfrom
refactor
Apr 9, 2026
Merged

chore: refactor large monolithic modules into smaller submodules#3
shitz merged 4 commits into
mainfrom
refactor

Conversation

@shitz

@shitz shitz commented Apr 9, 2026

Copy link
Copy Markdown
Owner

This PR is a purely structural refactor with no user-visible behaviour changes, plus one performance fix in the render hot path. The goal is to increase maintainability and modularity.

app.rs -> app/{mod,keyboard,routing,settings_bridge}.rs
theme.rs -> theme/{mod,buttons,containers,inputs,progress,segmented,selection}.rs
inspector.rs -> inspector/{mod,state,update,view}.rs
auth.rs -> auth/{mod,update,view}.rs

Also, improved performance in the render hot path by eliminating per-frame heap allocations for torrent filtering.

@shitz
shitz merged commit c9b01fd into main Apr 9, 2026
3 checks passed
@shitz
shitz deleted the refactor branch April 9, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant