Skip to content

Commit 9c4f284

Browse files
authored
Merge pull request #87 from grimmerk/feat/session-icon
feat: SVG starburst icon for Sessions tab
2 parents 8acf951 + 32b89bf commit 9c4f284

3 files changed

Lines changed: 29 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.0.59
4+
5+
- Feat: SVG starburst icon for Sessions tab header (sunflower yellow)
6+
37
## 1.0.58
48

59
- Feat: ⌃+⌘+T global shortcut for Terminal tab (customizable in Settings)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "CodeV",
33
"productName": "CodeV",
4-
"version": "1.0.58",
4+
"version": "1.0.59",
55
"description": "Quick switcher for VS Code, Cursor, and Claude Code sessions",
66
"repository": {
77
"type": "git",

src/switcher-ui.tsx

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,30 @@ function SwitcherApp() {
743743
fontSize: '18px',
744744
}}
745745
>
746-
{mode === 'projects' ? '📂' : mode === 'terminal' ? '💻' : '🤖'}
746+
{mode === 'sessions' ? (
747+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" style={{ verticalAlign: 'middle' }}>
748+
{/* Anthropic-style starburst — organic, varied ray lengths */}
749+
{[
750+
{ angle: 0, len: 10 }, { angle: 30, len: 5.5 }, { angle: 55, len: 7 },
751+
{ angle: 90, len: 9.5 }, { angle: 125, len: 6 }, { angle: 155, len: 8 },
752+
{ angle: 180, len: 10 }, { angle: 210, len: 5 }, { angle: 240, len: 7.5 },
753+
{ angle: 270, len: 9 }, { angle: 305, len: 6.5 }, { angle: 335, len: 7 },
754+
].map(({ angle, len }) => {
755+
const rad = (angle * Math.PI) / 180;
756+
return (
757+
<line
758+
key={angle}
759+
x1="12" y1="12"
760+
x2={12 + Math.cos(rad) * len}
761+
y2={12 + Math.sin(rad) * len}
762+
stroke="#E8B830"
763+
strokeWidth="1.8"
764+
strokeLinecap="round"
765+
/>
766+
);
767+
})}
768+
</svg>
769+
) : mode === 'terminal' ? '💻' : '📂'}
747770
</span>
748771
CodeV Quick Switcher
749772
</div>

0 commit comments

Comments
 (0)