Rate this page:
Forge’s EAP offers experimental features to selected users for testing and feedback purposes. These features are not supported or recommended for use in production environments. They are also subject to change without notice.
For more information, see Forge EAP, Preview, and GA.
The bitbucket:repoSettingsMenuPage
module adds an item in the FORGE APPS
section of the left navigation of Bitbucket repository settings menu. When you click the menu item, the content will render on a new Bitbucket page. You can use the UI kit or custom UI to create content for this page.
The page URL is constructed in the form of: /{workspaceSlug}/{repositorySlug}/admin/forge/{forgeAppId}/{forgeAppModuleKey}
Property | Type | Required | Description |
---|---|---|---|
key |
| Yes |
A key for the module, which other modules can refer to. Must be unique within the manifest. Regex: |
title |
| Yes |
The title of the card which is displayed. |
function | string | This module requires a function for use with the UI kit or a resource when building with custom UI. | A reference to the function module that defines the repository settings menu page. |
resource | string | A reference to the static resources entry that your page wants to display. See resources for more details. | |
render | 'native' | Yes for UI Kit 2 | Indicates if the module is a UI Kit 2 module. |
resolver | { function: string } | No | Contains a function property, which references the function module that defines the configuration of resource . Can only be set if the module is using the resource property. |
Use the getContext bridge method to access the extension context in custom UI.
Property | Type | Description |
---|---|---|
type | string | The type of the module. |
repository | object | The repository where this card is displayed in. |
repository.uuid | string | The repository UUID which will be wrapped in {} . |
Use the useProductContext hook to access the context in UI Kit.
Property | Type | Description |
---|---|---|
type | string | The type of the module. |
repository | object | The repository where this card is displayed in. |
repository.uuid | string | The repository UUID which will be wrapped in {} . |
This module now has support for UI Kit 2 (preview) for faster user experiences and to access additional React features.
For more information on all the supported modules, see the Supported products and their modules section.
Rate this page: