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

Feature: reworking error toast notifications #18172

Open
wants to merge 7 commits into
base: v15/dev
Choose a base branch
from

Conversation

nielslyngsoe
Copy link
Member

@nielslyngsoe nielslyngsoe commented Jan 30, 2025

Making errors appear in a dialog + displaying errors for both 'detail'(string) and 'errors'(json).

See screenshots:

Case 1:
Insert this somewhere in a Server Controller code:
throw new NotImplementedException();

image
image

Case 2
Remove the front-end code of ${umbBindToValidation(this)} from name input in src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-editor.element.ts.

image
image

@bjarnef
Copy link
Contributor

bjarnef commented Jan 30, 2025

@nielslyngsoe for reference it would be nice with syntax highlighting for e.g. JSON.
It seems we can re-use Monaco editor API: #16706 (comment)

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/packages/core/notification/notification.context.ts
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.

2 participants