update issue panel

This commit is contained in:
2026-08-17 11:22:52 +07:00
parent 9f484ea98d
commit 1159252dda
13 changed files with 308 additions and 124 deletions
-115
View File
@@ -1,115 +0,0 @@
# Icons
Icon set for the Signed app. Each file mirrors the name of the equivalent
[gpui-component](https://github.com/longbridge/gpui-component/tree/main/crates/assets/assets/icons)
icon, but the artwork comes from
[Remix Icon](https://remixicon.com/) v4.9.1 (Apache-2.0) unless noted.
All SVGs are 24×24 (`viewBox="0 0 24 24"`) and use `fill="currentColor"`, so
gpui renders them with the requested color.
## Mapping (gpui-component icon → Remix Icon)
| File | Remix Icon |
| --- | --- |
| `a-large-small.svg` | `font-size` |
| `arrow-down.svg` | `arrow-down-line` |
| `arrow-left.svg` | `arrow-left-line` |
| `arrow-right.svg` | `arrow-right-line` |
| `arrow-up.svg` | `arrow-up-line` |
| `asterisk.svg` | `asterisk` |
| `battery.svg` | `battery-line` |
| `battery-charging.svg` | `battery-charge-line` |
| `battery-low.svg` | `battery-low-line` |
| `bell.svg` | `bell-line` |
| `book-open.svg` | `book-open-line` |
| `bot.svg` | `robot-line` |
| `building-2.svg` | `building-2-line` |
| `calendar.svg` | `calendar-line` |
| `chart-pie.svg` | `pie-chart-2-line` |
| `check.svg` | `check-line` |
| `chevron-down.svg` | `arrow-down-s-line` |
| `chevron-left.svg` | `arrow-left-s-line` |
| `chevron-right.svg` | `arrow-right-s-line` |
| `chevron-up.svg` | `arrow-up-s-line` |
| `chevrons-up-down.svg` | `expand-up-down-line` |
| `circle-check.svg` | `checkbox-circle-line` |
| `circle-user.svg` | `account-circle-line` |
| `circle-x.svg` | `close-circle-line` |
| `close.svg` | `close-line` |
| `copy.svg` | `file-copy-line` |
| `cpu.svg` | `cpu-line` |
| `dash.svg` | `subtract-line` |
| `delete.svg` | `delete-bin-line` |
| `ellipsis.svg` | `more-line` |
| `ellipsis-vertical.svg` | `more-2-line` |
| `external-link.svg` | `external-link-line` |
| `eye.svg` | `eye-line` |
| `eye-off.svg` | `eye-off-line` |
| `file.svg` | `file-line` |
| `folder.svg` | `folder-line` |
| `folder-closed.svg` | `folder-2-line` |
| `folder-open.svg` | `folder-open-line` |
| `github.svg` | `github-line` |
| `globe.svg` | `global-line` |
| `hard-drive.svg` | `hard-drive-2-line` |
| `heart.svg` | `heart-line` |
| `inbox.svg` | `inbox-line` |
| `info.svg` | `information-line` |
| `layout-dashboard.svg` | `dashboard-line` |
| `loader.svg` | `loader-line` |
| `loader-circle.svg` | `loader-4-line` |
| `map.svg` | `map-2-line` |
| `maximize.svg` | `fullscreen-line` |
| `menu.svg` | `menu-line` |
| `minimize.svg` | `fullscreen-exit-line` |
| `minus.svg` | `subtract-line` |
| `moon.svg` | `moon-line` |
| `network.svg` | `share-line` |
| `palette.svg` | `palette-line` |
| `panel-bottom.svg` | `layout-bottom-line` |
| `panel-left.svg` | `layout-left-line` |
| `panel-right.svg` | `layout-right-line` |
| `pause.svg` | `pause-line` |
| `play.svg` | `play-line` |
| `plus.svg` | `add-line` |
| `redo.svg` | `corner-up-right-line` |
| `redo-2.svg` | `arrow-go-forward-line` |
| `replace.svg` | `swap-box-line` |
| `resize-corner.svg` | `corner-right-down-line` |
| `search.svg` | `search-line` |
| `settings.svg` | `settings-line` |
| `settings-2.svg` | `equalizer-line` |
| `sort-ascending.svg` | `sort-asc` |
| `sort-descending.svg` | `sort-desc` |
| `square-terminal.svg` | `terminal-box-line` |
| `star.svg` | `star-line` |
| `star-fill.svg` | `star-fill` |
| `star-off.svg` | `star-off-line` |
| `sun.svg` | `sun-line` |
| `thumbs-down.svg` | `thumb-down-line` |
| `thumbs-up.svg` | `thumb-up-line` |
| `triangle-alert.svg` | `alert-line` |
| `undo.svg` | `corner-up-left-line` |
| `undo-2.svg` | `arrow-go-back-line` |
| `user.svg` | `user-line` |
| `window-close.svg` | `close-line` |
| `window-maximize.svg` | `checkbox-blank-line` |
| `window-minimize.svg` | `subtract-line` |
| `window-restore.svg` | `picture-in-picture-line` |
## Kept as original (no Remix equivalent)
These have no close Remix Icon counterpart and keep the original lucide
artwork from gpui-component:
`battery-full.svg`, `battery-medium.svg`, `battery-warning.svg`,
`case-sensitive.svg`, `frame.svg`, `gallery-vertical-end.svg`,
`heart-off.svg`, `inspector.svg`, `memory-stick.svg`,
`panel-bottom-open.svg`, `panel-left-close.svg`, `panel-left-open.svg`,
`panel-right-close.svg`, `panel-right-open.svg`
## Licensing
- Remix Icon SVGs: [Apache-2.0](https://github.com/Remix-Design/RemixIcon/blob/master/License)
- Lucide SVGs (kept originals): [ISC](https://github.com/lucide-icons/lucide/blob/main/LICENSE)
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
<path d="M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="3 4"/><path d="M15 9L9 15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 15L9 9" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 531 B

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
<path d="M12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.7083 18C18.0739 18.7089 17.3287 19.3166 16.5 19.796" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 4.2041C17.3287 4.68348 18.0739 5.29119 18.7083 6.00006" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.8296 10.249C20.9413 10.8154 20.9998 11.4008 20.9998 11.9999C20.9998 12.599 20.9413 13.1844 20.8296 13.7507" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M13 9L16 12L13 15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 12H8" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 952 B

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
<path d="M15 9.5L10.5 15L8.5 13" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="3 4"/>
</svg>

After

Width:  |  Height:  |  Size: 435 B

+6
View File
@@ -52,6 +52,9 @@ pub enum CustomIconName {
Filter,
GlobalOn,
GlobalOff,
GitIssueOpen,
GitIssueClosed,
GitIssueOngoing,
GitClone,
GitBranch,
Tag,
@@ -64,6 +67,9 @@ impl IconNamed for CustomIconName {
CustomIconName::Filter => "icons/filter.svg",
CustomIconName::GlobalOn => "icons/global-on.svg",
CustomIconName::GlobalOff => "icons/global-off.svg",
CustomIconName::GitIssueOpen => "icons/git-issue-open.svg",
CustomIconName::GitIssueClosed => "icons/git-issue-close.svg",
CustomIconName::GitIssueOngoing => "icons/git-issue-ongoing.svg",
CustomIconName::GitClone => "icons/git-clone.svg",
CustomIconName::GitBranch => "icons/git-branch.svg",
CustomIconName::Tag => "icons/tag.svg",