posit-dev / posit-dev/shinychat

Suggestion cards in nested lists

Open
#220 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triage:accepted Priority: Low
Dominant language
TypeScript
Stars
139
Forks
28
Avg merge
23h 44m
Merged PRs (30d)
50

Description

We have in the past encouraged suggestion lists inside of nested lists (e.g. querychat) and might want to support suggestion cards in this context, e.g.

Here are a few ideas to get you started:

* **Analyze the data**
  * <span class="suggestion">What is the average body mass of the penguins?</span>
  * <span class="suggestion">How many species are in this dataset?</span>
* **Create visualizations**
  * <span class="suggestion">Show me a bar chart of penguin counts by species.</span>
  * <span class="suggestion">Plot a scatter plot of bill length vs. bill depth.</span>
* **Filter and sort records**
  * <span class="suggestion">Show me all penguins from the Biscoe island.</span>
  * <span class="suggestion">Sort the penguins by flipper length, largest to smallest.</span>

Originally posted by @cpsievert in https://github.com/posit-dev/shinychat/issues/219#issuecomment-4452870571

Contributor guide

No contributing guide indexed for this repository

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 reproducing the nested-list Markdown example from the issue in the shinychat UI and inspect how suggestion cards are currently detected and rendered. Done means suggestions inside nested lists render as cards while existing suggestion-list behavior continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.