Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions src/content/docs/developer/modules/ui-modules/context-menu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Context menu item shows the specified module in the modal.
"location": "source_file",
"type": "modal",
"module": {
"project-integrations": "integration-module-key"
"modal": "modal-module-key"
},
"signaturePatterns": {
"fileName": ".*\\.json",
Expand All @@ -77,11 +77,10 @@ Context menu item shows the specified module in the modal.
}
}
],
"project-integrations": [
"modal": [
{
"key": "integration-module-key",
"name": "New Integration",
"logo": "/integration-logo.png",
"key": "modal-module-key",
"name": "New Modal",
"url": "/path/to/integration/module"
}
]
Expand Down Expand Up @@ -186,7 +185,7 @@ Context menu item opens a new tab with the URL: `baseUrl/options.url`.
<td>
<p><strong>Type:</strong> <code>string</code></p>
<p><strong>Required:</strong> yes</p>
<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>
<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>
<p><strong>Description:</strong> The location in UI where the context menu can be added.</p>
</td>
</tr>
Expand Down
Loading