feat(events): wire tag filter into Events query (VS-8) #24
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/event-store-vs-8"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
event_log::record+event_log::listwere already a real backing store (persistent docs + visibility-filtered fan-out); theControlIn::Eventshandler ignored itstagargument and the doc comment on the enum variant still said the action returned an empty stub. Fixes both.Changes
event_log::listgrows an optionaltagfilter that matches eitherevent.tag(string) or any entry inevent.tags(array).user_session::list_eventsthreads the new arg through; theControlIn::Eventsdispatch arm extracts the string form of thetagValue before forwarding.ControlIn::Events.Test plan
cargo test -p meshcentral-web --lib event_log(7/7 passing).cargo check -p meshcentral-webclean.dispatch_eventfrom a wasm plugin (VS-14 path) and confirm the SPA filters on it.Closes VS-8.