Skip to content

Commit 2234094

Browse files
feat(protocol): add route fragment and route registry to schema
- WebUIFragmentRoute proto message (path, fragment_id, exact, name) - RouteRecord for top-level route registry - component_templates map for f-template delivery - Route parser extracting <route> elements from HTML - Parser plugin: as_any downcasting, generate_f_template dedup - BTR-to-FAST conversion for <route> to <webui-route> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7ae0fd4 commit 2234094

8 files changed

Lines changed: 1798 additions & 835 deletions

File tree

crates/webui-handler/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ impl WebUIHandler {
193193
p.on_plugin_data(&plugin_frag.data, context.writer)?;
194194
}
195195
}
196+
Some(Fragment::Route(_)) => {
197+
// Route fragments are handled by the route-aware render path.
198+
// When no route matching is active, route fragments are skipped.
199+
}
196200
None => {}
197201
}
198202
}

0 commit comments

Comments
 (0)