Split main_view.rs into smaller components #49

Closed
opened 2026-10-17 17:29:47 +00:00 by littlefox · 1 comment
Owner

main_view.rs (765 lines) and text_view.rs (656) hold most of the UI. 0.2 adds a phone layout, a command palette and a tour on top of them, so split them first, while the e2e suite guards the behaviour.

Done when:

  • The side panel, the conference list, the reader and the status line are their own components/files.
  • No behaviour change: the e2e suite and the desktop smoke test pass untouched.
  • DESIGN.md's UI section names the new pieces.

From docs/ROADMAP.md, 0.2 "Feels like an app".

main_view.rs (765 lines) and text_view.rs (656) hold most of the UI. 0.2 adds a phone layout, a command palette and a tour on top of them, so split them first, while the e2e suite guards the behaviour. Done when: - The side panel, the conference list, the reader and the status line are their own components/files. - No behaviour change: the e2e suite and the desktop smoke test pass untouched. - DESIGN.md's UI section names the new pieces. From docs/ROADMAP.md, 0.2 "Feels like an app".
Author
Owner

Merged in #63 (CI run #107 green). app/src/main_view/ now has top_bar, conf_nav, reader and side_panel; mod.rs keeps the reading state and actions. No behaviour change: e2e 33/33 before the split's follow-ups, desktop smoke in CI green. The i18n test now scans subdirectories.

Merged in #63 (CI run #107 green). app/src/main_view/ now has top_bar, conf_nav, reader and side_panel; mod.rs keeps the reading state and actions. No behaviour change: e2e 33/33 before the split's follow-ups, desktop smoke in CI green. The i18n test now scans subdirectories.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
littlefox/neokom#49
No description provided.