Changes Button

Adds a Changes button that diffs unsaved or draft edits against the published version

Community 182 128/wk MIT v0.1.3

Installation

pnpm add @shefing/changes-button

About

Changes Button adds a Changes button to the edit screen of drafts-enabled collections and globals. The button only appears when a document has unpublished edits and the editor is allowed to publish, so it signals work that still needs to go live. Clicking it opens a drawer with a field-by-field comparison against the published version, using the same diff view Payload uses in its Versions screen. Editors can switch between the live form values and the latest saved draft. Excluded collections and globals can be left out, and the interface text follows the admin language.

Package info

Package name
@shefing/changes-button
Latest version
0.1.3
Unpacked size
395 kB
License
MIT
Weekly downloads
128
Last publish
May 7, 2026

More from shefing

View profile

Role-based permissions per collection and global, with field-level access

Records who created, edited and published each document in collections and globals

Adds row-based quick filters above collection lists in the admin panel

Attribute-based access control that limits Payload documents by user attributes

Adds updated-at and updated-by details to the Payload version history view

Similar plugins

More in Content

Adds question-based conditions that decide which pages a visitor sees

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Visual drag-and-drop page builder for Payload collections with live canvas editing

Adds a parent field and breadcrumbs to collections so documents can nest inside each other