create-pmos 0.441.0 → 0.442.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/package.json +13 -13
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/adler-seasons-art-test.js +106 -0
  7. package/workspace/adler-seasons-test.js +111 -0
  8. package/workspace/briefing-premium-board-test.js +19 -17
  9. package/workspace/briefing-premium-initiative-test.js +7 -4
  10. package/workspace/changelog.json +12 -0
  11. package/workspace/guide/adler.md +10 -0
  12. package/workspace/guide/home.md +2 -0
  13. package/workspace/ini-workflow-test.js +6 -2
  14. package/workspace/lib/settings-store.js +38 -0
  15. package/workspace/metric-drafts-ui-test.js +2 -2
  16. package/workspace/package-lock.json +2 -2
  17. package/workspace/package.json +1 -1
  18. package/workspace/premium-board-actions-test.js +2 -1
  19. package/workspace/premium-chat-attach-test.js +2 -0
  20. package/workspace/program-panel-test.js +1 -1
  21. package/workspace/public/pm/bd-ini-panel.js +2 -2
  22. package/workspace/public/pm/c3-ini-ui.js +1 -1
  23. package/workspace/public/pm/cozy-adler.css +21 -0
  24. package/workspace/public/pm/cozy-adler.js +415 -8
  25. package/workspace/public/pm/cozy-ev.css +16 -1
  26. package/workspace/public/pm/cozy-home.css +8 -0
  27. package/workspace/public/pm/cozy-news.js +1 -1
  28. package/workspace/public/pm/cozy-seasons.js +318 -0
  29. package/workspace/public/pm/cozy-settings.js +88 -5
  30. package/workspace/public/pm/cozy-viewer.js +8 -4
  31. package/workspace/public/pm/cozy.css +65 -0
  32. package/workspace/public/pm/dash-view.js +4 -2
  33. package/workspace/public/pm/home-app.js +8 -2
  34. package/workspace/public/pm/home-chat.js +1 -1
  35. package/workspace/public/pm/home-day.js +7 -4
  36. package/workspace/public/pm/home-ini.js +2 -2
  37. package/workspace/public/pm/home-mentions.js +1 -1
  38. package/workspace/public/pm/impact.js +1 -1
  39. package/workspace/public/pm/ini-groups.js +15 -10
  40. package/workspace/public/pm/ini-links.js +1 -1
  41. package/workspace/public/pm/ini-tasks.js +208 -44
  42. package/workspace/public/pm/ini-view-model.js +8 -2
  43. package/workspace/public/pm/ini-view.css +305 -1
  44. package/workspace/public/pm/ini-view.js +190 -80
  45. package/workspace/public/pm/mission.js +234 -0
  46. package/workspace/public/pm/premium-board.js +1 -1
  47. package/workspace/public/pm/premium-welcome.js +2 -2
  48. package/workspace/public/pm/split-merge.js +1 -1
  49. package/workspace/public/pm/stage-line.js +2 -2
  50. package/workspace/split-merge-ui-test.js +1 -1
  51. package/workspace/stage-card-test.js +48 -11
  52. package/workspace/task-links-test.js +2 -0
  53. package/workspace/task-milestones-test.js +5 -1
  54. package/workspace/task-plans-test.js +3 -3
  55. package/workspace/task-views-test.js +90 -37
  56. package/workspace/test-lists/adler-seasons-art.json +13 -0
  57. package/workspace/test-lists/batch18-adler-seasons.json +13 -0
  58. package/workspace/test-lists/mission.json +5 -0
  59. package/workspace/test-lists/viewer-tasks.json +5 -0
  60. package/workspace/tk-tasks-test.js +25 -30
@@ -110,6 +110,16 @@ html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
110
110
  --cz-c-3a3018: #3A3018; --cz-c-e3c46a: #E3C46A; --cz-c-3a1f1d: #3A1F1D; --cz-c-f09a92: #F09A92;
111
111
  /* the report's title slide (ReportPanel.dc.html): its gradient and the accent of its second line */
112
112
  --cz-c-2546b8: #2546B8; --cz-c-1b3a9e: #1B3A9E; --cz-c-cfe88a: #CFE88A; --cz-c-9ab53c: #9AB53C;
113
+ /* the initiative as a mission (batch 18 item 1, pm/mission.js; XvpL5Rocket, XvpL6RocketDark) and Adler's wash on its card (XvpA1): the art's own colours */
114
+ --cz-c-e7ecfb: #E7ECFB; --cz-c-fff2e6: #FFF2E6; --cz-c-1b2340: #1B2340; --cz-c-2b2438: #2B2438; --cz-c-f6c46a: #F6C46A; --cz-c-ff8a4c: #FF8A4C;
115
+ --cz-c-b9c3e6: #B9C3E6; --cz-c-8fb8f2: #8FB8F2; --cz-c-5d86c8: #5D86C8; --cz-c-4f7fd0: #4F7FD0; --cz-c-dce4f6: #DCE4F6; --cz-c-3a4466: #3A4466;
116
+ --cz-c-a8b4d6: #A8B4D6; --cz-c-6b76a0: #6B76A0; --cz-c-b9d3f7: #B9D3F7; --cz-c-8c98c0: #8C98C0; --cz-c-8e99c4: #8E99C4; --cz-c-e2edd6: #E2EDD6;
117
+ --cz-c-26301f: #26301F; --cz-c-9cc98a: #9CC98A; --cz-c-55784a: #55784A; --cz-c-2f6feb: #2F6FEB; --cz-c-e3d8c6: #E3D8C6; --cz-c-3a352e: #3A352E;
118
+ --cz-c-bdb8b0: #BDB8B0; --cz-c-5a5752: #5A5752; --cz-c-a8b0c4: #A8B0C4; --cz-c-7e88a8: #7E88A8; --cz-c-8a6e4e: #8A6E4E; --cz-c-a08868: #A08868;
119
+ --cz-c-3a4152: #3A4152; --cz-c-c9ccd6: #C9CCD6; --cz-c-e9e4da: #E9E4DA; --cz-c-6fa0f0: #6FA0F0; --cz-c-9aa6bf: #9AA6BF; --cz-c-8e99b3: #8E99B3;
120
+ --cz-c-f4f1ec: #F4F1EC; --cz-c-e5605a: #E5605A; --cz-c-b9c1d6: #B9C1D6; --cz-c-5c6480: #5C6480; --cz-c-57b26b: #57B26B; --cz-c-c4cada: #C4CADA;
121
+ --cz-c-e8e4dc: #E8E4DC; --cz-c-6b7280: #6B7280; --cz-c-ffefd9: #FFEFD9; --cz-c-fbf4ea: #FBF4EA; --cz-c-edf5e5: #EDF5E5; --cz-c-e3f0da: #E3F0DA;
122
+ --cz-c-3b2e21: #3B2E21; --cz-c-2b2723: #2B2723; --cz-c-232d20: #232D20; --cz-c-1f2b1c: #1F2B1C;
113
123
  /* Adler, Claude's face (feedback batch 16 item 2; pm/cozy-adler.js and cozy-adler.css name these, never a colour): Wawan's art. Fur, cream,
114
124
  hoodie and sprout gradients, then the face, the props, and the scenes' skies and grounds. */
