Skip to content

Warning bar should hold more than one message #19108

Description

@kevinushey

The application warning bar (ApplicationWindow.showWarning / GlobalDisplay.showWarningBar) holds a single message, so every new warning replaces whatever is showing and the replaced one never comes back. Startup is the common collision: the project encoding fallback (SessionProjectContext.cpp), the Quarto not-installed / too-old warnings (SessionQuarto.cpp), quota warnings (Workbench.java), and, with #18935, the project R version mismatch and renv restore prompts can all fire within a second or two of each other.

Proposal: let the warning bar hold several messages (stacked rows, or one row with prev/next and a count), each with its own action link and dismiss button. That would also give a per-message dismissed state, so a prompt re-sent on reconnect (e.g. the renv restore prompt after a browser refresh) can stay dismissed.

Raised in review of #18935.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions