View() on lists shows blank pane — jquery.json-viewer.css path mismatch in 2.8.7
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- jquery, typescript, vscode
- Domain
- frontend
Research direction
Start by tracing the webview stylesheet reference to dist/resources/jquery.json-viewer.css and compare it with the packaged file at dist/resources/json-viewer/jquery.json-viewer.css. Reproduce View() on an R list and verify that the tree viewer renders without manually copying files.
Written by the indexing model from the issue text.
Description
Environment
VSCode R Extension version: 2.8.7
OS: Fedora 43
R version: 4.5.3
Describe the bug
Calling View() on an R list opens the viewer pane but renders nothing.
The webview logs the following error:
ERR Webview.loadLocalResource - Error using fileReader. requestUri: file:///home/.../.vscode/extensions/reditorsupport.r-2.8.7/dist/resources/jquery.json-viewer.css resourceToLoad: file:///home/.../.vscode/extensions/reditorsupport.r-2.8.7/dist/resources/jquery.json-viewer.css
Root cause
The extension references dist/resources/jquery.json-viewer.css but the file is actually located at dist/resources/json-viewer/jquery.json-viewer.css. The resource moved into a subdirectory but the path reference was not updated.
Workaround
Copying jquery.json-viewer.css from dist/resources/json-viewer/ up to dist/resources/ restores functionality.
Expected behavior
View() on a list should display the tree viewer without manual file manipulation.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 10h 1m
- Merged PRs (30d)
- 7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from REditorSupport/vscode-R
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 70/100
REditorSupport/vscode-R#1659 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
REditorSupport/vscode-R#1641 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
REditorSupport/vscode-R#1740 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
REditorSupport/vscode-R#1732 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
REditorSupport/vscode-R#1727 · 23 comments ·
All issues in REditorSupport/vscode-R
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·