Added clickable more info links to designer validation issues (#19365)

* added clickable more info links to designer validation issues

* fix selection issue

* remove more info if none

* change quote style

* clear the dom node
This commit is contained in:
Aditya Bist
2022-05-13 13:35:22 -07:00
committed by GitHub
parent 8352c7631c
commit 128767c713
4 changed files with 33 additions and 5 deletions

View File

@@ -239,7 +239,12 @@ export type DesignerPropertyPath = (string | number)[];
export const DesignerRootObjectPath: DesignerPropertyPath = [];
export type DesignerIssueSeverity = 'error' | 'warning' | 'information';
export type DesignerIssue = { description: string, propertyPath?: DesignerPropertyPath, severity: DesignerIssueSeverity };
export type DesignerIssue = {
description: string,
propertyPath?: DesignerPropertyPath,
severity: DesignerIssueSeverity,
moreInfoLink?: string;
};
export interface DesignerEditResult {
isValid: boolean;