Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix: Entity Create Option Action Extension Point #2509

Merged
merged 40 commits into from
Nov 4, 2024

Conversation

madsrasmussen
Copy link
Contributor

@madsrasmussen madsrasmussen commented Nov 2, 2024

Description

This pull request introduces a new extension point to the Backoffice called "EntityCreateOptionAction." This extension will allow the registration of various options when creating an entity.

Currently, this endpoint is utilized to register two different user options: "Default User" and "API User," as Umbraco Cloud needs to remove one of these options.

In the future, we plan to convert all entity creation options into extensions.

How it works:

When multiple options are registered for an entity, a modal or dropdown will appear, allowing the user to select their desired option. If only one option is registered, that option will be executed when the "Create" action is clicked.

Additionally, this pull request introduces an "Create" "Entity Action" , which includes the logic mentioned above.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

@madsrasmussen madsrasmussen marked this pull request as ready for review November 4, 2024 06:03
@nielslyngsoe nielslyngsoe self-requested a review November 4, 2024 08:22
…point

# Conflicts:
#	src/packages/core/collection/manifests.ts
Copy link
Member

@nielslyngsoe nielslyngsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really great new ability

@nielslyngsoe nielslyngsoe merged commit 404ee93 into release/15.0 Nov 4, 2024
8 checks passed
@nielslyngsoe nielslyngsoe deleted the v15/hotfix/create-options-extension-point branch November 4, 2024 13:17
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.

2 participants