Skip to content

#448-B: Write dormant App: ShellApp impl (sub-task 2/3 of #448) #539

Description

@JDonaghy

Sub-task of #448 — Migrate GTK event dispatch to ShellApp::handle(UiEvent)

Scope (chunk 2 of 3): #448-B: Write dormant App: ShellApp impl

Add an impl ShellApp for App block to src/gtk/mod.rs. The impl is NOT wired up — it compiles alongside the Relm4 path with no behavior change. fn handle() matches on UiEvent variants and delegates to self.handle_key_press(...) or self.dispatch(Msg::...) as appropriate. fn render_content() may be a stub (todo!()). Read only: (a) ~/src/quadraui/quadraui/src/shell.rs lines 205-250 for the ShellApp trait; (b) src/gtk/mod.rs lines 5280-9768 for fn handle_key_press key-routing logic; (c) src/gtk/mod.rs lines 4890-5279 for fn dispatch_engine_action mouse/action routing. DO NOT touch fn init, fn update, enum Msg, or pub fn run(). Do not wire up the ShellApp runner. Exit criterion: cargo build passes, no behavior change. Depends on #448-A.

Files likely touched

  • src/gtk/mod.rs

Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coordTracked by coord-tui pipelineenhancementNew feature or requestinfrastructureBuild, CI, distributionstatus:readyRefined and ready to enter the work pipelinesub-taskSub-task of a parent issue

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions