Skip to content

feat: Icon picker#186

Draft
alex289 wants to merge 1 commit into
mainfrom
feature/icon_picker
Draft

feat: Icon picker#186
alex289 wants to merge 1 commit into
mainfrom
feature/icon_picker

Conversation

@alex289
Copy link
Copy Markdown
Member

@alex289 alex289 commented Jun 4, 2026

Type of change

  • 🐛 Bug fix
  • 🚀 New feature
  • ❓ Other (please specify)

Description

Adds an lucide icon picker for the agent and applications

Fixeds #185

@alex289 alex289 self-assigned this Jun 4, 2026
Copilot AI review requested due to automatic review settings June 4, 2026 15:48
@alex289 alex289 added the enhancement New feature or request label Jun 4, 2026
@alex289 alex289 marked this pull request as draft June 4, 2026 15:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a reusable Lucide icon picker component to the frontend and introduces an “Icon” field in the agent upsert dialog to support selecting an icon for agents (per issue #185).

Changes:

  • Added LucideIconPicker component backed by the existing Combobox UI primitives.
  • Extended the agent upsert form to include an icon field and UI for selecting it.
  • Added new i18n strings for the icon field (EN/DE).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
frontend/src/components/lucide-icon-picker.tsx New Lucide icon picker component using lucide-react/dynamic + combobox UI.
frontend/src/components/dialogs/upsert-agent.tsx Adds icon form field and renders the icon picker in the agent create/edit dialog.
frontend/messages/en.json Adds EN strings for icon picker UI.
frontend/messages/de.json Adds DE strings for icon picker UI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 49 to 53
const form = useForm({
defaultValues: {
name: agent?.name ?? "",
icon: defaultAgentIcon as string,
},
Comment thread frontend/src/components/dialogs/upsert-agent.tsx
Comment thread frontend/src/components/dialogs/upsert-agent.tsx
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

Labels

enhancement New feature or request frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants