Decorate your Flipper
features with a link to their admin page
- Decorates
Flipper["my_feature"]
with an underline - supports both string and symbol keys
- Adds a hover tooltip with a link to the key admin page
- link is in the form
"${baseUrl}${key}"
where key in the above example ismy_feature
- link is in the form
Example using flipper-links.baseUrl
"flipper-links.baseUrl": "https://admin.acme.org/admin/flipper/features/",
Example using flipper-links.environments
"flipper-links.environments": {
"qa": "https://admin-qa.acme.org/admin/flipper/features/",
"prod": "https://admin.acme.org/admin/flipper/features/"
}
This extension contributes the following settings:
flipper-links.baseUrl
: the base url from which the links are generatedflipper-links.environments
: key value object where the key is environment name and the value is the base url
The underline decoration for the text obscures underscores within the key. This was fixed for normal links in vscode but the appropriate style option doesn't appear to be available to decoration API.
- Adds support for symbols
- Adds support for multiple environments through
flipper-links.environments
config object
Initial release of flipper-links which automatically decorates your flipper features with an underline and adds the link on hover.