Split main_view.rs into components #63

Merged
littlefox merged 5 commits from issue-49-split-views into main 2026-10-17 19:51:59 +00:00
Owner

Closes #49

main_view.rs (730 lines, one component) becomes app/src/main_view/ with top_bar, conf_nav, reader and side_panel components; mod.rs keeps the reading state and actions. No behaviour change: e2e 33/33 locally. DESIGN.md §1 describes the parts.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #49 main_view.rs (730 lines, one component) becomes app/src/main_view/ with top_bar, conf_nav, reader and side_panel components; mod.rs keeps the reading state and actions. No behaviour change: e2e 33/33 locally. DESIGN.md §1 describes the parts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Split main_view.rs into components
Some checks failed
ci / check (push) Failing after 5m0s
ci / desktop (push) Successful in 13m58s
ci / e2e (push) Successful in 15m30s
2a8c096519
main_view.rs was one 730-line component. The top bar, the conference
column, the side panel and the reader's banners and command bar are
now their own components under app/src/main_view/, each keeping its
own form state. mod.rs keeps the reading state and the actions. No
behaviour change; 0.2's phone layout, palette and tour build on this.

Refs #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
every_key_is_translated read src/ flat and failed on the new
main_view/ directory ("Is a directory"). It now walks the tree, and
asserts that it found main_view/conf_nav.rs so a future layout change
can't silently skip files.

Refs #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Merge remote-tracking branch 'origin/main' into issue-49-split-views
Some checks failed
packaging / release (push) Has been skipped
packaging / nix (push) Successful in 34m19s
ci / check (push) Failing after 6m24s
ci / e2e (push) Successful in 13m21s
ci / desktop (push) Successful in 14m58s
packaging / arch (push) Successful in 12m59s
packaging / debian (push) Successful in 25m49s
packaging / fedora (push) Successful in 26m16s
d24a36589c
Re-run CI (run #92: runner lost its Docker socket after the tests passed)
Some checks failed
ci / check (push) Failing after 9m15s
ci / desktop (push) Successful in 12m38s
ci / e2e (push) Successful in 18m30s
c714ff2386
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Merge remote-tracking branch 'origin/main' into issue-49-split-views
All checks were successful
ci / check (push) Successful in 7m15s
ci / desktop (push) Successful in 13m42s
ci / e2e (push) Successful in 19m11s
1e60859b23
Sign in to join this conversation.
No description provided.