Skip to content

Commit d5b4481

Browse files
authored
docs(developer): update the context menu module (#648)
1 parent 7138aa7 commit d5b4481

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/content/docs/developer/modules/ui-modules/context-menu.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Context menu item shows the specified module in the modal.
6868
"location": "source_file",
6969
"type": "modal",
7070
"module": {
71-
"project-integrations": "integration-module-key"
71+
"modal": "modal-module-key"
7272
},
7373
"signaturePatterns": {
7474
"fileName": ".*\\.json",
@@ -77,11 +77,10 @@ Context menu item shows the specified module in the modal.
7777
}
7878
}
7979
],
80-
"project-integrations": [
80+
"modal": [
8181
{
82-
"key": "integration-module-key",
83-
"name": "New Integration",
84-
"logo": "/integration-logo.png",
82+
"key": "modal-module-key",
83+
"name": "New Modal",
8584
"url": "/path/to/integration/module"
8685
}
8786
]
@@ -186,7 +185,7 @@ Context menu item opens a new tab with the URL: `baseUrl/options.url`.
186185
<td>
187186
<p><strong>Type:</strong> <code>string</code></p>
188187
<p><strong>Required:</strong> yes</p>
189-
<p><strong>Allowed values:</strong> <code>tm</code>, <code>glossary</code>, <code>language</code>, <code>screenshot</code>, <code>source_file</code>, <code>translated_file</code></p>
188+
<p><strong>Allowed values:</strong> <code>tm</code>, <code>glossary</code>, <code>style_guide</code>, <code>language</code>, <code>screenshot</code>, <code>source_file</code>, <code>translated_file</code></p>
190189
<p><strong>Description:</strong> The location in UI where the context menu can be added.</p>
191190
</td>
192191
</tr>

0 commit comments

Comments
 (0)