115
125
  --ad-f0: #FFD995; --ad-f1: #F0B05A; --ad-f2: #C98030; --ad-c0: #FFFFFA; --ad-c1: #FCEFD8; --ad-c2: #EBD3AE;
@@ -123,6 +133,46 @@ html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
123
133
  --ad-plain0: #F7F6F3; --ad-plain1: #F7F6F3; --ad-sun: #FFC85A; --ad-sunglow: #FFD27A; --ad-moon: #F4E9C6; --ad-firefly: #E9F59A;
124
134
  --ad-raincloud: #C9CED6; --ad-drop: #9AA6B8; --ad-ground: #E4D8BC; --ad-groundn: #3A4466; --ad-grass: #8DB05A; --ad-leaf2: #9CC25A;
125
135
  --ad-thinkdot: #A9B39A;
136
+ /* Adler dressed for the season (batch 18 item 8-B; adler-character/seasons-b/charms.py): the charms' colours, then each charm's sky (0, 1) and ground (g) */
137
+ --ad-k-amber1: #FFD27A; --ad-k-amber10: #B87628; --ad-k-amber2: #E9C38A; --ad-k-amber3: #FFB238; --ad-k-amber4: #F2963A; --ad-k-amber5: #E89A3C;
138
+ --ad-k-amber6: #D9973F; --ad-k-amber7: #B8945A; --ad-k-amber8: #C9963F; --ad-k-amber9: #C98434; --ad-k-blue1: #DCE3EC; --ad-k-blue10: #4894EA;
139
+ --ad-k-blue11: #6A8FB2; --ad-k-blue12: #5A7DB0; --ad-k-blue13: #2F5FB3; --ad-k-blue2: #C9D3DE; --ad-k-blue3: #A9D2EE; --ad-k-blue4: #C3CAD4;
140
+ --ad-k-blue5: #B9CBDC; --ad-k-blue6: #B9C6DA; --ad-k-blue7: #9AC4F0; --ad-k-blue8: #7FA6C9; --ad-k-blue9: #8A97AE; --ad-k-brown1: #A85E2A;
141
+ --ad-k-brown2: #8A6A3A; --ad-k-brown3: #6E4A2A; --ad-k-brown4: #3A2E22; --ad-k-gold1: #FFF1B8; --ad-k-gold10: #D4CFC3; --ad-k-gold11: #EBD79A;
142
+ --ad-k-gold12: #E9CD8C; --ad-k-gold13: #FFC85A; --ad-k-gold14: #F2C440; --ad-k-gold15: #E9B949; --ad-k-gold16: #C9A85E; --ad-k-gold17: #E0AE2A;
143
+ --ad-k-gold18: #C9962A; --ad-k-gold2: #F6E7C9; --ad-k-gold3: #E9E4D8; --ad-k-gold4: #F4E9C6; --ad-k-gold5: #F7E7B4; --ad-k-gold6: #FFE3A8;
144
+ --ad-k-gold7: #FFE9A0; --ad-k-gold9: #F2DBA0; --ad-k-green1: #A9C45A; --ad-k-green2: #9CC25A; --ad-k-green3: #7DAA45; --ad-k-green4: #6E9A45;
145
+ --ad-k-green6: #6E8E2E; --ad-k-green7: #5C8A2E; --ad-k-green8: #557A33; --ad-k-grey1: #9FA4AE; --ad-k-grey2: #8D929C; --ad-k-grey3: #5A6276;
146
+ --ad-k-grey4: #4E7A4A; --ad-k-grey5: #3F5A48; --ad-k-ink1: #2A2E35; --ad-k-ink2: #3A4466; --ad-k-ink3: #2E3A55; --ad-k-orange1: #F4B3A2;
147
+ --ad-k-orange2: #EE8A35; --ad-k-orange3: #E8743A; --ad-k-orange4: #C97A3E; --ad-k-orange5: #D27322; --ad-k-orange6: #B8642E;
148
+ --ad-k-paper1: #FFFBF0; --ad-k-paper10: #DDE7F6; --ad-k-paper11: #C9CDD4; --ad-k-paper12: #E3ECF6; --ad-k-paper2: #FFF8EA; --ad-k-paper3: #EAF4FF;
149
+ --ad-k-paper4: #F1F4EA; --ad-k-paper6: #F1F5E7; --ad-k-paper7: #E8ECF2; --ad-k-paper8: #FFF3D1; --ad-k-paper9: #E9E6F2; --ad-k-red1: #F7C9D4;
150
+ --ad-k-red10: #A8322C; --ad-k-red11: #7E2A2A; --ad-k-red2: #F4B3C2; --ad-k-red3: #E79AAE; --ad-k-red4: #C77A90; --ad-k-red5: #D9574F;
151
+ --ad-k-red6: #D9473F; --ad-k-red7: #C8473F; --ad-k-red8: #B8352E; --ad-k-red9: #9E3B3B; --ad-k-teal1: #9CC7D6; --ad-k-violet1: #8E7CC3;
152
+ --ad-newyear0: #FFF4E2; --ad-newyear1: #F8E3C0; --ad-newyearg: #E4D8BC; --ad-cny0: #FFF1E6; --ad-cny1: #F7DCCB; --ad-cnyg: #E4D8BC;
153
+ --ad-lantern0: #3A3350; --ad-lantern1: #4B3B58; --ad-lanterng: #5A4A6E;
154
+ --ad-valentine0: #FFF3F3; --ad-valentine1: #F8E3E6; --ad-valentineg: #E4D8BC;
155
+ --ad-ramadan0: #2E3A55; --ad-ramadan1: #3B4A66; --ad-ramadang: #4A5A72; --ad-raya0: #F3F7EA; --ad-raya1: #E3ECD2; --ad-rayag: #D7E2BC;
156
+ --ad-haji0: #F2F5EC; --ad-haji1: #E2E9D6; --ad-hajig: #D7E2BC; --ad-iwd0: #FFF9E6; --ad-iwd1: #F7EED0; --ad-iwdg: #E4D8BC;
157
+ --ad-pi0: #F7F3EA; --ad-pi1: #EFE8D8; --ad-pig: #E4D8BC; --ad-easter0: #F4F8EC; --ad-easter1: #E8F0DA; --ad-easterg: #CFE0B0;
158
+ --ad-earth0: #EEF6FB; --ad-earth1: #DDEBF4; --ad-earthg: #CFE0B0; --ad-labour0: #F6F4EE; --ad-labour1: #ECE8DE; --ad-labourg: #E4D8BC;
159
+ --ad-vesak0: #FDF6EC; --ad-vesak1: #EFE6F3; --ad-vesakg: #C9DDE8; --ad-dragonboat0: #EEF6F7; --ad-dragonboat1: #DCEBEE; --ad-dragonboatg: #B9DCE4;
160
+ --ad-natday0: #F3F6FB; --ad-natday1: #E4EBF5; --ad-natdayg: #E4D8BC; --ad-moon0: #1E2438; --ad-moon1: #2D3550; --ad-moong: #B9BDC6;
161
+ --ad-ndp0: #3B3F66; --ad-ndp1: #6A5578; --ad-ndpg: #4A4A70; --ad-teachers0: #F6F4EE; --ad-teachers1: #ECE8DE; --ad-teachersg: #E4D8BC;
162
+ --ad-midautumn0: #26304D; --ad-midautumn1: #3A4466; --ad-midautumng: #3A4466; --ad-exam0: #F4F3EF; --ad-exam1: #E9E7E1; --ad-examg: #E4D8BC;
163
+ --ad-children0: #EFF6FD; --ad-children1: #E1EDF9; --ad-childreng: #E4D8BC;
164
+ --ad-nightrace0: #1E2438; --ad-nightrace1: #2D3550; --ad-nightraceg: #2A3150;
165
+ --ad-halloween0: #4A3B66; --ad-halloween1: #6A4E7A; --ad-halloweeng: #56466E;
166
+ --ad-deepavali0: #3E2F55; --ad-deepavali1: #6B4560; --ad-deepavalig: #5A3E5E; --ad-thanks0: #FFF2DE; --ad-thanks1: #F5DFC0; --ad-thanksg: #E4D8BC;
167
+ --ad-hanukkah0: #EEF3FB; --ad-hanukkah1: #DEE7F5; --ad-hanukkahg: #E4D8BC;
168
+ --ad-christmas0: #F7F3EA; --ad-christmas1: #EDE6D6; --ad-christmasg: #E4D8BC;
169
+ --ad-dongzhi0: #F6F3EA; --ad-dongzhi1: #EEE9DC; --ad-dongzhig: #E4D8BC; --ad-pongal0: #FFF6E2; --ad-pongal1: #F6E6C4; --ad-pongalg: #E4D8BC;
170
+ --ad-football0: #EEF5E8; --ad-football1: #DCEBCF; --ad-footballg: #9CC27A; --ad-games0: #F2F6FB; --ad-games1: #E3ECF6; --ad-gamesg: #E8A07A;
171
+ --ad-movie0: #2A2333; --ad-movie1: #3B2F45; --ad-movieg: #3B2F45; --ad-music0: #F3EFF8; --ad-music1: #E6E0F0; --ad-musicg: #E4D8BC;
172
+ --ad-spring0: #FBF6F3; --ad-spring1: #F2E8E8; --ad-springg: #CFE0B0; --ad-summer0: #FFF3D6; --ad-summer1: #FBE3B0; --ad-summerg: #E4D8BC;
173
+ --ad-autumn0: #FFF2DE; --ad-autumn1: #F5DFC0; --ad-autumng: #E9C79A; --ad-winter0: #EEF3F8; --ad-winter1: #DDE6EF; --ad-winterg: #FFFFFF;
174
+ --ad-monsoon0: #E8EEF3; --ad-monsoon1: #D5DFE8; --ad-monsoong: #C9D6E2; --ad-pmosday0: #F7F6F3; --ad-pmosday1: #EFEDE8; --ad-pmosdayg: #E4D8BC;
175
+ --ad-birthday0: #FFF4E2; --ad-birthday1: #F8E3C0; --ad-birthdayg: #E4D8BC;
126
176
  }
