nuxt / nuxt/nuxt.com

feat: add resizable agent sidebar

Open
#2,236 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
457
Forks
272
Avg merge
13h 33m
Merged PRs (30d)
23

Description

Issue Description

Currently, the agent sidebar uses a fixed width. While this works, it can feel limiting on different screen sizes—especially on larger displays where there’s unused space, or smaller ones where content can feel cramped.

Proposal

Allow the sidebar to be resizable via a drag handle on its edge.

Expected behavior

  • User can drag the sidebar edge to adjust width
  • A minimum width is enforced to maintain usability
  • A maximum width is enforced (for example, a percentage of the viewport)

Why this helps

  • Improves usability across different screen sizes
  • Gives users better control over layout
  • Makes the chat experience more flexible and comfortable

Implementation notes

I’ve explored a possible implementation that:

  • Adds a resize handle to the sidebar
  • Updates width during drag interactions
  • Uses clamping (min + max constraints)

Happy to open a PR if this direction makes sense

https://github.com/user-attachments/assets/790f1c15-5310-4647-a8cb-214bd03d3774

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 locating the agent sidebar component and its existing width and layout styles in the nuxt.com frontend. Trace how the sidebar is rendered, then verify the drag interaction, minimum and maximum width constraints, and behavior across viewport sizes. Done means users can resize the sidebar without disrupting the chat layout.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.