Skip to content

Show unsaved-edit badges on manuscript issue tabs #3399

Description

@atomantic

Problem

client/src/components/pipeline/manuscript/ManuscriptIssueTabs.jsx shows open-comment badges but no unsaved-edit state; a user with an unblurred edit on issue 3 who tabs to issue 7 gets no cue that issue 3 has a pending edit (sections save on blur only).

Decision

Add a small dirty dot/badge per tab, driven by the same dirty tracking the beforeunload guard uses (shipping in better/bugs-perf) — lift it to a per-issue map so tabs can subscribe.

Acceptance

  • Editing a section marks its issue tab until saved; badge clears on successful save

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestplanTracked by /do:replanseverity:lowuxProposed from a UX/design audit

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions