posit-dev / posit-dev/positron
Positron Notebooks: Cell-level Assistant actions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 195
Description
Let's provide ways for users to invoke Assistant within the scope of an individual cell (keeping in mind that the chat pane would be more geared to entire notebook document changes).
There should be a mix of hard coded actions like:
- Explain the contents (or outputs) of a cell.
Dynamic actions based on the contents of the cell like:
- Transform a cell e.g. change a bar plot to a line plot.
- convert plot to a shiny app
- parameterize this cell
- extract to function
- consolidate imports
We should not overload the user with too many recommendations. We may want to set a limit of 5 recommendations shown at a time
Note that we don't need to be constrained by existing cell UI contribution points for this.
See wip mocks on figma
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
Review the linked Figma mocks and the proposed hard-coded and dynamic cell actions, including the five-recommendation limit. Then identify the notebook-cell and Assistant entry points in the repository and clarify scope and acceptance criteria; this issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100