127
177
  .cz {
128
178
  --cz-ink: var(--cz-c-2a2e35); --cz-ink2: var(--cz-c-4a4f58); --cz-ink3: var(--cz-c-646a74);
@@ -139,6 +189,14 @@ html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
139
189
  --cz-sans: 'Nunito', ui-sans-serif, system-ui, sans-serif;
140
190
  --cz-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
141
191
  --cz-done: var(--cz-c-1e449b); --cz-bubble: var(--cz-c-e8f1fb); --cz-solid: var(--cz-c-2f5fb3); --cz-onsolid: var(--cz-c-ffffff);
192
+ /* the mission (pm/mission.js) and Adler's wash on the initiative card: light, then the dark block's own */
193
+ --mi-s0: var(--cz-c-e7ecfb); --mi-s1: var(--cz-c-fff2e6); --mi-t1: var(--cz-c-ff8a4c); --mi-gold: var(--cz-c-f6c46a); --mi-star: var(--cz-c-b9c3e6);
194
+ --mi-pl: var(--cz-c-8fb8f2); --mi-pls: var(--cz-c-4f7fd0); --mi-pq: var(--cz-c-dce4f6); --mi-pqs: var(--cz-c-a8b4d6); --mi-spot: var(--cz-c-b9d3f7); --mi-qm: var(--cz-c-8c98c0);
195
+ --mi-gr: var(--cz-c-e2edd6); --mi-dn: var(--cz-c-9cc98a); --mi-nw: var(--cz-c-2f6feb); --mi-q: var(--cz-c-e3d8c6); --mi-late: var(--cz-c-d9773f); --mi-hold: var(--cz-c-bdb8b0);
196
+ --mi-dash: var(--cz-c-a8b0c4); --mi-pole: var(--cz-c-8a6e4e); --mi-line: var(--cz-c-3a4152); --mi-wh: var(--cz-c-ffffff); --mi-lens: var(--cz-c-6fa0f0); --mi-gh: var(--cz-c-6fa0f0);
197
+ --mi-pad: var(--cz-c-9aa6bf); --mi-rb: var(--cz-c-ffffff); --mi-fin: var(--cz-c-e5605a); --mi-path: var(--cz-c-b9c1d6); --mi-smoke: var(--cz-c-ffffff); --mi-ok: var(--cz-c-57b26b);
198
+ --mi-off: var(--cz-c-c4cada); --mi-td: var(--cz-c-2a2e35); --mi-pz: var(--cz-c-6b7280); --mi-glow: rgba(47,111,235,.25);
199
+ --iv-wash: linear-gradient(140deg, var(--cz-c-ffefd9) 0%, var(--cz-c-fbf4ea) 42%, var(--cz-c-edf5e5) 78%, var(--cz-c-e3f0da) 100%); --iv-washhr: rgba(111,140,90,.18);
142
200
  }
143
201
  .cz.dark, html.dark .cz, :root[data-theme="dark"] .cz {
144
202
  --cz-ink: var(--cz-c-eceef1); --cz-ink2: var(--cz-c-c5c9d0); --cz-ink3: var(--cz-c-9ea4ad);
@@ -149,6 +207,11 @@ html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
149
207
  --cz-done: var(--cz-c-9bc7f4); --cz-bubble: rgba(106,170,240,.14); --cz-solid: var(--cz-c-4894ea); --cz-onsolid: var(--cz-c-ffffff);
150
208
  --cz-late: var(--cz-c-e8a07a); --cz-latebg: var(--cz-c-3a2418); --cz-ok: var(--cz-c-8fcf9c); --cz-okbg: var(--cz-c-1f3324);
151
209
  --cz-risk: var(--cz-c-e3c46a); --cz-riskbg: var(--cz-c-3a3018); --cz-red: var(--cz-c-f09a92); --cz-redbg: var(--cz-c-3a1f1d);
210
+ --mi-s0: var(--cz-c-1b2340); --mi-s1: var(--cz-c-2b2438); --mi-star: var(--cz-c-ffffff); --mi-pl: var(--cz-c-5d86c8); --mi-pq: var(--cz-c-3a4466); --mi-pqs: var(--cz-c-6b76a0);
211
+ --mi-qm: var(--cz-c-8e99c4); --mi-gr: var(--cz-c-26301f); --mi-dn: var(--cz-c-55784a); --mi-q: var(--cz-c-3a352e); --mi-hold: var(--cz-c-5a5752); --mi-dash: var(--cz-c-7e88a8);
212
+ --mi-pole: var(--cz-c-a08868); --mi-line: var(--cz-c-c9ccd6); --mi-wh: var(--cz-c-e9e4da); --mi-gh: var(--cz-c-8fb8f2); --mi-pad: var(--cz-c-8e99b3); --mi-rb: var(--cz-c-f4f1ec);
213
+ --mi-path: var(--cz-c-5c6480); --mi-smoke: var(--cz-c-c9ccd6); --mi-off: var(--cz-c-7e88a8); --mi-td: var(--cz-c-e8e4dc); --mi-pz: var(--cz-c-c9ccd6);
214
+ --iv-wash: linear-gradient(140deg, var(--cz-c-3b2e21) 0%, var(--cz-c-2b2723) 45%, var(--cz-c-232d20) 80%, var(--cz-c-1f2b1c) 100%); --iv-washhr: rgba(220,190,140,.14);
152
215
  }
153
216
  body.cz { margin: 0; font-family: var(--cz-sans); color: var(--cz-ink); background: var(--cz-ground); background-attachment: fixed; -webkit-font-smoothing: antialiased; font-size: var(--fs-3); }
154
217
  .cz .sky { display: none; }
