Commit cfd6d74
fix: render builds status filter dashes correctly in Safari (#459)
Fixes [ENG-4333](https://linear.app/e2b/issue/ENG-4333). The builds
Status filter drew its dashed status rings with a CSS `border-dashed` on
rounded elements, which Safari renders with uneven, sparse dashes
(Chrome was fine).
- Render the rings via the registry `StatusIcon` SVG instead of a CSS
dashed border, keeping a `bg-bg` backdrop so the front ring masks the
one behind it in the overlap.
- Sync `StatusIcon` from the e2b registry to pick up `pathLength`, which
evenly distributes the dash pattern around the circle.
| Before | After |
| ------- | ------- |
| <img width="200" alt="CleanShot 2026-06-25 at 09 41 38"
src="https://github.com/user-attachments/assets/76e68ef2-5b61-47d0-9e03-be13f9341d6e"
/> | <img width="200" alt="CleanShot 2026-06-25 at 09 42 32"
src="https://github.com/user-attachments/assets/c86023fa-4e81-4bcc-a410-1e0c8636af2c"
/> |
| Before | After |
| ------- | ------- |
| <img width="368" height="116" alt="CleanShot 2026-06-25 at 09 40
20@2x"
src="https://github.com/user-attachments/assets/eed646a8-9d9b-446e-a743-43e01253d1ca"
/> | <img width="364" height="118" alt="CleanShot 2026-06-25 at 09 40
06@2x"
src="https://github.com/user-attachments/assets/b5871d8e-02bc-47d2-9029-20708ae2c647"
/> |
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ce6ef5c commit cfd6d74
3 files changed
Lines changed: 34 additions & 28 deletions
File tree
- src
- features/dashboard
- common
- templates/builds
- ui/primitives/icons
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
Lines changed: 24 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 87 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 113 | + | |
| 114 | + | |
118 | 115 | | |
119 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
120 | 127 | | |
121 | 128 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
0 commit comments