Skip to content

lead web: route ?panels= parsing through a lead_page entry point (S8 P3 follow-up) #352

Open

Description

@n0rpan

Follow-up from the oxa-review P3 on PR oxstack/ox-llm#2573 (slice S8, oxstack/ox-llm#2347), fixed forward on main.

The stream's panel selector parser (panels_filter) is re-exported from the page module with pub(crate) use and called directly by the HTTP adapter (lead_http.rs). This works, but a small lead_page entry point (e.g. lead_page::parse_panels(&str) -> Option<Vec<String>>) would keep the HTTP adapter out of a page module's internals, matching how the rest of lead_page.rs exposes page concerns.

Scope: add the thin entry point in oxa/oxa-cli/src/lead_page.rs, call it from lead_http.rs stream handling, keep behaviour identical (unknown panel names still 404; all/none/?panels= semantics unchanged). No behaviour change; the existing stream/panel tests stay green.

Non-blocking (P3); no security or user-visible impact.

Activity

  1. transferred this issue fromon Nov 26, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions