posit-dev / posit-dev/positron
Back-to-back calls to R's help server (such as with searching) do not refresh
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 195
Description
Thank you so much @juliasilge ! I tried your version of ark and both
??andhelp.search()are working now (making my life A LOT easier)! There is still one little glitch at the moment that is easy to fix - if two ?? commands are executed consecutively, the last one is not displayed. This can be replicated by:
- run
??cat(displayed normally)- run
??dog(we are stuck at the cat page)I think this is because the url doesn't change, therefore the page is not refreshed. A manual refresh of the help pane should be able fix it. I manually refreshed it via an external browser and the new help page is displayed normally.
Originally posted by @kv9898 in https://github.com/posit-dev/positron/issues/4320#issuecomment-2307887240
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.
Research direction
No source files or tests are named. Reproduce consecutive ??cat and ??dog commands, then inspect the help pane and R help-server request handling; done when the second result appears without a manual refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100