@radicaltools/mcp 0.5.0 → 0.6.1
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.
- package/dist/{chunk-ULUOEM3X.js → chunk-CKZSHFE5.js} +1 -1
- package/dist/{chunk-DSR2PAMW.js → chunk-H2EUPF2D.js} +1 -1
- package/dist/{dist-4NNGZXOU.js → dist-3IBN4PU7.js} +2 -2
- package/dist/{elkLayout-YXJWF5QP.js → elkLayout-7MVDIEFO.js} +2 -2
- package/dist/hub-catalogue/concern/concern-accessibility.radical +871 -0
- package/dist/hub-catalogue/concern/concern-ci-cd-pipeline.radical +975 -0
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +84 -311
- package/dist/hub-catalogue/concern/concern-mobile-performance.radical +710 -0
- package/dist/hub-catalogue/concern/concern-release-versioning.radical +294 -57
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +1 -1
- package/dist/hub-catalogue/concern/concern-usability.radical +1266 -0
- package/dist/index.js +335 -161
- package/dist/{pdfjs-7X3VKNRD.js → pdfjs-DDCLOUBH.js} +1 -1
- package/package.json +1 -1
|
@@ -3,29 +3,25 @@
|
|
|
3
3
|
"id": "concern-frontend-stack",
|
|
4
4
|
"category": "concern",
|
|
5
5
|
"name": "Frontend stack",
|
|
6
|
-
"description": "The UI framework and rendering model of a web front end, its design system, the browsers it supports, its
|
|
6
|
+
"description": "The UI framework and rendering model of a web front end, its design system, the browsers it supports, its JavaScript budget and how long its framework stays supported. The Core Web Vitals and accessibility are decided in the UX & Accessibility packs.",
|
|
7
7
|
"tags": [
|
|
8
8
|
"technology",
|
|
9
9
|
"frontend",
|
|
10
10
|
"web",
|
|
11
11
|
"framework",
|
|
12
|
-
"
|
|
13
|
-
"accessibility",
|
|
12
|
+
"rendering",
|
|
14
13
|
"design system",
|
|
15
|
-
"browser support"
|
|
14
|
+
"browser support",
|
|
15
|
+
"javascript budget"
|
|
16
16
|
],
|
|
17
17
|
"requiredMetamodel": "c4-ddd-governance-builtin",
|
|
18
18
|
"concern": {
|
|
19
19
|
"id": "frontend-stack",
|
|
20
20
|
"trigger": "LIST NODES WHERE type = \"webapp\" AND external != true",
|
|
21
|
-
"why": "these are web front ends, so what they are built with, how they render, how
|
|
21
|
+
"why": "these are web front ends, so what they are built with, how they render, how much JavaScript they may ship, and which browsers they support has to be decided.",
|
|
22
22
|
"group": "technology"
|
|
23
23
|
},
|
|
24
24
|
"sources": [
|
|
25
|
-
{
|
|
26
|
-
"title": "web.dev: Web Vitals (LCP, INP, CLS and their thresholds)",
|
|
27
|
-
"url": "https://web.dev/articles/vitals"
|
|
28
|
-
},
|
|
29
25
|
{
|
|
30
26
|
"title": "web.dev: Performance budgets 101",
|
|
31
27
|
"url": "https://web.dev/articles/performance-budgets-101"
|
|
@@ -42,14 +38,6 @@
|
|
|
42
38
|
"title": "web.dev: Prevent unnecessary network requests with the HTTP Cache",
|
|
43
39
|
"url": "https://web.dev/articles/http-cache"
|
|
44
40
|
},
|
|
45
|
-
{
|
|
46
|
-
"title": "W3C: Web Content Accessibility Guidelines (WCAG) 2.2",
|
|
47
|
-
"url": "https://www.w3.org/TR/WCAG22/"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"title": "ETSI EN 301 549: Accessibility requirements for ICT products and services",
|
|
51
|
-
"url": "https://www.etsi.org/deliver/etsi_en/301500_301599/301549/03.02.01_60/en_301549v030201p.pdf"
|
|
52
|
-
},
|
|
53
41
|
{
|
|
54
42
|
"title": "W3C Design Tokens Community Group: Design Tokens Format Module",
|
|
55
43
|
"url": "https://tr.designtokens.org/format/"
|
|
@@ -70,10 +58,6 @@
|
|
|
70
58
|
"title": "Lighthouse CI",
|
|
71
59
|
"url": "https://github.com/GoogleChrome/lighthouse-ci"
|
|
72
60
|
},
|
|
73
|
-
{
|
|
74
|
-
"title": "axe-core",
|
|
75
|
-
"url": "https://github.com/dequelabs/axe-core"
|
|
76
|
-
},
|
|
77
61
|
{
|
|
78
62
|
"title": "Thoughtworks Technology Radar",
|
|
79
63
|
"url": "https://www.thoughtworks.com/radar"
|
|
@@ -186,24 +170,6 @@
|
|
|
186
170
|
}
|
|
187
171
|
]
|
|
188
172
|
},
|
|
189
|
-
{
|
|
190
|
-
"key": "LCP_MS",
|
|
191
|
-
"label": "Largest Contentful Paint at the 75th percentile (ms)?",
|
|
192
|
-
"defaultValue": "2500",
|
|
193
|
-
"type": "number"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"key": "INP_MS",
|
|
197
|
-
"label": "Interaction to Next Paint at the 75th percentile (ms)?",
|
|
198
|
-
"defaultValue": "200",
|
|
199
|
-
"type": "number"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"key": "CLS",
|
|
203
|
-
"label": "Cumulative Layout Shift at the 75th percentile?",
|
|
204
|
-
"defaultValue": "0.1",
|
|
205
|
-
"type": "number"
|
|
206
|
-
},
|
|
207
173
|
{
|
|
208
174
|
"key": "JS_KB",
|
|
209
175
|
"label": "At most how much JavaScript may a route load before it is interactive (KB, compressed)?",
|
|
@@ -222,12 +188,12 @@
|
|
|
222
188
|
{
|
|
223
189
|
"id": "need",
|
|
224
190
|
"type": "need",
|
|
225
|
-
"label": "A
|
|
191
|
+
"label": "A front end built to last",
|
|
226
192
|
"x": 0,
|
|
227
193
|
"y": 0,
|
|
228
194
|
"kind": "brief",
|
|
229
195
|
"source": "Hub concern pack: Frontend stack",
|
|
230
|
-
"description": "People use this front end on their own devices, browsers and networks
|
|
196
|
+
"description": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
231
197
|
},
|
|
232
198
|
{
|
|
233
199
|
"id": "req-one-framework",
|
|
@@ -239,42 +205,22 @@
|
|
|
239
205
|
"action": "build the front end with {{FRAMEWORK}}, adding another UI framework only after a new decision record supersedes this one",
|
|
240
206
|
"rationale": "Two UI frameworks in one front end double the JavaScript users download and the skills the team needs (Thoughtworks Technology Radar)."
|
|
241
207
|
},
|
|
242
|
-
{
|
|
243
|
-
"id": "req-vitals",
|
|
244
|
-
"type": "requirement",
|
|
245
|
-
"label": "Core Web Vitals met",
|
|
246
|
-
"x": 260,
|
|
247
|
-
"y": 130,
|
|
248
|
-
"ears_type": "ubiquitous",
|
|
249
|
-
"action": "meet, at the 75th percentile of real page loads over 28 days per page group, a Largest Contentful Paint within {{LCP_MS}} ms, an Interaction to Next Paint within {{INP_MS}} ms and a Cumulative Layout Shift of at most {{CLS}}",
|
|
250
|
-
"rationale": "These are the thresholds for a \"good\" experience, measured at the 75th percentile of field data over 28 days (web.dev, Web Vitals: LCP 2.5 s, INP 200 ms, CLS 0.1); they also feed search ranking."
|
|
251
|
-
},
|
|
252
208
|
{
|
|
253
209
|
"id": "req-bundle",
|
|
254
210
|
"type": "requirement",
|
|
255
211
|
"label": "JavaScript within budget",
|
|
256
212
|
"x": 260,
|
|
257
|
-
"y":
|
|
213
|
+
"y": 130,
|
|
258
214
|
"ears_type": "ubiquitous",
|
|
259
|
-
"action": "keep the JavaScript a route loads
|
|
215
|
+
"action": "keep the JavaScript a route loads on its first view within {{JS_KB}} KB compressed, loading the rest on demand",
|
|
260
216
|
"rationale": "JavaScript is the costliest byte on a phone: it is downloaded, parsed and run on the main thread, which is what INP measures (web.dev, Performance budgets 101)."
|
|
261
217
|
},
|
|
262
|
-
{
|
|
263
|
-
"id": "req-a11y",
|
|
264
|
-
"type": "requirement",
|
|
265
|
-
"label": "Accessible to WCAG 2.2 AA",
|
|
266
|
-
"x": 260,
|
|
267
|
-
"y": 390,
|
|
268
|
-
"ears_type": "ubiquitous",
|
|
269
|
-
"action": "conform to WCAG 2.2 level AA on every page, with 0 serious or critical automated accessibility violations, every function operable by keyboard alone, and a manual audit with a screen reader before each major release",
|
|
270
|
-
"rationale": "WCAG 2.2 AA is the level EN 301 549, the European Accessibility Act and most public-sector rules require; automated checks find only part of the failures, hence the keyboard journey and the manual audit (W3C WCAG 2.2; EN 301 549)."
|
|
271
|
-
},
|
|
272
218
|
{
|
|
273
219
|
"id": "req-supported",
|
|
274
220
|
"type": "requirement",
|
|
275
221
|
"label": "Supported framework versions",
|
|
276
222
|
"x": 260,
|
|
277
|
-
"y":
|
|
223
|
+
"y": 260,
|
|
278
224
|
"ears_type": "ubiquitous",
|
|
279
225
|
"action": "run only framework and build-tool majors under support, moving off each at least {{EOL_DAYS}} days before its end of support",
|
|
280
226
|
"rationale": "Front-end frameworks support a major for a limited time (Angular 18 months, Node.js-based tooling with its runtime); after that, security fixes stop (endoflife.date).",
|
|
@@ -292,7 +238,7 @@
|
|
|
292
238
|
"type": "requirement",
|
|
293
239
|
"label": "App shell cached right",
|
|
294
240
|
"x": 260,
|
|
295
|
-
"y":
|
|
241
|
+
"y": 390,
|
|
296
242
|
"ears_type": "event-driven",
|
|
297
243
|
"trigger": "a new version of the single-page app is deployed",
|
|
298
244
|
"action": "serve its content-hashed assets with a one-year immutable cache and its HTML with no-cache, so that every user gets the new version on their next navigation and 0 users load a mix of versions",
|
|
@@ -314,11 +260,11 @@
|
|
|
314
260
|
"type": "requirement",
|
|
315
261
|
"label": "Content in the first response",
|
|
316
262
|
"x": 260,
|
|
317
|
-
"y":
|
|
263
|
+
"y": 520,
|
|
318
264
|
"ears_type": "event-driven",
|
|
319
265
|
"trigger": "a page is requested",
|
|
320
266
|
"action": "answer with HTML that already holds the page's main content, with a Time to First Byte within 800 ms at the 75th percentile at the peak load decided in the Capacity and scaling pack",
|
|
321
|
-
"rationale": "Server rendering pays off only if the server answers quickly; 800 ms is web.dev's \"good\" Time to First Byte, which leaves room for LCP
|
|
267
|
+
"rationale": "Server rendering pays off only if the server answers quickly; 800 ms is web.dev's \"good\" Time to First Byte, which leaves room for the LCP budget of the Mobile and perceived performance pack (web.dev, TTFB).",
|
|
322
268
|
"hubWhen": {
|
|
323
269
|
"RENDERING": [
|
|
324
270
|
"ssr"
|
|
@@ -330,7 +276,7 @@
|
|
|
330
276
|
"type": "requirement",
|
|
331
277
|
"label": "Pages built in advance",
|
|
332
278
|
"x": 260,
|
|
333
|
-
"y":
|
|
279
|
+
"y": 650,
|
|
334
280
|
"ears_type": "event-driven",
|
|
335
281
|
"trigger": "content is published or changed",
|
|
336
282
|
"action": "rebuild the affected pages and serve them from the CDN within 15 minutes, with 100% of pages served as pre-built files from the CDN cache",
|
|
@@ -352,7 +298,7 @@
|
|
|
352
298
|
"type": "requirement",
|
|
353
299
|
"label": "Screens use our design system",
|
|
354
300
|
"x": 260,
|
|
355
|
-
"y":
|
|
301
|
+
"y": 780,
|
|
356
302
|
"ears_type": "ubiquitous",
|
|
357
303
|
"action": "build every screen from the design system's components and tokens, document each component with its states in Storybook, and use 0 hard-coded colours, font sizes or spacing outside the tokens",
|
|
358
304
|
"rationale": "A design system pays off only when used everywhere; tokens make a brand or contrast change one edit instead of a search (W3C Design Tokens Format Module).",
|
|
@@ -367,7 +313,7 @@
|
|
|
367
313
|
"type": "requirement",
|
|
368
314
|
"label": "Library used through its theme",
|
|
369
315
|
"x": 260,
|
|
370
|
-
"y":
|
|
316
|
+
"y": 910,
|
|
371
317
|
"ears_type": "ubiquitous",
|
|
372
318
|
"action": "style the component library only through its theme and public props, with 0 overrides of its internal class names, so that it can be upgraded to each new major within 6 months",
|
|
373
319
|
"rationale": "Overrides of a library's internals break on its next major and pin the front end to an old version (the library's own theming guides).",
|
|
@@ -382,7 +328,7 @@
|
|
|
382
328
|
"type": "requirement",
|
|
383
329
|
"label": "Utilities use the tokens",
|
|
384
330
|
"x": 260,
|
|
385
|
-
"y":
|
|
331
|
+
"y": 1040,
|
|
386
332
|
"ears_type": "ubiquitous",
|
|
387
333
|
"action": "take colours, spacing and type sizes only from the tokens in the Tailwind theme, with 0 arbitrary values in class names",
|
|
388
334
|
"rationale": "Arbitrary values bypass the theme and turn the design system back into one-off styles (Tailwind CSS documentation, theme variables).",
|
|
@@ -397,7 +343,7 @@
|
|
|
397
343
|
"type": "requirement",
|
|
398
344
|
"label": "Supported browsers work",
|
|
399
345
|
"x": 260,
|
|
400
|
-
"y":
|
|
346
|
+
"y": 1170,
|
|
401
347
|
"ears_type": "ubiquitous",
|
|
402
348
|
"action": "work in every browser of {{BROWSERS}}, with the main journeys tested in Chromium, Firefox and WebKit on every pull request and 0 unsupported language or web features shipped without a polyfill",
|
|
403
349
|
"rationale": "An explicit browser list lets the build ship only the transpilation and polyfills needed, and the lint catch a feature the list does not have (Browserslist)."
|
|
@@ -407,7 +353,7 @@
|
|
|
407
353
|
"type": "requirement",
|
|
408
354
|
"label": "Old browsers told",
|
|
409
355
|
"x": 260,
|
|
410
|
-
"y":
|
|
356
|
+
"y": 1300,
|
|
411
357
|
"ears_type": "unwanted-behaviour",
|
|
412
358
|
"unwanted_condition": "the front end is opened in a browser outside the supported list",
|
|
413
359
|
"action": "show a notice naming the supported browsers instead of a broken page",
|
|
@@ -423,12 +369,12 @@
|
|
|
423
369
|
"type": "requirement",
|
|
424
370
|
"label": "Tested on older phones",
|
|
425
371
|
"x": 260,
|
|
426
|
-
"y":
|
|
372
|
+
"y": 1430,
|
|
427
373
|
"ears_type": "event-driven",
|
|
428
374
|
"trigger": "a release candidate is built",
|
|
429
|
-
"action": "run the main journeys on real devices with the oldest supported iOS Safari and a low-end Android phone
|
|
430
|
-
"rationale": "Emulated browsers miss the CPU and
|
|
431
|
-
"unchecked": "It runs on real phones, which no pipeline tool here drives: the release engineer runs the main journeys on the device bench (the oldest supported iPhone and a low-end Android phone) before each release candidate is promoted, and records LCP from the phone's DevTools in the release notes.",
|
|
375
|
+
"action": "run the main journeys on real devices with the oldest supported iOS Safari and a low-end Android phone",
|
|
376
|
+
"rationale": "Emulated browsers miss the CPU, memory and engine limits of old phones, where an extended audience meets the front end (Browserslist).",
|
|
377
|
+
"unchecked": "It runs on real phones, which no pipeline tool here drives: the release engineer runs the main journeys on the device bench (the oldest supported iPhone and a low-end Android phone) before each release candidate is promoted, and records the result, with LCP read from the phone's DevTools against the budget of the Mobile and perceived performance pack, in the release notes.",
|
|
432
378
|
"hubWhen": {
|
|
433
379
|
"BROWSERS": [
|
|
434
380
|
"extended"
|
|
@@ -445,42 +391,22 @@
|
|
|
445
391
|
"when": "a change adds another UI framework's package",
|
|
446
392
|
"then": "the framework check fails until a decision record allows it"
|
|
447
393
|
},
|
|
448
|
-
{
|
|
449
|
-
"id": "sc-vitals",
|
|
450
|
-
"type": "scenario",
|
|
451
|
-
"label": "Field vitals within budget",
|
|
452
|
-
"x": 520,
|
|
453
|
-
"y": 130,
|
|
454
|
-
"given": "28 days of real-user measurements per page group",
|
|
455
|
-
"when": "the 75th percentiles are computed",
|
|
456
|
-
"then": "LCP is within {{LCP_MS}} ms, INP within {{INP_MS}} ms and CLS at most {{CLS}} for every page group"
|
|
457
|
-
},
|
|
458
394
|
{
|
|
459
395
|
"id": "sc-bundle",
|
|
460
396
|
"type": "scenario",
|
|
461
397
|
"label": "Bundle over budget refused",
|
|
462
398
|
"x": 520,
|
|
463
|
-
"y":
|
|
399
|
+
"y": 130,
|
|
464
400
|
"given": "a pull request that adds a large library to a route",
|
|
465
|
-
"when": "Lighthouse CI
|
|
466
|
-
"then": "
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"id": "sc-a11y",
|
|
470
|
-
"type": "scenario",
|
|
471
|
-
"label": "Page passes accessibility checks",
|
|
472
|
-
"x": 520,
|
|
473
|
-
"y": 390,
|
|
474
|
-
"given": "each page of the main journeys",
|
|
475
|
-
"when": "the automated checks run and the main journey is completed with the keyboard only",
|
|
476
|
-
"then": "0 serious or critical violations are reported and the journey completes"
|
|
401
|
+
"when": "Lighthouse CI collects from the preview and radical check judges the measurements",
|
|
402
|
+
"then": "the script size condition fails when the route's script transfer size passes {{JS_KB}} KB"
|
|
477
403
|
},
|
|
478
404
|
{
|
|
479
405
|
"id": "sc-supported",
|
|
480
406
|
"type": "scenario",
|
|
481
407
|
"label": "End of support ahead",
|
|
482
408
|
"x": 520,
|
|
483
|
-
"y":
|
|
409
|
+
"y": 260,
|
|
484
410
|
"given": "a framework major whose end of support is less than {{EOL_DAYS}} days away",
|
|
485
411
|
"when": "the version check runs",
|
|
486
412
|
"then": "it fails naming the version and its end-of-support date",
|
|
@@ -498,7 +424,7 @@
|
|
|
498
424
|
"type": "scenario",
|
|
499
425
|
"label": "New version reaches users",
|
|
500
426
|
"x": 520,
|
|
501
|
-
"y":
|
|
427
|
+
"y": 390,
|
|
502
428
|
"given": "a user with the previous version cached",
|
|
503
429
|
"when": "a new version is deployed and the user navigates",
|
|
504
430
|
"then": "the new HTML loads, its hashed assets are fetched once, and the unchanged ones come from the cache",
|
|
@@ -519,7 +445,7 @@
|
|
|
519
445
|
"type": "scenario",
|
|
520
446
|
"label": "Content without JavaScript",
|
|
521
447
|
"x": 520,
|
|
522
|
-
"y":
|
|
448
|
+
"y": 520,
|
|
523
449
|
"given": "a public page",
|
|
524
450
|
"when": "it is requested at the peak rate with JavaScript disabled",
|
|
525
451
|
"then": "its main content is in the HTML, and the 75th-percentile TTFB is within 800 ms",
|
|
@@ -534,7 +460,7 @@
|
|
|
534
460
|
"type": "scenario",
|
|
535
461
|
"label": "Change live within 15 minutes",
|
|
536
462
|
"x": 520,
|
|
537
|
-
"y":
|
|
463
|
+
"y": 650,
|
|
538
464
|
"given": "a published page",
|
|
539
465
|
"when": "its content is changed",
|
|
540
466
|
"then": "the publish run completes within 15 minutes and the CDN serves the rebuilt page from its cache",
|
|
@@ -555,7 +481,7 @@
|
|
|
555
481
|
"type": "scenario",
|
|
556
482
|
"label": "Hard-coded colour refused",
|
|
557
483
|
"x": 520,
|
|
558
|
-
"y":
|
|
484
|
+
"y": 780,
|
|
559
485
|
"given": "a stylesheet change",
|
|
560
486
|
"when": "it sets a colour as a hex value instead of a token",
|
|
561
487
|
"then": "the style lint fails",
|
|
@@ -570,7 +496,7 @@
|
|
|
570
496
|
"type": "scenario",
|
|
571
497
|
"label": "Internal override refused",
|
|
572
498
|
"x": 520,
|
|
573
|
-
"y":
|
|
499
|
+
"y": 910,
|
|
574
500
|
"given": "a stylesheet change",
|
|
575
501
|
"when": "it targets one of the library's internal class names",
|
|
576
502
|
"then": "the style lint fails",
|
|
@@ -585,7 +511,7 @@
|
|
|
585
511
|
"type": "scenario",
|
|
586
512
|
"label": "Arbitrary value refused",
|
|
587
513
|
"x": 520,
|
|
588
|
-
"y":
|
|
514
|
+
"y": 1040,
|
|
589
515
|
"given": "a component or template change",
|
|
590
516
|
"when": "it uses a class with an arbitrary value such as a hex colour in brackets",
|
|
591
517
|
"then": "the lint fails",
|
|
@@ -600,7 +526,7 @@
|
|
|
600
526
|
"type": "scenario",
|
|
601
527
|
"label": "Unsupported feature caught",
|
|
602
528
|
"x": 520,
|
|
603
|
-
"y":
|
|
529
|
+
"y": 1170,
|
|
604
530
|
"given": "the browser list",
|
|
605
531
|
"when": "a change uses a web feature a listed browser lacks",
|
|
606
532
|
"then": "the compatibility lint fails unless a polyfill is configured"
|
|
@@ -610,7 +536,7 @@
|
|
|
610
536
|
"type": "scenario",
|
|
611
537
|
"label": "Notice in old browser",
|
|
612
538
|
"x": 520,
|
|
613
|
-
"y":
|
|
539
|
+
"y": 1300,
|
|
614
540
|
"given": "a browser lacking a feature every supported browser has",
|
|
615
541
|
"when": "the front end is opened",
|
|
616
542
|
"then": "the notice names the supported browsers",
|
|
@@ -625,10 +551,10 @@
|
|
|
625
551
|
"type": "scenario",
|
|
626
552
|
"label": "Journeys pass on old phones",
|
|
627
553
|
"x": 520,
|
|
628
|
-
"y":
|
|
554
|
+
"y": 1430,
|
|
629
555
|
"given": "a release candidate",
|
|
630
556
|
"when": "the main journeys run on the oldest supported iPhone and a low-end Android phone",
|
|
631
|
-
"then": "all pass
|
|
557
|
+
"then": "all pass",
|
|
632
558
|
"hubWhen": {
|
|
633
559
|
"BROWSERS": [
|
|
634
560
|
"extended"
|
|
@@ -644,8 +570,8 @@
|
|
|
644
570
|
"concern": "frontend-stack",
|
|
645
571
|
"status": "accepted",
|
|
646
572
|
"date": "",
|
|
647
|
-
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship
|
|
648
|
-
"decision": "The front end is built with React in TypeScript (strict). Rendering: {{RENDERING}}: Next.js (App Router, server components) for server rendering and static generation, Vite with React Router for a single-page app. Data fetching with TanStack Query; forms with React Hook Form. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}.
|
|
573
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; and the browsers to support decide which features and polyfills ship. How fast pages feel on phones and who can use them are decided in the packs of the UX & Accessibility group.",
|
|
574
|
+
"decision": "The front end is built with React in TypeScript (strict). Rendering: {{RENDERING}}: Next.js (App Router, server components) for server rendering and static generation, Vite with React Router for a single-page app. Data fetching with TanStack Query; forms with React Hook Form. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}. JavaScript budget: {{JS_KB}} KB per route, compressed. The Core Web Vitals budget, Reflow and touch target size are decided in the Mobile and perceived performance pack, and conformance to WCAG 2.2 AA in the Accessibility pack, both of the UX & Accessibility group. Dependency updates: as decided in the Dependency hygiene pack. Choosing Next.js or React Router (framework mode): Next.js for the widest ecosystem and hosting on Vercel or Node; React Router when you want web-standard loaders and fewer conventions. Versions tracked through endoflife.date (react, nextjs), each major replaced at least {{EOL_DAYS}} days before its end of support.",
|
|
649
575
|
"consequences": "• The largest ecosystem of components and libraries, and the largest hiring pool.\n• React itself is only the view: routing, data, forms and state are choices to make and keep current.\n• Server components cut the JavaScript sent, but add a server and a new mental model.\n• Next.js majors arrive roughly yearly and change conventions; upgrades are planned work.",
|
|
650
576
|
"alternatives": "1. Angular: everything included and one way of doing it, heavier.\n2. Vue with Nuxt: similar capabilities, gentler learning curve, smaller ecosystem.\n3. Svelte with SvelteKit: smaller bundles, smaller ecosystem.",
|
|
651
577
|
"hubWhen": {
|
|
@@ -663,8 +589,8 @@
|
|
|
663
589
|
"concern": "frontend-stack",
|
|
664
590
|
"status": "accepted",
|
|
665
591
|
"date": "",
|
|
666
|
-
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship
|
|
667
|
-
"decision": "The front end is built with Angular in TypeScript (strict), with standalone components, signals and the Angular CLI (esbuild). Rendering: {{RENDERING}}: Angular SSR with hydration for server rendering, prerendering for static pages, the default build for a single-page app. Design system: {{DESIGN}} (Angular Material and the CDK when adopting a library). Browsers: {{BROWSERS}}.
|
|
592
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; and the browsers to support decide which features and polyfills ship. How fast pages feel on phones and who can use them are decided in the packs of the UX & Accessibility group.",
|
|
593
|
+
"decision": "The front end is built with Angular in TypeScript (strict), with standalone components, signals and the Angular CLI (esbuild). Rendering: {{RENDERING}}: Angular SSR with hydration for server rendering, prerendering for static pages, the default build for a single-page app. Design system: {{DESIGN}} (Angular Material and the CDK when adopting a library). Browsers: {{BROWSERS}}. JavaScript budget: {{JS_KB}} KB per route, compressed. The Core Web Vitals budget, Reflow and touch target size are decided in the Mobile and perceived performance pack, and conformance to WCAG 2.2 AA in the Accessibility pack, both of the UX & Accessibility group. Dependency updates: as decided in the Dependency hygiene pack. The JavaScript budget is also set in angular.json budgets. Each major is supported for 18 months (6 active, 12 LTS), so the front end moves one major at a time with ng update, at least {{EOL_DAYS}} days before the end of support tracked on endoflife.date (angular).",
|
|
668
594
|
"consequences": "• Routing, forms, HTTP, testing and i18n come with the framework: one way of doing things across teams.\n• Larger initial bundles than Svelte or Vue unless routes are lazy-loaded and deferrable views used.\n• A predictable release and support schedule makes the version policy easy to plan.\n• A steeper learning curve (dependency injection, RxJS) for people new to it.",
|
|
669
595
|
"alternatives": "1. React with Next.js: larger ecosystem, more choices to make.\n2. Vue with Nuxt: lighter, less prescriptive.\n3. Server-rendered HTML with htmx: far less JavaScript for forms-and-tables applications.",
|
|
670
596
|
"hubWhen": {
|
|
@@ -682,8 +608,8 @@
|
|
|
682
608
|
"concern": "frontend-stack",
|
|
683
609
|
"status": "accepted",
|
|
684
610
|
"date": "",
|
|
685
|
-
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship
|
|
686
|
-
"decision": "The front end is built with Vue 3 in TypeScript, using the Composition API and single-file components. Rendering: {{RENDERING}}: Nuxt for server rendering and static generation, Vite with Vue Router for a single-page app. State in Pinia. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}.
|
|
611
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; and the browsers to support decide which features and polyfills ship. How fast pages feel on phones and who can use them are decided in the packs of the UX & Accessibility group.",
|
|
612
|
+
"decision": "The front end is built with Vue 3 in TypeScript, using the Composition API and single-file components. Rendering: {{RENDERING}}: Nuxt for server rendering and static generation, Vite with Vue Router for a single-page app. State in Pinia. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}. JavaScript budget: {{JS_KB}} KB per route, compressed. The Core Web Vitals budget, Reflow and touch target size are decided in the Mobile and perceived performance pack, and conformance to WCAG 2.2 AA in the Accessibility pack, both of the UX & Accessibility group. Dependency updates: as decided in the Dependency hygiene pack. Versions tracked through endoflife.date (vue, nuxt), each major replaced at least {{EOL_DAYS}} days before its end of support.",
|
|
687
613
|
"consequences": "• Gentle learning curve and good performance out of the box.\n• Can be adopted gradually inside existing server-rendered pages.\n• A smaller ecosystem and hiring pool than React.\n• Nuxt majors bring migration work; plan them like framework upgrades.",
|
|
688
614
|
"alternatives": "1. React with Next.js: the largest ecosystem.\n2. Svelte with SvelteKit: smaller bundles.\n3. Angular: more included, more prescriptive.",
|
|
689
615
|
"hubWhen": {
|
|
@@ -701,8 +627,8 @@
|
|
|
701
627
|
"concern": "frontend-stack",
|
|
702
628
|
"status": "accepted",
|
|
703
629
|
"date": "",
|
|
704
|
-
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship
|
|
705
|
-
"decision": "The front end is built with Svelte 5 (runes) in TypeScript and SvelteKit, whose adapters cover every rendering mode. Rendering: {{RENDERING}}: adapter-node or a platform adapter for server rendering, adapter-static for static pages and single-page apps. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}.
|
|
630
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; and the browsers to support decide which features and polyfills ship. How fast pages feel on phones and who can use them are decided in the packs of the UX & Accessibility group.",
|
|
631
|
+
"decision": "The front end is built with Svelte 5 (runes) in TypeScript and SvelteKit, whose adapters cover every rendering mode. Rendering: {{RENDERING}}: adapter-node or a platform adapter for server rendering, adapter-static for static pages and single-page apps. Design system: {{DESIGN}}. Browsers: {{BROWSERS}}. JavaScript budget: {{JS_KB}} KB per route, compressed. The Core Web Vitals budget, Reflow and touch target size are decided in the Mobile and perceived performance pack, and conformance to WCAG 2.2 AA in the Accessibility pack, both of the UX & Accessibility group. Dependency updates: as decided in the Dependency hygiene pack. Versions tracked through endoflife.date (svelte), each major replaced at least {{EOL_DAYS}} days before its end of support.",
|
|
706
632
|
"consequences": "• Compiled components ship little JavaScript, which makes the budget easy to keep.\n• Simple syntax, quick to learn.\n• A smaller ecosystem: fewer ready-made components and integrations, more built in-house.\n• A smaller hiring pool than React, Angular or Vue.",
|
|
707
633
|
"alternatives": "1. React with Next.js: the largest ecosystem, more JavaScript.\n2. Vue with Nuxt: similar simplicity, larger ecosystem.\n3. Server-rendered HTML with htmx: even less JavaScript, less interactivity.",
|
|
708
634
|
"hubWhen": {
|
|
@@ -720,8 +646,8 @@
|
|
|
720
646
|
"concern": "frontend-stack",
|
|
721
647
|
"status": "accepted",
|
|
722
648
|
"date": "",
|
|
723
|
-
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; the browsers to support decide which features and polyfills ship
|
|
724
|
-
"decision": "The front end is HTML rendered by the back end from templates (Thymeleaf, Razor, Jinja, templ or the back end's own), with htmx swapping parts of the page and Alpine.js for small client-side state; no client-side framework or build step beyond CSS. Rendering: every page on the server, with partial updates over HTTP; the rendering question does not apply. Design system: {{DESIGN}}, delivered as template partials. Browsers: {{BROWSERS}}.
|
|
649
|
+
"context": "This element is a web front end that people use in their own browsers, on their own devices and networks. The forces: every kilobyte of JavaScript is downloaded, parsed and run on the user's phone, and mid-range phones on mobile networks are where most budgets break; search engines and first visits reward content in the first HTML response, while app-like screens favour rendering in the browser; a framework brings its ecosystem, hiring pool and release cadence, and its majors reach end of support on published dates; a shared design system keeps screens consistent and accessible, but costs effort to build and keep; and the browsers to support decide which features and polyfills ship. How fast pages feel on phones and who can use them are decided in the packs of the UX & Accessibility group.",
|
|
650
|
+
"decision": "The front end is HTML rendered by the back end from templates (Thymeleaf, Razor, Jinja, templ or the back end's own), with htmx swapping parts of the page and Alpine.js for small client-side state; no client-side framework or build step beyond CSS. Rendering: every page on the server, with partial updates over HTTP; the rendering question does not apply. Design system: {{DESIGN}}, delivered as template partials. Browsers: {{BROWSERS}}. JavaScript budget: {{JS_KB}} KB per route, compressed. The Core Web Vitals budget, Reflow and touch target size are decided in the Mobile and perceived performance pack, and conformance to WCAG 2.2 AA in the Accessibility pack, both of the UX & Accessibility group. Dependency updates: as decided in the Dependency hygiene pack. htmx and Alpine.js are pinned dependencies updated like any other; the runtime and framework that render the pages, and their support lifecycle, are decided in the Backend stack pack. Choose it while interactions are forms, tables, filters and dialogs; supersede it when screens need rich client state (offline, drag-and-drop editors, real-time collaboration).",
|
|
725
651
|
"consequences": "• Very little JavaScript, no client-side state to keep in sync, one codebase and one team for front and back end.\n• Fast first loads; every interaction is a request, so latency to the server sets how responsive it feels.\n• Rich client-side interaction is awkward and grows into hand-written JavaScript.\n• Fewer ready-made components; the design system is built as template partials.",
|
|
726
652
|
"alternatives": "1. A single-page app framework (React, Angular, Vue, Svelte): rich interaction, much more JavaScript and a second codebase.\n2. Hotwire (Turbo and Stimulus) or Phoenix LiveView: the same idea tied to Rails or Elixir.\n3. Plain server-rendered pages without htmx: simplest, full reloads.",
|
|
727
653
|
"hubWhen": {
|
|
@@ -821,9 +747,9 @@
|
|
|
821
747
|
}
|
|
822
748
|
},
|
|
823
749
|
{
|
|
824
|
-
"id": "ff-
|
|
750
|
+
"id": "ff-bundle",
|
|
825
751
|
"type": "fitness-fn",
|
|
826
|
-
"label": "
|
|
752
|
+
"label": "JavaScript within budget",
|
|
827
753
|
"x": 1040,
|
|
828
754
|
"y": 650,
|
|
829
755
|
"characteristic": "performance-efficiency",
|
|
@@ -831,53 +757,16 @@
|
|
|
831
757
|
"cadence": "triggered",
|
|
832
758
|
"trigger": "pull-request",
|
|
833
759
|
"invocation": "automated",
|
|
834
|
-
"
|
|
835
|
-
|
|
836
|
-
{
|
|
837
|
-
"id": "ff-field-vitals",
|
|
838
|
-
"type": "fitness-fn",
|
|
839
|
-
"label": "Field vitals within budget",
|
|
840
|
-
"x": 1040,
|
|
841
|
-
"y": 780,
|
|
842
|
-
"characteristic": "performance-efficiency",
|
|
843
|
-
"scope": "holistic",
|
|
844
|
-
"cadence": "triggered",
|
|
845
|
-
"trigger": "nightly",
|
|
846
|
-
"invocation": "automated",
|
|
847
|
-
"description": "The page reports LCP, INP and CLS from real users with the web-vitals library (navigator.sendBeacon to /rum, which stores name, value and page group in rum_events). A daily job runs the query below, which computes the 75th percentile per metric and page group over the last 28 days and returns every row over budget; any row fails the job and alerts the team.\n\nThreshold: 75th percentile over 28 days per page group: LCP within {{LCP_MS}} ms, INP within {{INP_MS}} ms, CLS at most {{CLS}}; the daily query returns 0 rows\n\nTool: web-vitals (Google Chrome) in the page; a scheduled SQL query over the RUM table (PostgreSQL syntax)\n\n```sql\n-- rum_events(name text, value numeric, page_group text, received_at timestamptz); run daily, alert on any row\nWITH p75 AS (\n SELECT name, page_group, percentile_cont(0.75) WITHIN GROUP (ORDER BY value) AS p75\n FROM rum_events\n WHERE received_at > now() - interval '28 days'\n GROUP BY name, page_group\n)\nSELECT name, page_group, p75\nFROM p75\nWHERE (name = 'LCP' AND p75 > {{LCP_MS}})\n OR (name = 'INP' AND p75 > {{INP_MS}})\n OR (name = 'CLS' AND p75 > {{CLS}})\nORDER BY name, page_group;\n```"
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
"id": "ff-axe",
|
|
851
|
-
"type": "fitness-fn",
|
|
852
|
-
"label": "No accessibility violations",
|
|
853
|
-
"x": 1040,
|
|
854
|
-
"y": 910,
|
|
855
|
-
"characteristic": "interaction-capability",
|
|
856
|
-
"scope": "atomic",
|
|
857
|
-
"cadence": "triggered",
|
|
858
|
-
"trigger": "pull-request",
|
|
859
|
-
"invocation": "automated",
|
|
860
|
-
"description": "A Playwright test opens each page of the main journeys, including open dialogs and error states, and runs axe-core with the WCAG A and AA tags; any serious or critical violation fails it.\n\nThreshold: 0 serious or critical axe violations against the WCAG 2.0 and 2.1 A and AA rules and the 2.2 AA rules on every page of the main journeys\n\nTool: axe-core with Playwright (@axe-core/playwright)\n\n```ts\nimport AxeBuilder from '@axe-core/playwright'\nimport { expect, test } from '@playwright/test'\n\nfor (const path of ['/', '/search', '/checkout']) {\n test(`${path} meets WCAG 2.2 AA`, async ({ page }) => {\n await page.goto(path)\n const { violations } = await new AxeBuilder({ page })\n .withTags(['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa'])\n .analyze()\n expect(violations.filter((v) => v.impact === 'serious' || v.impact === 'critical')).toEqual([])\n })\n}\n```"
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
"id": "ff-keyboard",
|
|
864
|
-
"type": "fitness-fn",
|
|
865
|
-
"label": "Main journey by keyboard",
|
|
866
|
-
"x": 1040,
|
|
867
|
-
"y": 1040,
|
|
868
|
-
"characteristic": "interaction-capability",
|
|
869
|
-
"scope": "atomic",
|
|
870
|
-
"cadence": "triggered",
|
|
871
|
-
"trigger": "pull-request",
|
|
872
|
-
"invocation": "automated",
|
|
873
|
-
"description": "A Playwright test walks the main journey without the mouse: it tabs to each control by its accessible name, activates it with Enter or Space, and asserts the focused element is visible after every move; a control that cannot be reached within 200 tabs fails the test.\n\nThreshold: The main journey completes with Tab, Shift+Tab, Enter, Space and the arrow keys only, and focus is visible at every step\n\nTool: Playwright\n\n```ts\nimport { expect, test, type Page } from '@playwright/test'\n\nasync function tabTo(page: Page, name: string): Promise<void> {\n for (let i = 0; i < 200; i++) {\n const focused = page.locator(':focus')\n if ((await focused.count()) && (await focused.textContent())?.includes(name)) { await expect(focused).toBeVisible(); return }\n await page.keyboard.press('Tab')\n }\n throw new Error(`${name} cannot be reached with Tab`)\n}\n\ntest('checkout completes with the keyboard alone', async ({ page }) => {\n await page.goto('/')\n for (const step of ['Search', 'Add to basket', 'Checkout', 'Place order']) {\n await tabTo(page, step)\n await page.keyboard.press('Enter')\n }\n await expect(page.getByRole('heading', { name: 'Order placed' })).toBeVisible()\n})\n```"
|
|
760
|
+
"measure": "lighthouse",
|
|
761
|
+
"metrics": "web.lab.script_bytes.max{device=mobile} <= {{JS_KB}} KB",
|
|
762
|
+
"description": "Lighthouse CI starts the preview build and runs three times on each main page; radical sense lighthouse reads the reports and takes, per page, the median transfer size of every script the page loads, whatever the framework's output paths, and the largest over the pages as web.lab.script_bytes.max. lighthouserc.cjs holds no assertions: the limit is this condition, judged by radical check. It is the same collect run the Mobile and perceived performance pack uses for the Core Web Vitals; with that pack imported, one lighthouserc serves both. A desktop-only tool that collects only the desktop preset reads device=desktop instead.\n\nThreshold: On every pull request, for the main page that loads the most JavaScript on Lighthouse's mobile default: script transfer size at most {{JS_KB}} KB (1 KB = 1000 bytes)\n\nTool: Lighthouse CI (@lhci/cli) with radical sense lighthouse\n\n```js\n// lighthouserc.cjs: Lighthouse CI only collects; the model's conditions judge the numbers\nmodule.exports = {\n ci: {\n collect: {\n startServerCommand: 'npm run preview',\n url: ['http://localhost:4173/', 'http://localhost:4173/search'],\n numberOfRuns: 3,\n // puppeteerScript: './lighthouse-login.cjs', // signs in first, for pages behind sign-in\n },\n },\n}\n// The pull-request job (no assert, no upload: radical check fails the job):\n// npx @lhci/cli@0.15.1 collect # Lighthouse's mobile default\n// npx radical sense run --trigger pull-request --out reports/metrics # lighthouse reads .lighthouseci\n// npx radical check --metrics reports/metrics\n```"
|
|
874
763
|
},
|
|
875
764
|
{
|
|
876
765
|
"id": "ff-compat",
|
|
877
766
|
"type": "fitness-fn",
|
|
878
767
|
"label": "Features match browser list",
|
|
879
768
|
"x": 1040,
|
|
880
|
-
"y":
|
|
769
|
+
"y": 780,
|
|
881
770
|
"characteristic": "compatibility",
|
|
882
771
|
"scope": "atomic",
|
|
883
772
|
"cadence": "triggered",
|
|
@@ -890,7 +779,7 @@
|
|
|
890
779
|
"type": "fitness-fn",
|
|
891
780
|
"label": "Framework still supported",
|
|
892
781
|
"x": 1040,
|
|
893
|
-
"y":
|
|
782
|
+
"y": 910,
|
|
894
783
|
"characteristic": "maintainability",
|
|
895
784
|
"scope": "atomic",
|
|
896
785
|
"cadence": "triggered",
|
|
@@ -911,7 +800,7 @@
|
|
|
911
800
|
"type": "fitness-fn",
|
|
912
801
|
"label": "Cache headers right",
|
|
913
802
|
"x": 1040,
|
|
914
|
-
"y":
|
|
803
|
+
"y": 1040,
|
|
915
804
|
"characteristic": "performance-efficiency",
|
|
916
805
|
"scope": "atomic",
|
|
917
806
|
"cadence": "triggered",
|
|
@@ -935,7 +824,7 @@
|
|
|
935
824
|
"type": "fitness-fn",
|
|
936
825
|
"label": "Server answers quickly",
|
|
937
826
|
"x": 1040,
|
|
938
|
-
"y":
|
|
827
|
+
"y": 1170,
|
|
939
828
|
"characteristic": "performance-efficiency",
|
|
940
829
|
"scope": "holistic",
|
|
941
830
|
"cadence": "triggered",
|
|
@@ -953,7 +842,7 @@
|
|
|
953
842
|
"type": "fitness-fn",
|
|
954
843
|
"label": "Pages served from the edge",
|
|
955
844
|
"x": 1040,
|
|
956
|
-
"y":
|
|
845
|
+
"y": 1300,
|
|
957
846
|
"characteristic": "performance-efficiency",
|
|
958
847
|
"scope": "atomic",
|
|
959
848
|
"cadence": "triggered",
|
|
@@ -977,7 +866,7 @@
|
|
|
977
866
|
"type": "fitness-fn",
|
|
978
867
|
"label": "Only design tokens",
|
|
979
868
|
"x": 1040,
|
|
980
|
-
"y":
|
|
869
|
+
"y": 1430,
|
|
981
870
|
"characteristic": "maintainability",
|
|
982
871
|
"scope": "atomic",
|
|
983
872
|
"cadence": "triggered",
|
|
@@ -995,7 +884,7 @@
|
|
|
995
884
|
"type": "fitness-fn",
|
|
996
885
|
"label": "No library internals styled",
|
|
997
886
|
"x": 1040,
|
|
998
|
-
"y":
|
|
887
|
+
"y": 1560,
|
|
999
888
|
"characteristic": "maintainability",
|
|
1000
889
|
"scope": "atomic",
|
|
1001
890
|
"cadence": "triggered",
|
|
@@ -1013,7 +902,7 @@
|
|
|
1013
902
|
"type": "fitness-fn",
|
|
1014
903
|
"label": "No arbitrary utility values",
|
|
1015
904
|
"x": 1040,
|
|
1016
|
-
"y":
|
|
905
|
+
"y": 1690,
|
|
1017
906
|
"characteristic": "maintainability",
|
|
1018
907
|
"scope": "atomic",
|
|
1019
908
|
"cadence": "triggered",
|
|
@@ -1037,7 +926,7 @@
|
|
|
1037
926
|
"type": "fitness-fn",
|
|
1038
927
|
"label": "No arbitrary utility values in templates",
|
|
1039
928
|
"x": 1040,
|
|
1040
|
-
"y":
|
|
929
|
+
"y": 1820,
|
|
1041
930
|
"characteristic": "maintainability",
|
|
1042
931
|
"scope": "atomic",
|
|
1043
932
|
"cadence": "triggered",
|
|
@@ -1058,7 +947,7 @@
|
|
|
1058
947
|
"type": "fitness-fn",
|
|
1059
948
|
"label": "Old browsers get the notice",
|
|
1060
949
|
"x": 1040,
|
|
1061
|
-
"y":
|
|
950
|
+
"y": 1950,
|
|
1062
951
|
"characteristic": "compatibility",
|
|
1063
952
|
"scope": "atomic",
|
|
1064
953
|
"cadence": "triggered",
|
|
@@ -1078,98 +967,84 @@
|
|
|
1078
967
|
"sourceId": "req-one-framework",
|
|
1079
968
|
"targetId": "need",
|
|
1080
969
|
"relationType": "derives",
|
|
1081
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
"id": "req-vitals--derives--need",
|
|
1085
|
-
"sourceId": "req-vitals",
|
|
1086
|
-
"targetId": "need",
|
|
1087
|
-
"relationType": "derives",
|
|
1088
|
-
"quote": "People use this front end on their own devices, browsers and networks, some with disabilities and assistive technology. It has to load and respond quickly on an ordinary phone, work in the browsers its users have, be usable by everyone, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a RUM table rum_events(name, value, page_group, received_at) fed by the page."
|
|
970
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1089
971
|
},
|
|
1090
972
|
{
|
|
1091
973
|
"id": "req-bundle--derives--need",
|
|
1092
974
|
"sourceId": "req-bundle",
|
|
1093
975
|
"targetId": "need",
|
|
1094
976
|
"relationType": "derives",
|
|
1095
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"id": "req-a11y--derives--need",
|
|
1099
|
-
"sourceId": "req-a11y",
|
|
1100
|
-
"targetId": "need",
|
|
1101
|
-
"relationType": "derives",
|
|
1102
|
-
"quote": "People use this front end on their own devices, browsers and networks, some with disabilities and assistive technology. It has to load and respond quickly on an ordinary phone, work in the browsers its users have, be usable by everyone, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a RUM table rum_events(name, value, page_group, received_at) fed by the page."
|
|
977
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1103
978
|
},
|
|
1104
979
|
{
|
|
1105
980
|
"id": "req-supported--derives--need",
|
|
1106
981
|
"sourceId": "req-supported",
|
|
1107
982
|
"targetId": "need",
|
|
1108
983
|
"relationType": "derives",
|
|
1109
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
984
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1110
985
|
},
|
|
1111
986
|
{
|
|
1112
987
|
"id": "req-spa-cache--derives--need",
|
|
1113
988
|
"sourceId": "req-spa-cache",
|
|
1114
989
|
"targetId": "need",
|
|
1115
990
|
"relationType": "derives",
|
|
1116
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
991
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1117
992
|
},
|
|
1118
993
|
{
|
|
1119
994
|
"id": "req-ssr--derives--need",
|
|
1120
995
|
"sourceId": "req-ssr",
|
|
1121
996
|
"targetId": "need",
|
|
1122
997
|
"relationType": "derives",
|
|
1123
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
998
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1124
999
|
},
|
|
1125
1000
|
{
|
|
1126
1001
|
"id": "req-static--derives--need",
|
|
1127
1002
|
"sourceId": "req-static",
|
|
1128
1003
|
"targetId": "need",
|
|
1129
1004
|
"relationType": "derives",
|
|
1130
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1005
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1131
1006
|
},
|
|
1132
1007
|
{
|
|
1133
1008
|
"id": "req-design-own--derives--need",
|
|
1134
1009
|
"sourceId": "req-design-own",
|
|
1135
1010
|
"targetId": "need",
|
|
1136
1011
|
"relationType": "derives",
|
|
1137
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1012
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1138
1013
|
},
|
|
1139
1014
|
{
|
|
1140
1015
|
"id": "req-design-library--derives--need",
|
|
1141
1016
|
"sourceId": "req-design-library",
|
|
1142
1017
|
"targetId": "need",
|
|
1143
1018
|
"relationType": "derives",
|
|
1144
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1019
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1145
1020
|
},
|
|
1146
1021
|
{
|
|
1147
1022
|
"id": "req-design-utility--derives--need",
|
|
1148
1023
|
"sourceId": "req-design-utility",
|
|
1149
1024
|
"targetId": "need",
|
|
1150
1025
|
"relationType": "derives",
|
|
1151
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1026
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1152
1027
|
},
|
|
1153
1028
|
{
|
|
1154
1029
|
"id": "req-browsers--derives--need",
|
|
1155
1030
|
"sourceId": "req-browsers",
|
|
1156
1031
|
"targetId": "need",
|
|
1157
1032
|
"relationType": "derives",
|
|
1158
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1033
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1159
1034
|
},
|
|
1160
1035
|
{
|
|
1161
1036
|
"id": "req-unsupported--derives--need",
|
|
1162
1037
|
"sourceId": "req-unsupported",
|
|
1163
1038
|
"targetId": "need",
|
|
1164
1039
|
"relationType": "derives",
|
|
1165
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1040
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1166
1041
|
},
|
|
1167
1042
|
{
|
|
1168
1043
|
"id": "req-old-devices--derives--need",
|
|
1169
1044
|
"sourceId": "req-old-devices",
|
|
1170
1045
|
"targetId": "need",
|
|
1171
1046
|
"relationType": "derives",
|
|
1172
|
-
"quote": "People use this front end on their own devices, browsers and networks
|
|
1047
|
+
"quote": "People use this front end on their own devices, browsers and networks. It has to ship no more JavaScript than an ordinary phone can take, work in the browsers its users have, look and behave consistently, and be built on a framework the team knows and that keeps receiving fixes. The choices and the numbers it is held to must be written down and checked, not rediscovered after users complain. The checks assume one front end per repository with its package.json at the root, a versions.txt listing the endoflife.date products and cycles in use, server templates (htmx) under templates/ or src/, and a preview server on http://localhost:4173 (npm run preview)."
|
|
1173
1048
|
},
|
|
1174
1049
|
{
|
|
1175
1050
|
"id": "sc-one-framework--verifies--req-one-framework",
|
|
@@ -1177,24 +1052,12 @@
|
|
|
1177
1052
|
"targetId": "req-one-framework",
|
|
1178
1053
|
"relationType": "verifies"
|
|
1179
1054
|
},
|
|
1180
|
-
{
|
|
1181
|
-
"id": "sc-vitals--verifies--req-vitals",
|
|
1182
|
-
"sourceId": "sc-vitals",
|
|
1183
|
-
"targetId": "req-vitals",
|
|
1184
|
-
"relationType": "verifies"
|
|
1185
|
-
},
|
|
1186
1055
|
{
|
|
1187
1056
|
"id": "sc-bundle--verifies--req-bundle",
|
|
1188
1057
|
"sourceId": "sc-bundle",
|
|
1189
1058
|
"targetId": "req-bundle",
|
|
1190
1059
|
"relationType": "verifies"
|
|
1191
1060
|
},
|
|
1192
|
-
{
|
|
1193
|
-
"id": "sc-a11y--verifies--req-a11y",
|
|
1194
|
-
"sourceId": "sc-a11y",
|
|
1195
|
-
"targetId": "req-a11y",
|
|
1196
|
-
"relationType": "verifies"
|
|
1197
|
-
},
|
|
1198
1061
|
{
|
|
1199
1062
|
"id": "sc-supported--verifies--req-supported",
|
|
1200
1063
|
"sourceId": "sc-supported",
|
|
@@ -1286,122 +1149,32 @@
|
|
|
1286
1149
|
"relationType": "implements"
|
|
1287
1150
|
},
|
|
1288
1151
|
{
|
|
1289
|
-
"id": "ff-
|
|
1290
|
-
"sourceId": "ff-
|
|
1291
|
-
"targetId": "adr-react",
|
|
1292
|
-
"relationType": "implements"
|
|
1293
|
-
},
|
|
1294
|
-
{
|
|
1295
|
-
"id": "ff-lighthouse--implements--adr-angular",
|
|
1296
|
-
"sourceId": "ff-lighthouse",
|
|
1297
|
-
"targetId": "adr-angular",
|
|
1298
|
-
"relationType": "implements"
|
|
1299
|
-
},
|
|
1300
|
-
{
|
|
1301
|
-
"id": "ff-lighthouse--implements--adr-vue",
|
|
1302
|
-
"sourceId": "ff-lighthouse",
|
|
1303
|
-
"targetId": "adr-vue",
|
|
1304
|
-
"relationType": "implements"
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
"id": "ff-lighthouse--implements--adr-svelte",
|
|
1308
|
-
"sourceId": "ff-lighthouse",
|
|
1309
|
-
"targetId": "adr-svelte",
|
|
1310
|
-
"relationType": "implements"
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
"id": "ff-lighthouse--implements--adr-htmx",
|
|
1314
|
-
"sourceId": "ff-lighthouse",
|
|
1315
|
-
"targetId": "adr-htmx",
|
|
1316
|
-
"relationType": "implements"
|
|
1317
|
-
},
|
|
1318
|
-
{
|
|
1319
|
-
"id": "ff-field-vitals--implements--adr-react",
|
|
1320
|
-
"sourceId": "ff-field-vitals",
|
|
1321
|
-
"targetId": "adr-react",
|
|
1322
|
-
"relationType": "implements"
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"id": "ff-field-vitals--implements--adr-angular",
|
|
1326
|
-
"sourceId": "ff-field-vitals",
|
|
1327
|
-
"targetId": "adr-angular",
|
|
1328
|
-
"relationType": "implements"
|
|
1329
|
-
},
|
|
1330
|
-
{
|
|
1331
|
-
"id": "ff-field-vitals--implements--adr-vue",
|
|
1332
|
-
"sourceId": "ff-field-vitals",
|
|
1333
|
-
"targetId": "adr-vue",
|
|
1334
|
-
"relationType": "implements"
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
"id": "ff-field-vitals--implements--adr-svelte",
|
|
1338
|
-
"sourceId": "ff-field-vitals",
|
|
1339
|
-
"targetId": "adr-svelte",
|
|
1340
|
-
"relationType": "implements"
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
"id": "ff-field-vitals--implements--adr-htmx",
|
|
1344
|
-
"sourceId": "ff-field-vitals",
|
|
1345
|
-
"targetId": "adr-htmx",
|
|
1346
|
-
"relationType": "implements"
|
|
1347
|
-
},
|
|
1348
|
-
{
|
|
1349
|
-
"id": "ff-axe--implements--adr-react",
|
|
1350
|
-
"sourceId": "ff-axe",
|
|
1351
|
-
"targetId": "adr-react",
|
|
1352
|
-
"relationType": "implements"
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"id": "ff-axe--implements--adr-angular",
|
|
1356
|
-
"sourceId": "ff-axe",
|
|
1357
|
-
"targetId": "adr-angular",
|
|
1358
|
-
"relationType": "implements"
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
"id": "ff-axe--implements--adr-vue",
|
|
1362
|
-
"sourceId": "ff-axe",
|
|
1363
|
-
"targetId": "adr-vue",
|
|
1364
|
-
"relationType": "implements"
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
"id": "ff-axe--implements--adr-svelte",
|
|
1368
|
-
"sourceId": "ff-axe",
|
|
1369
|
-
"targetId": "adr-svelte",
|
|
1370
|
-
"relationType": "implements"
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
"id": "ff-axe--implements--adr-htmx",
|
|
1374
|
-
"sourceId": "ff-axe",
|
|
1375
|
-
"targetId": "adr-htmx",
|
|
1376
|
-
"relationType": "implements"
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
"id": "ff-keyboard--implements--adr-react",
|
|
1380
|
-
"sourceId": "ff-keyboard",
|
|
1152
|
+
"id": "ff-bundle--implements--adr-react",
|
|
1153
|
+
"sourceId": "ff-bundle",
|
|
1381
1154
|
"targetId": "adr-react",
|
|
1382
1155
|
"relationType": "implements"
|
|
1383
1156
|
},
|
|
1384
1157
|
{
|
|
1385
|
-
"id": "ff-
|
|
1386
|
-
"sourceId": "ff-
|
|
1158
|
+
"id": "ff-bundle--implements--adr-angular",
|
|
1159
|
+
"sourceId": "ff-bundle",
|
|
1387
1160
|
"targetId": "adr-angular",
|
|
1388
1161
|
"relationType": "implements"
|
|
1389
1162
|
},
|
|
1390
1163
|
{
|
|
1391
|
-
"id": "ff-
|
|
1392
|
-
"sourceId": "ff-
|
|
1164
|
+
"id": "ff-bundle--implements--adr-vue",
|
|
1165
|
+
"sourceId": "ff-bundle",
|
|
1393
1166
|
"targetId": "adr-vue",
|
|
1394
1167
|
"relationType": "implements"
|
|
1395
1168
|
},
|
|
1396
1169
|
{
|
|
1397
|
-
"id": "ff-
|
|
1398
|
-
"sourceId": "ff-
|
|
1170
|
+
"id": "ff-bundle--implements--adr-svelte",
|
|
1171
|
+
"sourceId": "ff-bundle",
|
|
1399
1172
|
"targetId": "adr-svelte",
|
|
1400
1173
|
"relationType": "implements"
|
|
1401
1174
|
},
|
|
1402
1175
|
{
|
|
1403
|
-
"id": "ff-
|
|
1404
|
-
"sourceId": "ff-
|
|
1176
|
+
"id": "ff-bundle--implements--adr-htmx",
|
|
1177
|
+
"sourceId": "ff-bundle",
|
|
1405
1178
|
"targetId": "adr-htmx",
|
|
1406
1179
|
"relationType": "implements"
|
|
1407
1180
|
},
|