Commit 08a4c44
authored
feat(dashboards): refactor metrics to individual signals and update ui (#187)
* feat(dashboards): refactor metrics to individual signals and update ui
LFXV2-836 LFXV2-837
- Refactor foundation-health, organization-involvement, and recent-progress
components to use individual computed signals per metric card
- Add private initialization methods for computed signals
- Add per-card loading states instead of global loading
- Update metric-card component to support loading property
- Update Ask LFX Lens button to use gradient styling
- Fix responsive layout issues in dashboard components
🤖 Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Asitha de Silva <[email protected]>
* fix(ui): prevent NaN in health scores and simplify hover
- Add guard for maxCount === 0 to prevent NaN in heightPx calculation
- Remove redundant hover:border and hover:border-solid classes
🤖 Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Asitha de Silva <[email protected]>
---------
Signed-off-by: Asitha de Silva <[email protected]>1 parent 8285184 commit 08a4c44
File tree
19 files changed
+692
-451
lines changed- apps/lfx-one/src
- app
- modules/dashboards
- board-member
- components
- foundation-health
- my-meetings
- organization-involvement
- recent-progress
- server/services
19 files changed
+692
-451
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 19 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | | - | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 53 | | |
61 | 54 | | |
62 | 55 | | |
63 | 56 | | |
64 | | - | |
| 57 | + | |
65 | 58 | | |
66 | 59 | | |
67 | 60 | | |
| |||
73 | 66 | | |
74 | 67 | | |
75 | 68 | | |
76 | | - | |
| 69 | + | |
| 70 | + | |
77 | 71 | | |
78 | 72 | | |
79 | 73 | | |
| |||
84 | 78 | | |
85 | 79 | | |
86 | 80 | | |
87 | | - | |
| 81 | + | |
| 82 | + | |
88 | 83 | | |
89 | 84 | | |
90 | 85 | | |
| |||
109 | 104 | | |
110 | 105 | | |
111 | 106 | | |
112 | | - | |
| 107 | + | |
| 108 | + | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
| |||
139 | 135 | | |
140 | 136 | | |
141 | 137 | | |
142 | | - | |
| 138 | + | |
| 139 | + | |
143 | 140 | | |
144 | 141 | | |
145 | 142 | | |
| |||
173 | 170 | | |
174 | 171 | | |
175 | 172 | | |
176 | | - | |
| 173 | + | |
| 174 | + | |
177 | 175 | | |
178 | 176 | | |
179 | 177 | | |
| |||
0 commit comments