Skip to content

feat: add whiteboard library template hooks (0.18 line) - #18

Merged
hweihwang merged 2 commits into
release-base-0.18.0from
whiteboard-library-template-support-0.18
Jun 11, 2026
Merged

feat: add whiteboard library template hooks (0.18 line)#18
hweihwang merged 2 commits into
release-base-0.18.0from
whiteboard-library-template-support-0.18

Conversation

@hweihwang

@hweihwang hweihwang commented Jun 11, 2026

Copy link
Copy Markdown

Adds the library/template hooks the Nextcloud Whiteboard app needs for template management (nextcloud-gmbh/customer-feature-requests#1705), ported to the stable 0.18 release line so the app can ship the feature without adopting the upstream excalidraw sync (that adoption is tracked separately in nextcloud/whiteboard#1161).

New ExcalidrawProps:

  • libraryMenuTitle / libraryMenuDescription — custom heading for the library panel
  • onLibrarySaveAs(items) — "Save as library…" dropdown action (writable items only)
  • onSaveAsCanvasTemplate() — "Save as canvas…" dropdown action

Library panel changes:

  • Items tagged with libraryName (new TaggedLibraryItem type) render as read-only sections grouped by source library: insertable/draggable, never selectable, excluded from reset/delete/publish and from "Save as library".
  • Untagged items remain the writable personal library.

This is the same feature as the master-based branch whiteboard-library-template-support, minus the new-layout-only fixes (searchMatches guards, build script defines, size-limit paths) that don't apply to this line.

Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
@hweihwang
hweihwang merged commit 18a5c34 into release-base-0.18.0 Jun 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant