Skip to content

audit F4 [UX]: ProposalCreated action_description = format!("{action:?}") #571

@intendednull

Description

@intendednull

File: crates/client/src/mutations.rs:948
Severity: UX
Obvious? yes

action_description: format!("{action:?}") emits the Rust Debug rendering of ProposedAction (e.g. "Kick { peer: PeerId(...) }") for downstream UI display in proposal/vote prompts. Brittle and ugly user-facing text.

Fix: implement Display for ProposedAction that produces sentence-style prose ("Kick @alice from this server") and use it.


Filed by /general-audit @ 6404719 (2026-05-03). master: #567.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions