Skip to content

fixes: collections duplicate, unpublish, and public publishing fixes#37

Merged
Yona-Appletree merged 5 commits into
mainfrom
feature/fixes
Apr 16, 2026
Merged

fixes: collections duplicate, unpublish, and public publishing fixes#37
Yona-Appletree merged 5 commits into
mainfrom
feature/fixes

Conversation

@Yona-Appletree

Copy link
Copy Markdown

Created from branch feature/fixes

- ElasticsearchClientManager: exclude elasticsearchTemplate bean from
  readonly profile with @Profile(!readonly)
- ReadOnlyElasticsearchConfig: rename bean method from
  readOnlyElasticsearchTemplate to elasticsearchTemplate so it's picked
  up by @EnableElasticsearchRepositories
- SpringTest.HasElasticsearchReset: handle NoSuchIndexException gracefully
  to support readonly profile tests

Made-with: Cursor
The public collection view was requesting archived and draft skills along
with published ones. Filter the collection skills query to Published
status only, and add a unit test for the getCollectionSkills call.

Made-with: Cursor
Published collections can return to draft via a new action. If the
collection was synced to the Credential Registry, re-sync runs after
unpublish so the registry reflects draft status. Publish confirmation
copy no longer claims collections cannot be unpublished.

Made-with: Cursor
Add POST /api/v3/collections/{uuid}/duplicate that creates a draft copy
with the same skills, using ApiCollectionUpdate for name, description,
and author from the client.

Wire Angular route collections/:uuid/duplicate, duplicate flow on the
collection form (Copy of prefix and notACopy validation), manage
collection action, and tests for API and UI.

Made-with: Cursor
The new Duplicate Collection action at index 2 shifted all subsequent
actions, causing the test to call unpublishAction (native confirm dialog)
instead of archiveAction -- crashing headless Chrome.

Made-with: Cursor
@Yona-Appletree Yona-Appletree merged commit 0763261 into main Apr 16, 2026
3 checks 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