bluerobotics/cockpit

frontend: Alerter: use priority queue for alerts

Open

#2,303 创建于 2025年12月11日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)Vue (55 fork)auto 404
enhancementgood first issuesafetyuxwidget-specific

仓库指标

Star
 (181 star)
PR 合并指标
 (PR 指标待抓取)

描述

Current behaviour

Alerts get queued up FIFO, and displayed at speaking speed (since #2280), so if a collection of alerts appear in close sequence then a critical alert at the end could waste several precious seconds while the alerter speaks every alert before it.

Expected or desired behaviour

If we instead use a priority queue for the alertStore.alerts, where priority is determined by the alert severity, the most important alerts would always appear soonest, slowed down only by the one which is currently being read.

Prerequisites

  • I have checked to make sure that a similar request has not already been filed or fixed.

贡献者指南