@elementor/editor-audits 4.3.1 → 4.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/editor-audits",
3
- "version": "4.3.1",
3
+ "version": "4.3.3",
4
4
  "private": false,
5
5
  "author": "Elementor Team",
6
6
  "homepage": "https://elementor.com/",
@@ -39,19 +39,19 @@
39
39
  "dev": "tsup --config=../../tsup.dev.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@elementor/editor": "4.3.1",
43
- "@elementor/editor-mcp": "4.3.1",
44
- "@elementor/editor-app-bar": "4.3.1",
45
- "@elementor/editor-elements": "4.3.1",
46
- "@elementor/editor-floating-panels": "4.3.1",
47
- "@elementor/editor-notifications": "4.3.1",
48
- "@elementor/editor-v1-adapters": "4.3.1",
49
- "@elementor/events": "4.3.1",
50
- "@elementor/http-client": "4.3.1",
42
+ "@elementor/editor": "4.3.3",
43
+ "@elementor/editor-mcp": "4.3.3",
44
+ "@elementor/editor-app-bar": "4.3.3",
45
+ "@elementor/editor-elements": "4.3.3",
46
+ "@elementor/editor-floating-panels": "4.3.3",
47
+ "@elementor/editor-notifications": "4.3.3",
48
+ "@elementor/editor-v1-adapters": "4.3.3",
49
+ "@elementor/events": "4.3.3",
50
+ "@elementor/http-client": "4.3.3",
51
51
  "@elementor/icons": "~1.77.0",
52
- "@elementor/locations": "4.3.1",
53
- "@elementor/session": "4.3.1",
54
- "@elementor/store": "4.3.1",
52
+ "@elementor/locations": "4.3.3",
53
+ "@elementor/session": "4.3.3",
54
+ "@elementor/store": "4.3.3",
55
55
  "@elementor/ui": "1.37.5"
56
56
  },
57
57
  "peerDependencies": {
@@ -24,6 +24,10 @@ export const audit: Audit = {
24
24
  label: __( 'Page has no title.', 'elementor' ),
25
25
  targetHint: 'page-settings',
26
26
  angieFix: true,
27
+ angiePrompt: __(
28
+ "Based on this page's contents, generate a title for this page.",
29
+ 'elementor'
30
+ ),
27
31
  },
28
32
  ],
29
33
  };
@@ -159,7 +159,9 @@ export default function ViolationRow( { audit, skipReason, violations }: Props )
159
159
  ) }
160
160
  </Box>
161
161
  { violation.angieFix && (
162
- <FixViolationWithAngie prompt={ buildAngiePrompt( rowLabel ) } />
162
+ <FixViolationWithAngie
163
+ prompt={ violation.angiePrompt ?? buildAngiePrompt( rowLabel ) }
164
+ />
163
165
  ) }
164
166
  { violation.ctaLabel && violation.externalUrl ? (
165
167
  <ViolationCtaButton
package/src/types.ts CHANGED
@@ -38,6 +38,7 @@ export type AuditViolation = {
38
38
  label: string;
39
39
  detail?: string;
40
40
  angieFix?: boolean;
41
+ angiePrompt?: string;
41
42
  ctaLabel?: string;
42
43
  };
43
44