Skip to content

Backoffice: Add Entity Signs (overlay icons) to tree items.#20328

Merged
madsrasmussen merged 80 commits intomainfrom
v16/feature/entity-signs
Oct 8, 2025
Merged

Backoffice: Add Entity Signs (overlay icons) to tree items.#20328
madsrasmussen merged 80 commits intomainfrom
v16/feature/entity-signs

Conversation

@engijlr
Copy link
Contributor

@engijlr engijlr commented Oct 1, 2025

Summary

Adds Entity Signs to the Backoffice: small overlay icons (with labels) shown on tree/collection items. Signs can be activated by Flags returned from the Management API. Weights decide which sign is the primary one; hover always reveals the rest.

What changed

-New Sign kind (icon): renders an icon (and accepts optional meta.iconColor).
-Flag binding: Sign manifests can declare forEntityFlags so flags from the API auto-activate the sign.
-Initial signs for documents:

  • IsProtected (lock icon), weight: 1000, supports meta.iconColor.
  • HasPendingChanges (edit icon), bound to Umb.PendingChanges.
  • HasScheduledPublish (time icon), bound to Umb.ScheduledForPublish; can overwrite the pending-changes sign and has weight: 500.

How to test

-Create documents that trigger flags: IsProtected, PendingChanges, ScheduledForPublish.
-Open the content tree:

  • Primary sign shows on the item; others appear on hover.
  • When scheduled + pending, schedule can overwrite pending (see manifest).

@madsrasmussen madsrasmussen enabled auto-merge (squash) October 8, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants