posit-dev / posit-dev/positron

Provide a `View()` and Data-Explorer-like experience for list objects

Open
#3,028 6 comments 27 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: data explorer area: variables enhancement
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

In Positron, we represent list objects in our Variables pane with quite a lot of detail:

list-viewer

Early users have shared they would like to be able to explore this kind of view with more space in its own tab, like the Data Explorer. In RStudio, you can get a whole pane like that by doing View(my_amazing_model):

Screenshot 2024-05-06 at 1 59 10 PM

In Positron, View() errors on anything that is not rectangular.

cc @hadley

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing View() handling and the list-object experience in the Variables pane, then compare how the Data Explorer opens its own tab. Done means View() no longer errors for non-rectangular list objects and provides a larger, Data Explorer-like tab for exploring them.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
data, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.