fixes: collections duplicate, unpublish, and public publishing fixes#37
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created from branch feature/fixes