-
Notifications
You must be signed in to change notification settings - Fork 255
Description
Describe the bug
Unable to open a schema within the workspace when using the GitLab Web IDE - either via the schema decorator above an associated yaml file or as the 'source' within the hover tooltip of a yaml entity.
Assumed to relate to path-handling disparities between node and web based extension distributions; and to #1194.
Expected Behavior
Clicking links to a workspace schema opens the schema.
Current Behavior
No action is observed, upon clicking the schema file name decorator above an associated yaml file.
A popup error is observed that the schema could not be opened, upon clicking the schema file name within the hover tooltip.
Steps to Reproduce
Click the schema links having completed the below links.
Running prerelease v1.20 within the GitLab Web IDE, configure the extension (including trying "file:///schema.json")...
{
"yaml.schemas": {
"dressSize.json": "references-schema.yaml"
}
}...to the following yaml...
dress:
size: -2...and schema.
{
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"dress": {
"properties": {
"size": {
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "string",
"enum": ["S", "M", "L", "XL", "XXL", "XXXL"]
}
]
}
}
}
}
}
Environment
- Mac (Safari)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status