@@ -254,6 +317,8 @@ body.cz { margin: 0; font-family: var(--cz-sans); color: var(--cz-ink); backgrou
254
317
  .cz-vw-ib:hover:not(:disabled) { background: var(--cz-well); }
255
318
  .cz-vw-ib:disabled { color: var(--cz-ink3); opacity: .45; cursor: not-allowed; }
256
319
  @media (max-width: 760px) { .cz-vw-ib { width: 44px; height: 44px; } } /* 44 px targets on a phone */
320
+ /* a phone: a title marked wrap (the initiative, batch 18 item 1) takes two lines before it cuts */
321
+ @media (max-width: 760px) { .cz-vw-title.wrap, .cz-vw-title.wrap .cz-vw-rn { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; } }
257
322
  .cz-vw-body { flex: 1; min-height: 0; overflow: auto; }
258
323
  .cz-vw-body > .cz-ph { margin: 16px; }
259
324
  /* a phone: the Viewer is the whole screen, and the place menu steps aside while it is open */
@@ -229,12 +229,14 @@ export function wireDash(body, h) {
229
229
  }
230
230
 
231
231
  /** One host's Dashboard state, for a view that already draws its work in the Viewer (the initiative view on the Board and on Home).
232
- * o: { page ('initiative:<id>'), scope, ws, board (each a value or a function), vid (the Viewer item's id), VW, redraw(), toast(t), openReport(row), editNeeds(n), mdHtml() }
232
+ * o: { page ('initiative:<id>'), scope, ws, board (each a value or a function), vid (the Viewer item's id), VW, redraw(), toast(t), openReport(row), editNeeds(n), mdHtml(),
233
+ * menu (on a phone the toggle sits in ⋯) }
233
234
  * → { presses(), shows(), html(work), read(via), toggle(), wire(body) } */
234
235
  export function dashHost(o) {
235
236
  const x = { view: 'work', d: null, read: false, open: new Set() };
236
237
  const W = () => (typeof o.ws === 'function' ? o.ws() : o.ws) || '', B = () => (typeof o.board === 'function' ? o.board() : o.board) || '';
237
- const presses = () => (x.d ? [togglePress(x.view)] : []);
238
+ // o.menu: on a phone the toggle goes into ⋯ (the initiative's page, batch 18 item 1)
239
+ const presses = () => (x.d ? [{ ...togglePress(x.view), menu: !!o.menu }] : []);
238
240
  const shows = () => x.view === 'dash' && !!x.d;
239
241
  // the body is drawn again only when it shows the dashboard, before or after: a read that lands on the Work view only adds the header icon,
240
242
  // so the focus (a stage picker, a task being typed) stays where the PM left it
@@ -317,7 +317,7 @@ function homeListHtml() {
317
317
  * marks all seen. An item leaves once it is opened or marked seen. */
318
318
  function dayHtml() { return ''; }
319
319
  function dayParts() {
320
- const Y = YD.dayModel(S.M, S.D, L.reviewModel(S.D, NOW()), NOW(), { delightOk: !!S.joyOk, news: S.news, sources: S.src && S.src.sources, ask: MEN.dayAskOf(S.D) });
320
+ const Y = YD.dayModel(S.M, S.D, L.reviewModel(S.D, NOW()), NOW(), { delightOk: !!S.joyOk, news: S.news, sources: S.src && S.src.sources, ask: MEN.dayAskOf(S.D), dress: AD.dress() });
321
321
  return { Y, P: YD.dayParts(Y, { moment: !!(isPhone() && PHC), now: NOW(), first: !!S.first }) };
322
322
  }
323
323
  function drawDayBody(body, P) {
@@ -360,6 +360,8 @@ function day(on) {
360
360
  // ← back from a row's Viewer draws the day as it is now (a draft the PM is done with has left Drafted for you, batch 18 item 2)
361
361
  if (body.dataset.ydDrawn) { const f = dayParts(); S.Y = f.Y; drawDayBody(body, f.P); } else { body.dataset.ydDrawn = '1'; drawDayBody(body, P); }
362
362
  if (isPhone()) mountPull(body, { read: rereadDay, label: 'Reading your day again' });
363
+ // dressed for the season (batch 18 item 8-B, AsSet2Tap): a press on the dressed scene says why; no toast says he dressed up
364
+ AD.mountDressTip(body, { post: pmPost, say: toast, openSettings: (sec) => import('./cozy-settings.js').then((M) => M.openSettings(sec)) });
363
365
  body.onclick = (e) => { // the rows are the list's own rows: the same presses open them
364
366
  const b = e.target.closest('button'); if (!b) return;
365
367
  if (b.dataset.hmSel) { if (b.dataset.hmSel === 'n:update' && !rowById('n:update')) openUpdateViewer(); else select(b.dataset.hmSel); return; }
@@ -416,6 +418,7 @@ function newsIn(r) {
416
418
  if (r.count !== was) { drawList(); redrawDay(); }
417
419
  }
418
420
  document.addEventListener('cz:news-for-you', (e) => { if (e.detail && e.detail.ok) newsIn(e.detail); });
421
+ document.addEventListener('adler:dressed', () => { if (S.day) redrawDay(); }); // he dresses (or undresses: "Not this one") while Your day is open
419
422
  /** ✓✓ in the New for you fold: every item is marked seen (POST /api/news-for-you/seen), so the fold goes. */
420
423
  async function daySeen(b) {
421
424
  const ids = YD.newsOf(S.news).map((x) => x.id); if (!ids.length || b.disabled) return;
@@ -464,7 +467,10 @@ function iniViewOf(id) {
464
467
  const need = H.needsOf(S.D).find((r) => r.ini === id);
465
468
  const p = programOf(S.D.programs || [], row.ws || (B.board || {}).ws || '', id);
466
469
  return iniView(rowFor({ ...row, trail: t || row.trail || null }), { steps: B.steps || STEPS, today: B.today, usual: WFM.usualOf(S.D.trail, row),
467
- ask: need ? { title: need.name } : null, program: p ? { id: p.id, title: p.title } : null });
470
+ ask: need ? { title: need.name, n: H.needsOf(S.D).filter((r) => r.ini === id).length } : null, program: p ? { id: p.id, title: p.title } : null,
471
+ // the card (batch 18 item 1): Claude's line while a session works on it, the stakeholders
472
+ claude: (() => { const w = S.D.sessions.find((s) => H.iniOfSession(s) === id && s.shown === 'working'); return w ? 'I’m working on “' + H.nameOf(w) + '”. I’ll say here when it is ready.' : ''; })(),
473
+ people: (((S.D.desk && S.D.desk.stakeholders) || {})[id] || []) });
468
474
  }
469
475
  /** An initiative no board Home reads holds (its own read only, GET /api/initiative-premium): the row the one view needs, from that read. */
470
476
  function imRowOf(id) {
@@ -54,7 +54,7 @@ export function avHtml(role, size = 28, cls = '') {
54
54
  /** Adler is Claude's avatar once, on the latest reply, in that reply's mood (batch 16 item 2, canvas AdU1): needs you while it asks,
55
55
  * honest when the run stopped, thinking while it runs, handled otherwise. Another role keeps its letter. */
56
56
  const isClaude = (r) => !r || !r.key || r.key === 'claude';
57
- export const adlerAvHtml = (mood) => `<span class="hm-av hm-adler" aria-hidden="true">${adler(mood, 36, { label: false, id: 'chat' })}</span>`;
57
+ export const adlerAvHtml = (mood) => `<span class="hm-av hm-adler" aria-hidden="true">${adler(mood, 36, { label: false, id: 'chat', dress: true })}</span>`;
58
58
 
59
59
  export function mountChat(el, host) {
60
60
  const esc = host.esc;
@@ -30,7 +30,7 @@
30
30
  * never happier than the data. When Claude's own miss or a stuck call already leads the card, the failed source is one card under it. */
31
31
 
32
32
  import { todayOf, hm } from './home-data.js';
33
- import { adler, adlerScene, asleep, firstOpenToday } from './cozy-adler.js'; // Adler, Claude's face (batch 16 item 2): AdB1-3, AdP1, AdP4
33
+ import { adler, adlerScene, asleep, firstOpenToday, dress, dressDay } from './cozy-adler.js'; // Adler, Claude's face (batch 16 item 2): AdB1-3, AdP1, AdP4; dressed for the season (batch 18 item 8-B)
34
34
  import { initials, ago } from './cozy-evmodel.js';
35
35
 
36
36
  const esc = (s) => String(s == null ? '' : s).replace(/[&<>"']/g, (c) => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[c]));
@@ -124,7 +124,9 @@ export function dayModel(M, D, R, now = Date.now(), o = {}) {
124
124
  const thanks = thanksOf(D, now);
125
125
 
126
126
  const h = new Date(now).getHours(), name = D.today && D.today.me ? String(D.today.me) : '';
127
- const hi = (h < 12 ? 'Morning' : h < 17 ? 'Afternoon' : 'Evening') + (name ? ', ' + name : '') + '.';
127
+ // on a festival's own day the greeting wishes it once (AsPlaces); a day with bad news says the news instead (the concerned line replaces it)
128
+ const wish = o.dress && dressDay(o.dress, now) ? 'Happy ' + o.dress.name : '';
129
+ const hi = (wish || (h < 12 ? 'Morning' : h < 17 ? 'Afternoon' : 'Evening')) + (name ? ', ' + name : '') + '.';
128
130
  const gaps = gapsOf(t, now);
129
131
  let mood = 'calm', line = hi, sub = meetText, offer = null;
130
132
  if (misses.length || blocked.length) {
@@ -175,7 +177,8 @@ export function openHtml(Y, o = {}) {
175
177
  // AdP5: a failed source that leads the card draws the small rain cloud in place of the morning scene (Face only: the honest face)
176
178
  const rain = Y.fail && Y.failLead ? adlerScene('rain', 'honest', { label: 'Adler, honest, under a small rain cloud', h: 170 }) : '';
177
179
  if (rain) o = { ...o, scene: true };
178
- const head = rain ? `<div class="yd-scene">${rain}</div>` : o.scene ? `<div class="yd-scene">${adlerScene('morning', 'handled', { label: false })}</div>` : o.big ? '' : faceHtml(Y.face || Y.mood);
180
+ // a dressed day's scene is wider (460 x 170), so the card's 150 px shows its garland or lights, not only the ground (AsPlaces)
181
+ const head = rain ? `<div class="yd-scene">${rain}</div>` : o.scene ? `<div class="yd-scene"${dress() ? ' data-ad-dress role="button" tabindex="0" aria-label="Why Adler is dressed"' : ''}>${adlerScene('morning', 'handled', { label: false, dress: true, ...(dress() ? { w: 460, h: 170 } : {}) })}</div>` : o.big ? '' : faceHtml(Y.face || Y.mood);
179
182
  const chips = Y.chips.length ? `<div class="yd-chips">${Y.chips.map((c) => `<span class="yd-chip">${svg(CHECK, 14, 2.6)}${esc(c)}</span>`).join('')}</div>` : '';
180
183
  const miss = Y.misses.map((m) => `<div class="yd-miss" data-id="${esc(m.id)}"><div class="yd-mt"><b>My miss: ${esc(m.title)}</b>${m.why ? `<em>${esc(m.why)}</em>` : ''}</div>${ok('retry', 'Run it again', m.id)}</div>`).join('');
181
184
  // the failed source under Claude's own miss: one card, no second Adler; its icon reads the source again (Settings › Connectors' ↻)
@@ -213,7 +216,7 @@ const bigHtml = (kind) => (kind === 'win'
213
216
  /** After 22:00 (Settings > Adler > Quiet after), unless something is wrong: Adler asleep, and the day one press away (AdP4). */
214
217
  export function nightHtml(Y) {
215
218
  const sub = Y.calls.length ? (Y.calls.length === 1 ? 'One call waits for you in the morning.' : Y.calls.length + ' calls wait for you in the morning.') : 'Nothing needs you tonight.';
216
- return `<div class="yd-night">${adlerScene('night', 'resting')}<b>It’ll keep till morning.</b><em>${esc(sub)}</em><button type="button" class="yd-awake" data-yd="awake">Open anyway</button></div>`;
219
+ return `<div class="yd-night">${adlerScene('night', 'resting', { dress: true })}<b>It’ll keep till morning.</b><em>${esc(sub)}</em><button type="button" class="yd-awake" data-yd="awake">Open anyway</button></div>`;
217
220
  }
218
221
 
219
222
  /* one New for you item (FmA2Day): the blue dot, who, the words and where it came from; a press opens it in the Viewer (cozy-news.js) */
@@ -54,7 +54,7 @@ function dashFor(id) {
54
54
  if (!id || id === 'product' || !X.ctx) return null;
55
55
  if (!DASH.has(id)) {
56
56
  const wsOf = () => { const M = curM(); return (M && M.board.ws) || (rowOf(id) || {}).ws || ''; };
57
- DASH.set(id, DB.dashHost({ page: 'initiative:' + id, scope: 'initiative:' + id, ws: wsOf, board: () => { const M = curM(); return (M && M.board.id) || (rowOf(id) || {}).boardId || ''; },
57
+ DASH.set(id, DB.dashHost({ page: 'initiative:' + id, menu: true, scope: 'initiative:' + id, ws: wsOf, board: () => { const M = curM(); return (M && M.board.id) || (rowOf(id) || {}).boardId || ''; },
58
58
  vid: 'ov:' + id, VW: X.ctx.VW, redraw: () => { if (BODY) BODY.__pg = null; redrawView(); }, toast: (t) => X.ctx.toast(t),
59
59
  openReport: async (row) => { if (!row.path) return; X.ctx.VW.drill(); (await import('./premium-report-read.js')).openReportView(row.path, { ws: wsOf(), name: row.name, cuts: true }); } }));
60
60
  }
@@ -440,7 +440,7 @@ export function iniPage() {
440
440
  let rename = X.ctx.renameIni ? X.ctx.renameIni(id, '') : null;
441
441
  if (rename) rename = { ...rename, value: X.ctx.iniTitle(id) };
442
442
  const dh = dashFor(id);
443
- BODY = VW.open({ id: 'ov:' + id, kind: X.ctx.kindOf(id), title: X.ctx.iniTitle(id), icon: 'goal', more: () => pageMore(id), rename,
443
+ BODY = VW.open({ id: 'ov:' + id, kind: X.ctx.kindOf(id), title: X.ctx.iniTitle(id), icon: 'goal', wrap: true, more: () => pageMore(id), rename,
444
444
  discuss: () => X.ctx.newIn(id), discussHome: true, // the one view (OvViewers): Discuss starts a new session about it, where + New session was
445
445
  presses: dh ? dh.presses() : null, onPress: (a) => { if (a === 'dash' && dh) dh.toggle(); },
446
446
  render: (b) => { X.view = 'page'; BODY = b; ADDING = null; draw(b); wire(b, id); wirePage(b, id); if (dh) dh.wire(b); } });
@@ -37,7 +37,7 @@ const P = {
37
37
  all: 'M2 12.5l4.5 4.5L15 8M9 15l2 2L22 7', spark: VW.ICONS.spark,
38
38
  };
39
39
  const BADGE = { slack: 'M9 4l-2 16M17 4l-2 16M4 9h16M3 15h16', mail: 'M3.5 5.5h17v13h-17zM3.5 6l8.5 7 8.5-7', gmail: 'M3.5 5.5h17v13h-17zM3.5 6l8.5 7 8.5-7',
40
- jira: 'M12 3l9 9-9 9-9-9z', confluence: 'M7 3h7l4 4v14H7zM14 3v4h4', doc: 'M7 3h7l4 4v14H7zM14 3v4h4' };
40
+ jira: 'M4 7h16v3a2 2 0 0 0 0 4v3H4v-3a2 2 0 0 0 0-4z', confluence: 'M7 3h7l4 4v14H7zM14 3v4h4', doc: 'M7 3h7l4 4v14H7zM14 3v4h4' };
41
41
  const svg = (d, w = 16, sw = 2) => `<svg aria-hidden="true" width="${w}" height="${w}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="${sw}" stroke-linecap="round" stroke-linejoin="round"><path d="${d}"/></svg>`;
42
42
  const srcName = (s) => SRC[s] || (s ? String(s).charAt(0).toUpperCase() + String(s).slice(1) : 'its source');
43
43
  const sendIn = (s) => (s === 'mail' ? 'your email' : srcName(s));
@@ -177,7 +177,7 @@ export function madeHtml(x, W = W0) {
177
177
  // AdH2: Adler celebrates once, on the first view of this delivery (and at most once a week), in the small win scene; every later view is calm.
178
178
  // The diamond on the timeline stays plain and nothing is sent.
179
179
  const joy = celebrateOnce('made.' + x.ms.name + '.' + x.ms.date), scene = joy && adPrefs()['adler.amount'] === 'full';
180
- return `<section class="im im-made" aria-label="Who made it happen">${scene ? `<div class="im-win">${adlerScene('win', 'celebrating', { w: 500, h: 200, label: false })}</div>` : ''}<div class="im-mh">${scene ? '' : adler(joy ? 'celebrating' : 'handled', 44, { label: false })}<span class="im-tx"><b class="im-t">${esc(x.ms.name)} delivered on ${esc(x.ms.date)}.</b><span class="im-s">Here’s who made it happen.</span></span></div>`
180
+ return `<section class="im im-made" aria-label="Who made it happen">${scene ? `<div class="im-win">${adlerScene('win', 'celebrating', { w: 500, h: 200, label: false, dress: true })}</div>` : ''}<div class="im-mh">${scene ? '' : adler(joy ? 'celebrating' : 'handled', 44, { label: false })}<span class="im-tx"><b class="im-t">${esc(x.ms.name)} delivered on ${esc(x.ms.date)}.</b><span class="im-s">Here’s who made it happen.</span></span></div>`
181
181
  + `<div class="im-card">${x.people.map((p) => `<div class="im-row"><span class="im-av" aria-hidden="true">${initial(p.who)}</span><span class="im-tx"><b class="im-t">${esc(p.who)}</b><span class="im-s">${esc(p.what)}</span></span>`
182
182
  + `<a class="im-ib" href="${esc(p.url)}"${linkAttrs(p.url)} aria-label="Open ${esc(p.key || p.what)}" title="Open ${esc(p.key || 'the ticket')}">${svg(I.open, 20)}</a></div>`).join('')}</div>${LOCK}</section>`;
183
183
  }
@@ -4,7 +4,8 @@
4
4
  * itself is pure (ini-view-model.js groupBy, groupSections); this file reads what it needs, draws the presses and writes the PM's picks.
5
5
  *
6
6
  * view(v) → v with its Tasks grouped as the PM picked (tasks.by, tasks.sections, tasks.gsum); Stage leaves v as it is
7
- * headHtml(v) the group icon (layers) in the Tasks header, before the view switch; none while Tasks is empty or has no record id
7
+ * headHtml(v) "Showing <stage> only ✕" in the Tasks header while the stage card filters it; nothing else (Group by is in the view sheet)
8
+ * api(root, H) the view sheet's Group by row (pm/ini-tasks.js): the grouping, a press on Stage, Owner or Status, and the full menu
8
9
  * sumHtml(v) By epic's card: "N tickets are drafted, not in Jira" with Send to Jira, or "Sending to Jira" (zero is silence)
9
10
  * toolsHtml(sec) what a group's header carries after its fold: ⋯ on the PM's own group, the send icon on an epic with drafted tickets
10
11
  * tkRowsHtml(sec) an epic's tickets: a drafted one has no box and opens the draft (tk-draft.js); a sent one shows its key and status
@@ -23,8 +24,8 @@ import { readLine } from './tk-model.js';
23
24
  const esc = (s) => String(s == null ? '' : s).replace(/[&<>"']/g, (c) => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[c]));
24
25
  const SVG = (d, w = 16, sw = 1.8) => `<svg aria-hidden="true" width="${w}" height="${w}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="${sw}" stroke-linecap="round" stroke-linejoin="round"><path d="${d}"/></svg>`;
25
26
  const P = {
26
- layers: 'M3 7l9-4 9 4-9 4zM3 12l9 4 9-4M3 17l9 4 9-4', send: 'M4 12l16-8-6 16-3-7zM11 13l9-9', more: 'M5 12h.01M12 12h.01M19 12h.01',
27
- check: 'M5 12l5 5 9-10', x: 'M6 6l12 12M18 6L6 18', plus: 'M12 5v14M5 12h14', tk: 'M12 3l9 9-9 9-9-9z', draft: 'M12 3v4M12 17v4M3 12h4M17 12h4M5.6 5.6l2.8 2.8M15.6 15.6l2.8 2.8M5.6 18.4l2.8-2.8M15.6 8.4l2.8-2.8',
27
+ send: 'M4 12l16-8-6 16-3-7zM11 13l9-9', more: 'M5 12h.01M12 12h.01M19 12h.01',
28
+ check: 'M5 12l5 5 9-10', x: 'M6 6l12 12M18 6L6 18', plus: 'M12 5v14M5 12h14', tk: 'M4 7h16v3a2 2 0 0 0 0 4v3H4v-3a2 2 0 0 0 0-4z', draft: 'M12 3v4M12 17v4M3 12h4M17 12h4M5.6 5.6l2.8 2.8M15.6 15.6l2.8 2.8M5.6 18.4l2.8-2.8M15.6 8.4l2.8-2.8',
28
29
  };
29
30
  const plural = (n, one, many) => n + ' ' + (n === 1 ? one : many);
30
31
  const LAY = new Map(); // initiative id → its layout (GET /api/initiative-layout), as the last read or write answered
@@ -67,7 +68,7 @@ async function readT(id, H) {
67
68
  /** Reads what the initiative shown needs, once; a redraw follows each answer. */
68
69
  export function attach(body, H) {
69
70
  const n = body && body.querySelector('[data-iv]'), id = n && n.dataset.iv;
70
- if (!idOk(id) || !H || !body.querySelector('[data-ig-by]')) return; // no group icon: no record id, or nothing to group
71
+ if (!idOk(id) || !H || !body.querySelector('[data-iv-vbtn]')) return; // no view button: nothing to group
71
72
  if (!LAY.has(id)) readL(id, H);
72
73
  if (!TK.has(id)) readT(id, H);
73
74
  }
@@ -92,12 +93,17 @@ export function view(v) {
92
93
  const shown = sections.filter((s) => (s.kind === 'epic' ? withJira : !bare(s)));
93
94
  return { ...v, tasks: { ...v.tasks, by, sections: shown, gsum: withJira ? sum : null, only: f.name } };
94
95
  }
96
+ /** The stage the card showed: its name and a ✕ that shows every stage again (filters earn space: only while one is on). Group by itself
97
+ * lives in the view sheet (batch 18 item 1, XvpA4Sheet; pm/ini-tasks.js sheetHtml), through api() below. */
95
98
  export function headHtml(v) {
96
- if (!v || !idOk(v.id) || !v.tasks || v.tasks.empty) return '';
97
- const by = v.tasks.by || 'stage';
98
- // the stage the card showed: its name and a ✕ that shows every stage again (filters earn space: only while one is on)
99
- const only = v.tasks.only ? `<button type="button" class="ig-only" data-ig-all aria-label="${esc('Showing ' + v.tasks.only + ' only. Show every stage')}" title="Show every stage">${esc(v.tasks.only)}${SVG(P.x, 14, 2)}</button>` : '';
100
- return only + `<button type="button" class="iv-ib ig-by${by !== 'stage' ? ' on' : ''}" data-ig-by aria-haspopup="menu" aria-label="Group tasks by" title="${esc('Group tasks by · ' + GROUP_BY[by])}">${SVG(P.layers, 18)}</button>`;
99
+ if (!v || !idOk(v.id) || !v.tasks || v.tasks.empty || !v.tasks.only) return '';
100
+ return `<button type="button" class="ig-only" data-ig-all aria-label="${esc('Showing ' + v.tasks.only + ' only. Show every stage')}" title="Show every stage">${esc(v.tasks.only)}${SVG(P.x, 14, 2)}</button>`;
101
+ }
102
+ /** What the view sheet needs for its Group by row: ok (the initiative has a record id), by() and label() the grouping, set(k) the press
103
+ * (→ the write's promise), more(anchor) the full menu (Epic, Your groups, the sets, New group) under the view button. */
104
+ export function api(root, H) {
105
+ const id = root && root.dataset.iv;
106
+ return { ok: idOk(id), by: () => byOf(id), label: () => GROUP_BY[byOf(id)] || 'Stage', set: (k) => (byOf(id) === k ? null : lay(id, H, { kind: 'by', by: k })), more: (a) => groupMenu(a, id, H) };
101
107
  }
102
108
  export function sumHtml(v) {
103
109
  const s = v && v.tasks && v.tasks.gsum; if (!s) return '';
@@ -213,7 +219,6 @@ async function openTk(id, H, tid) {
213
219
  }
214
220
  export function press(b, d, root, H) {
215
221
  const id = root && root.dataset.iv; if (!idOk(id)) return false;
216
- if ('igBy' in d) { if (POP && POP.anchor === b) closePop(); else groupMenu(b, id, H); return true; }
217
222
  if (d.igGmore) { groupMore(b, id, H, d.igGmore); return true; }
218
223
  if ('igAll' in d) { ONLY.delete(id); if (H.redraw) H.redraw(); return true; }
219
224
  if (d.igSend != null) { send(id, H, { group: d.igSend }); return true; }
@@ -31,7 +31,7 @@ export const PL = {
31
31
  link: 'M10 14a4 4 0 0 0 5.66 0l3-3a4 4 0 0 0-5.66-5.66l-1 1M14 10a4 4 0 0 0-5.66 0l-3 3a4 4 0 0 0 5.66 5.66l1-1',
32
32
  unlink: 'M10 14a4 4 0 0 0 5.66 0l3-3a4 4 0 0 0-5.66-5.66l-1 1M14 10a4 4 0 0 0-5.66 0l-3 3a4 4 0 0 0 5.66 5.66l1-1M4 4l16 16',
33
33
  check: 'M5 12l5 5 9-10', x: 'M6 6l12 12M18 6L6 18', undo: 'M9 14L4 9l5-5M4 9h10a6 6 0 0 1 0 12h-3', minus: 'M5 12h14', plus: 'M12 5v14M5 12h14',
34
- search: 'M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM20 20l-4-4', cal: 'M4 5h16v15H4zM8 3v4M16 3v4M4 10h16', dia: 'M12 4l8 8-8 8-8-8z', jira: 'M12 3l9 9-9 9-9-9z',
34
+ search: 'M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM20 20l-4-4', cal: 'M4 5h16v15H4zM8 3v4M16 3v4M4 10h16', dia: 'M12 4l8 8-8 8-8-8z', jira: 'M4 7h16v3a2 2 0 0 0 0 4v3H4v-3a2 2 0 0 0 0-4z',
35
35
  // the four types, the two ends joined: the waited-on end on the left, the waiting end on the right
36
36
  fs: 'M3 7h8v10h10M17 13l4 4-4 4', ss: 'M7 4v6h14M7 10v10M17 6l4 4-4 4', ff: 'M3 7h14v10H7M17 13v8', sf: 'M7 4v13h10M7 17h0M13 13l4 4-4 4',
37
37
  };