Watch
0
0
Fork
You've already forked hyperhive
0

dashboard: remove the state-file endpoint, the file_refs path scan and the unused marked and dompurify deps

This commit is contained in:
iris 2026-10-22 00:02:43 +02:00 • committed by mara
commit 6d080ea28b
11 changed files with 12 additions and 419 deletions

View file

@ -469,7 +469,6 @@ fn spawn_broker_to_dashboard_forwarder(coord: Arc<Coordinator>) {
at,
in_reply_to,
}) => {
let file_refs = dashboard::scan_validated_paths(&body);
coord.emit_dashboard_event(DashboardEvent::Sent {
seq: coord.next_seq(),
id,
@ -478,7 +477,6 @@ fn spawn_broker_to_dashboard_forwarder(coord: Arc<Coordinator>) {
body,
at: hive_sh4re::wire_time::from_secs(at),
in_reply_to,
file_refs,
});
}
Ok(MessageEvent::Delivered {
@ -489,7 +487,6 @@ fn spawn_broker_to_dashboard_forwarder(coord: Arc<Coordinator>) {
at,
in_reply_to,
}) => {
let file_refs = dashboard::scan_validated_paths(&body);
coord.emit_dashboard_event(DashboardEvent::Delivered {
seq: coord.next_seq(),
id,
@ -498,7 +495,6 @@ fn spawn_broker_to_dashboard_forwarder(coord: Arc<Coordinator>) {
body,
at: hive_sh4re::wire_time::from_secs(at),
in_reply_to,
file_refs,
});
}
Err(tokio::sync::broadcast::error::RecvError::Lagged(n)) => {