Skip to content

feat: add collapsible agent categories and expand/collapse controls#438

Open
tejinderpa wants to merge 3 commits into
AditthyaSS:mainfrom
tejinderpa:fix/sidebar_sections_collapse
Open

feat: add collapsible agent categories and expand/collapse controls#438
tejinderpa wants to merge 3 commits into
AditthyaSS:mainfrom
tejinderpa:fix/sidebar_sections_collapse

Conversation

@tejinderpa

Copy link
Copy Markdown

fixes #437

What does this PR do?

This PR improves the sidebar by showing agent categories as collapsible sections instead of displaying every agent at once. It also adds an expand/collapse-all control and prevents browser autofill from inserting saved emails into the sidebar search field.

Type of change

  • New agent
  • Bug fix
  • UI improvement
  • Docs update
  • Something else (describe below)

Checklist

For every PR:

For new agent PRs:

  • I tested the agent with a real API key
  • I created a new file in src/agents/definitions/ with the agent config
  • The agent id is lowercase and uses kebab-case (like my-agent-name)
  • The icon name is from lucide.dev/icons
  • The system prompt clearly describes the format of the output
  • This agent is not a duplicate of one that already exists

Screenshots (optional — but really helpful for UI changes)

Before:

The sidebar displayed all agents under every category at once, making the list long as more agents were added.

After:

The sidebar now shows categories first. Users can expand a category to see its agents, or use the expand/collapse-all button. The search field also stays empty unless the user types into it.
image
image

Anything else I should know?

Verified with npm run build. No new packages were added.

@tejinderpa tejinderpa requested a review from AditthyaSS as a code owner June 3, 2026 11:35
Copilot AI review requested due to automatic review settings June 3, 2026 11:35
@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

@tejinderpa is attempting to deploy a commit to the aditthyass' projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@mergify

mergify Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

⚠️ Hey @tejinderpa! It looks like only package-lock.json was changed but package.json was not.
This is usually unintentional — it happens when npm install is run locally with a different npm version.
Please revert the package-lock.json changes by running:

git checkout package-lock.json

Then push again. If you intentionally changed dependencies, make sure package.json is also updated.
@AditthyaSS

@mergify mergify Bot added the needs-fix label Jun 3, 2026
@tejinderpa

Copy link
Copy Markdown
Author

@AditthyaSS merge this one PR

@mergify

mergify Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

hey @tejinderpa! 👋
Your PR title doesn't follow our required format.
Please update it to:
type: short description
Valid types: feat, fix, docs, style, refactor, test, chore
Example: feat: add sales discovery agent
@AditthyaSS

@mergify

mergify Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

hey @tejinderpa! 👋
It looks like package-lock.json was changed but package.json was not.
This is usually unintentional — it happens when npm install is run locally with a different npm version.
Please revert it by running:
git checkout package-lock.json
Then push again. 🙏
@AditthyaSS

@tejinderpa tejinderpa changed the title Fix/sidebar sections collapse feat: add collapsible agent categories and expand/collapse controls Jun 4, 2026
@mergify

mergify Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

⚠️ Hey @tejinderpa! This PR has a merge conflict that needs to be resolved before we can review or merge it.
Please sync your branch with the latest main and fix the conflicts.
Need help? Check out resolving merge conflicts.
@AditthyaSS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add collapsible agent categories in sidebar

3 participants