Commit 87e319a
style(lens-switcher): visual polish on sidebar left rail (#691)
* style(lens-switcher): visual polish on sidebar left rail
- active lens: solid blue-500 bg + white icon and label
- inactive items: opacity 75 (was 70)
- separators: opacity 35 (was 20)
- what's new icon: bullhorn (was clock-rotate-left)
- changelog badge: plain 6px accent dot instead of numbered badge
Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Nuno Eufrasio <nmeufrasio@gmail.com>
* fix(lens-switcher): address PR #691 review feedback
Address review comments from copilot-pull-request-reviewer[bot],
coderabbitai[bot]:
- lens-switcher.component.html: add aria-hidden="true" to the dot badge
span so screen readers ignore it (per copilot-pull-request-reviewer[bot])
- lens-switcher.component.html: bind aria-label dynamically to include
unseen count when > 0, e.g. "What's New (3 unseen updates)"
(per copilot-pull-request-reviewer[bot])
- lens-switcher.component.ts: imports array formatting — Prettier
resolves to single-line per project config; coderabbitai[bot] suggestion
was a false positive (no change needed)
Resolves 2 review threads.
Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Nuno Eufrasio <nmeufrasio@gmail.com>
* fix(lens-switcher): address PR #691 review feedback (iteration 2)
Address review comments from @MRashad26:
- lens-switcher.component.ts: add changelogAriaLabel computed signal with
correct singular/plural ("1 update" vs "N updates") (per @MRashad26)
- lens-switcher.component.html: simplify aria-label binding to use the
new computed signal — removes escaped apostrophes and double signal eval
(per @MRashad26)
- lens-switcher.component.html: remove stray whitespace text node from
the dot badge span (per @MRashad26)
- lens-switcher.component.html: add @let isActive inside @for loop so
activeLens() === lens.id is evaluated once per item, not 3× (per @MRashad26)
WCAG AA contrast comment (inactive text-blue-200/75) intentionally not
addressed — design decision to keep current opacity.
Resolves 3 of 4 review threads.
Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Nuno Eufrasio <nmeufrasio@gmail.com>
---------
Signed-off-by: Nuno Eufrasio <nmeufrasio@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5923662 commit 87e319a
2 files changed
Lines changed: 20 additions & 20 deletions
File tree
Lines changed: 13 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | | - | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
81 | | - | |
| 81 | + | |
| 82 | + | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | | - | |
| 109 | + | |
109 | 110 | | |
110 | | - | |
| 111 | + | |
111 | 112 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 113 | + | |
118 | 114 | | |
119 | 115 | | |
120 | 116 | | |
| |||
128 | 124 | | |
129 | 125 | | |
130 | 126 | | |
131 | | - | |
| 127 | + | |
132 | 128 | | |
133 | 129 | | |
134 | 130 | | |
| |||
143 | 139 | | |
144 | 140 | | |
145 | 141 | | |
146 | | - | |
| 142 | + | |
147 | 143 | | |
148 | 144 | | |
149 | 145 | | |
150 | 146 | | |
151 | 147 | | |
152 | 148 | | |
153 | 149 | | |
154 | | - | |
| 150 | + | |
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
0 commit comments