[{"data":1,"prerenderedAt":1133},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"wiki":116,"doc-\u002Fdocs\u002Fdecisions\u002F0034-huella-legal-header-navigation":429},{"value":4,"alert":5},"18%",false,[],[8,11,14,17,20],{"label":9,"to":10},"0041 The visitor view becomes its own app, and the portal reads only as a developer platform","\u002Fdecisions\u002F0041-personal-site-splits-from-developer-portal",{"label":12,"to":13},"0040 Visitors land on the front page and toggle to the developer view","\u002Fdecisions\u002F0040-developer-portal-visitor-structure",{"label":15,"to":16},"0039 The developer portal is redesigned for visitors, from a twelve-site benchmark","\u002Fdecisions\u002F0039-developer-portal-benchmark",{"label":18,"to":19},"0038 Marina Roustan's discovery","\u002Fdecisions\u002F0038-marina-roustan-discovery",{"label":21,"to":22},"0013 New linters: the robustness gap is tsconfig and enforcement, not plugins","\u002Fdecisions\u002F0013-linter-coverage",[24,29,60,83],{"labelKey":25,"icon":26,"to":27,"badge":28},"app.menu.allProjects","i-lucide-layers","\u002Fprojects","11",{"labelKey":30,"icon":31,"to":32,"badge":33,"children":34},"app.menu.kinds.apps","i-lucide-app-window","\u002Fprojects?kind=apps","5",[35,40,45,50,55],{"label":36,"icon":31,"to":37,"badge":38,"coverage":39},"developer-portal","\u002Fprojects\u002Fdeveloper-portal","94%",94.37,{"label":41,"icon":31,"to":42,"badge":43,"coverage":44},"huella-legal","\u002Fprojects\u002Fhuella-legal","97%",97.48,{"label":46,"icon":31,"to":47,"badge":48,"coverage":49},"marina-roustan","\u002Fprojects\u002Fmarina-roustan","100%",100,{"label":51,"icon":31,"to":52,"badge":53,"coverage":54},"portfolio","\u002Fprojects\u002Fportfolio","91%",91.31,{"label":56,"icon":31,"to":57,"badge":58,"coverage":59},"wp-editor","\u002Fprojects\u002Fwp-editor","50%",49.89,{"labelKey":61,"icon":62,"to":63,"badge":64,"children":65},"app.menu.kinds.packages","i-lucide-package","\u002Fprojects?kind=packages","4",[66,71,75,80],{"label":67,"icon":62,"to":68,"badge":69,"coverage":70},"configs","\u002Fprojects\u002Fconfigs","76%",75.7,{"label":72,"icon":62,"to":73,"badge":48,"coverage":74},"content","\u002Fprojects\u002Fcontent",99.58,{"label":76,"icon":62,"to":77,"badge":78,"coverage":79},"i18n","\u002Fprojects\u002Fi18n","99%",99.08,{"label":81,"icon":62,"to":82,"badge":48,"coverage":49},"observability","\u002Fprojects\u002Fobservability",{"labelKey":84,"icon":85,"to":86,"badge":87,"children":88},"app.menu.kinds.infrastructure","i-lucide-server","\u002Fprojects?kind=infrastructure","2",[89,94],{"label":90,"icon":85,"to":91,"badge":92,"coverage":93},"scripts","\u002Fprojects\u002Fscripts","79%",78.6,{"label":95,"icon":85,"to":96,"badge":97,"coverage":98},"translations","\u002Fprojects\u002Ftranslations","93%",93.33,[100,103,106,109,112],{"label":101,"to":102},"Huella Legal","\u002Fworkflows\u002Fhuella-legal",{"label":104,"to":105},"Marina Roustan","\u002Fworkflows\u002Fmarina-roustan",{"label":107,"to":108},"Developer portal front door","\u002Fworkflows\u002Fdeveloper-portal-front-door",{"label":110,"to":111},"Huella Legal editorial","\u002Fworkflows\u002Fhuella-legal-editorial",{"labelKey":113,"icon":114,"to":115},"app.menu.newProject","i-lucide-plus","\u002Fworkflows\u002Fnew",[117,134,210,255,291,352],{"id":118,"label":119,"icon":120,"blurb":121,"groups":122},"workspace","Workspace","i-lucide-home","The two files at the root, and the generated index of everything the repo can do.",[123],{"key":124,"label":125,"entries":126},"root","The root",[127,131],{"path":128,"label":129,"kind":130},"\u002Freadme","Joinery","readme",{"path":132,"label":133,"kind":130},"\u002Fsecurity","Security policy",{"id":135,"label":136,"icon":137,"blurb":138,"groups":139},"docs","Docs","i-lucide-library","Subjects no single project owns — the models, the procedures, the answered decisions.",[140,150,168,186,192,198,204],{"key":135,"label":141,"entries":142},"Start here",[143,147],{"path":144,"label":145,"kind":146},"\u002Fdocs\u002Freadme","Overview","doc",{"path":148,"label":149,"kind":146},"\u002Fdocs\u002Ffeatures","Features",{"key":151,"label":152,"entries":153},"concepts","Concepts",[154,156,159,162,165],{"path":155,"label":145,"kind":146},"\u002Fdocs\u002Fconcepts\u002Freadme",{"path":157,"label":158,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fversioning","How a version gets derived from a commit",{"path":160,"label":161,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fconventions","Naming and folder conventions",{"path":163,"label":164,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fagent-setup","The agent setup as one inspectable system",{"path":166,"label":167,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fboundaries","Why the boundary system exists",{"key":169,"label":170,"entries":171},"guides","Guides",[172,174,177,180,183],{"path":173,"label":145,"kind":146},"\u002Fdocs\u002Fguides\u002Freadme",{"path":175,"label":176,"kind":146},"\u002Fdocs\u002Fguides\u002Fchange-lifecycle","A change, end to end",{"path":178,"label":179,"kind":146},"\u002Fdocs\u002Fguides\u002Fadding-a-locale","Adding a locale",{"path":181,"label":182,"kind":146},"\u002Fdocs\u002Fguides\u002Ffirst-hour","First hour in this repo",{"path":184,"label":185,"kind":146},"\u002Fdocs\u002Fguides\u002Frepo-secrets","Provisioning the repo secrets",{"key":187,"label":188,"entries":189},"decisions","Decisions",[190],{"path":191,"label":145,"kind":146},"\u002Fdocs\u002Fdecisions\u002Freadme",{"key":193,"label":194,"entries":195},"audits","Audits",[196],{"path":197,"label":145,"kind":146},"\u002Fdocs\u002Faudits\u002Freadme",{"key":199,"label":200,"entries":201},"workflows","Workflows",[202],{"path":203,"label":145,"kind":146},"\u002Fdocs\u002Fworkflows\u002Freadme",{"key":205,"label":206,"entries":207},"benchmarks","Benchmarks",[208],{"path":209,"label":145,"kind":146},"\u002Fdocs\u002Fbenchmarks\u002Freadme",{"id":211,"label":212,"icon":31,"blurb":213,"groups":214},"apps","Apps","Each app's own reference, colocated with its code so it changes in the same diff.",[215,220,233,240,245,250],{"key":36,"label":216,"entries":217},"Developer Portal",[218],{"path":219,"label":145,"kind":130},"\u002Fapps\u002Fdeveloper-portal\u002Freadme",{"key":41,"label":101,"entries":221},[222,224,227,230],{"path":223,"label":145,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Freadme",{"path":225,"label":226,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Fdesign","Huella Legal design",{"path":228,"label":229,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Finterest\u002Freadme","layers\u002Finterest",{"path":231,"label":232,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Flegacy\u002Freadme","layers\u002Flegacy",{"key":46,"label":104,"entries":234},[235,237],{"path":236,"label":145,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Freadme",{"path":238,"label":239,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Fdesign","Marina Roustan design",{"key":51,"label":241,"entries":242},"Portfolio",[243],{"path":244,"label":145,"kind":130},"\u002Fapps\u002Fportfolio\u002Freadme",{"key":130,"label":246,"entries":247},"Readme",[248],{"path":249,"label":212,"kind":130},"\u002Fapps\u002Freadme",{"key":56,"label":251,"entries":252},"Wp Editor",[253],{"path":254,"label":145,"kind":130},"\u002Fapps\u002Fwp-editor\u002Freadme",{"id":256,"label":257,"icon":62,"blurb":258,"groups":259},"packages","Packages","Each package's own reference, colocated with its code so it changes in the same diff.",[260,268,276,282,287],{"key":67,"label":261,"entries":262},"Configs",[263,265],{"path":264,"label":145,"kind":130},"\u002Fpackages\u002Fconfigs\u002Freadme",{"path":266,"label":267,"kind":130},"\u002Fpackages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Freadme","eslint\u002Flib",{"key":72,"label":269,"entries":270},"Content",[271,273],{"path":272,"label":145,"kind":130},"\u002Fpackages\u002Fcontent\u002Freadme",{"path":274,"label":275,"kind":130},"\u002Fpackages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Freadme","nuxt",{"key":76,"label":76,"entries":277},[278,280],{"path":279,"label":145,"kind":130},"\u002Fpackages\u002Fi18n\u002Freadme",{"path":281,"label":275,"kind":130},"\u002Fpackages\u002Fi18n\u002Fsrc\u002Fnuxt\u002Freadme",{"key":81,"label":283,"entries":284},"Observability",[285],{"path":286,"label":145,"kind":130},"\u002Fpackages\u002Fobservability\u002Freadme",{"key":130,"label":246,"entries":288},[289],{"path":290,"label":257,"kind":130},"\u002Fpackages\u002Freadme",{"id":292,"label":293,"icon":85,"blurb":294,"groups":295},"infrastructure","Infrastructure","Each service's own reference, colocated with its code so it changes in the same diff.",[296,300,347],{"key":130,"label":246,"entries":297},[298],{"path":299,"label":293,"kind":130},"\u002Finfrastructure\u002Freadme",{"key":90,"label":301,"entries":302},"Scripts",[303,305,308,311,314,317,320,323,326,329,332,335,338,341,344],{"path":304,"label":145,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Freadme",{"path":306,"label":307,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fbrand\u002Freadme","brand",{"path":309,"label":310,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fci-failures\u002Freadme","ci-failures",{"path":312,"label":313,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fcoverage-report\u002Freadme","coverage-report",{"path":315,"label":316,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdev\u002Freadme","dev",{"path":318,"label":319,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdrift\u002Freadme","drift",{"path":321,"label":322,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fenv-sync\u002Freadme","env-sync",{"path":324,"label":325,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Finvariants\u002Freadme","invariants",{"path":327,"label":328,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fissue\u002Freadme","issue",{"path":330,"label":331,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fmap\u002Freadme","map",{"path":333,"label":334,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fshared\u002Freadme","shared",{"path":336,"label":337,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fship\u002Freadme","ship",{"path":339,"label":340,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fusage\u002Freadme","usage",{"path":342,"label":343,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworkflow\u002Freadme","workflow",{"path":345,"label":346,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworktree\u002Freadme","worktree",{"key":95,"label":348,"entries":349},"Translations",[350],{"path":351,"label":145,"kind":130},"\u002Finfrastructure\u002Ftranslations\u002Freadme",{"id":353,"label":354,"icon":355,"blurb":356,"groups":357},"agents","Agent setup","i-lucide-bot","The skills and subagents an agent working in this repo loads.",[358,373],{"key":353,"label":359,"entries":360},"Subagents",[361,364,367,370],{"path":362,"label":363,"kind":130},"\u002F.claude\u002Fagents\u002Freview-architecture","Review Architecture",{"path":365,"label":366,"kind":130},"\u002F.claude\u002Fagents\u002Freview-correctness","Review Correctness",{"path":368,"label":369,"kind":130},"\u002F.claude\u002Fagents\u002Freview-tests","Review Tests",{"path":371,"label":372,"kind":130},"\u002F.claude\u002Fagents\u002Fticket-planner","Ticket Planner",{"key":374,"label":375,"entries":376},"skills","Skills",[377,381,384,387,390,393,396,399,402,405,408,411,414,417,420,423,426],{"path":378,"label":379,"kind":380},"\u002F.claude\u002Fskills\u002Fcontent-new-vendor\u002Fskill","Adding a content vendor","skill",{"path":382,"label":383,"kind":380},"\u002F.claude\u002Fskills\u002Fconfigs-new-rule\u002Fskill","Adding a lint rule",{"path":385,"label":386,"kind":380},"\u002F.claude\u002Fskills\u002Fscripts-new-script\u002Fskill","Adding a script",{"path":388,"label":389,"kind":380},"\u002F.claude\u002Fskills\u002Fi18n-new-vendor\u002Fskill","Adding a translations vendor",{"path":391,"label":392,"kind":380},"\u002F.claude\u002Fskills\u002Fnuxt-module-route\u002Fskill","Adding to a package's Nuxt module",{"path":394,"label":395,"kind":380},"\u002F.claude\u002Fskills\u002Fbenchmark\u002Fskill","Benchmarking a design",{"path":397,"label":398,"kind":380},"\u002F.claude\u002Fskills\u002Fwp-bulk-edit\u002Fskill","Bulk-editing WordPress through the editor",{"path":400,"label":401,"kind":380},"\u002F.claude\u002Fskills\u002Fdoc-drift-check\u002Fskill","Checking docs against code",{"path":403,"label":404,"kind":380},"\u002F.claude\u002Fskills\u002Fcomment-cleanup\u002Fskill","Comment cleanup",{"path":406,"label":407,"kind":380},"\u002F.claude\u002Fskills\u002Fgithub-issue\u002Fskill","Creating a GitHub issue",{"path":409,"label":410,"kind":380},"\u002F.claude\u002Fskills\u002Fproject-workflow\u002Fskill","Running a project through a workflow",{"path":412,"label":413,"kind":380},"\u002F.claude\u002Fskills\u002Fnew-package\u002Fskill","Scaffolding a workspace project",{"path":415,"label":416,"kind":380},"\u002F.claude\u002Fskills\u002Fstart-issue\u002Fskill","Starting work on a GitHub issue",{"path":418,"label":419,"kind":380},"\u002F.claude\u002Fskills\u002Fdecision-report\u002Fskill","Writing a decision report",{"path":421,"label":422,"kind":380},"\u002F.claude\u002Fskills\u002Faudit-report\u002Fskill","Writing an audit",{"path":424,"label":425,"kind":380},"\u002F.claude\u002Fskills\u002Fhouse-docs\u002Fskill","Writing docs here",{"path":427,"label":428,"kind":380},"\u002F.claude\u002Fskills\u002Fwriting-tests\u002Fskill","Writing specs here",{"id":430,"title":431,"body":432,"description":1114,"extension":1122,"kind":1123,"meta":1124,"navigation":1128,"path":1129,"seo":1130,"stem":1131,"url":1123,"verdict":1123,"__hash__":1132},"docs\u002Fdocs\u002Fdecisions\u002F0034-huella-legal-header-navigation.md","🧭 Huella Legal keeps UNavigationMenu and hydrates it from lg only",{"type":433,"value":434,"toc":1113},"minimark",[435,449,454,473,492,539,543,564,600,603,669,672,675,779,789,793,901,905,910,987,996,1002,1006],[436,437,439,440,444,445,448],"h1",{"id":438},"huella-legal-keeps-unavigationmenu-and-hydrates-it-from-lg-only","🧭 Huella Legal keeps ",[441,442,443],"code",{},"UNavigationMenu"," and hydrates it from ",[441,446,447],{},"lg"," only",[450,451,453],"h2",{"id":452},"context","Context",[455,456,457,458,460,461,468,469,472],"p",{},"The header has to serve three jobs: reading, finding the next good read, and persuading legal\nprofessionals to publish. It rendered four flat links through ",[441,459,443],{},", and\n",[462,463,465],"a",{"href":464},"repo:apps\u002Fhuella-legal\u002Flayers\u002Farchive\u002Fapp\u002Fpages\u002Fabout.vue",[441,466,467],{},"\u002Fsobre\u002F"," was reachable only from the\nfooter, so a would-be author couldn't easily find out what the journal is. huellalegal.com has the\nsame gap: its \"Sobre\" item links to ",[441,470,471],{},"\u002Fcolaboradores\u002F",".",[455,474,475,476,480,481,483,484,487,488,491],{},"The app README listed ",[477,478,479],"em",{},"A lighter header"," under Deliberately deferred. ",[441,482,443],{}," statically\nimports ",[441,485,486],{},"UPopover"," and ",[441,489,490],{},"UTooltip",", so every page loaded floating-ui for a row of plain links. Three\nways out were on the table:",[493,494,495,508],"table",{},[496,497,498],"thead",{},[499,500,501,505],"tr",{},[502,503,504],"th",{},"Option",[502,506,507],{},"What it means",[509,510,511,523,531],"tbody",{},[499,512,513,517],{},[514,515,516],"td",{},"A",[514,518,519,520,522],{},"Drop ",[441,521,443],{}," and render the links yourself",[499,524,525,528],{},[514,526,527],{},"B",[514,529,530],{},"Keep it and use more of it",[499,532,533,536],{},[514,534,535],{},"C",[514,537,538],{},"B, with the header's menu loaded lazily",[450,540,542],{"id":541},"result","Result",[455,544,545,555,556,559,560,563],{},[546,547,548,549,551,552,554],"strong",{},"C: the menu stays ",[441,550,443],{},", gains dropdowns, and hydrates only where ",[441,553,447],{}," matches."," The\nfloating-ui import has nothing to do with dropdowns. In ",[441,557,558],{},"@nuxt\u002Fui"," 4.12's ",[441,561,562],{},"NavigationMenu.vue",":",[565,566,567,582,597],"ul",{},[568,569,570,487,572,574,575,578,579,472],"li",{},[441,571,486],{},[441,573,490],{}," render only in ",[441,576,577],{},"collapsed"," vertical mode or for an item with ",[441,580,581],{},"tooltip",[568,583,584,585,588,589,592,593,596],{},"Horizontal dropdowns are Reka's ",[441,586,587],{},"NavigationMenuTrigger",", ",[441,590,591],{},"NavigationMenuContent"," and\n",[441,594,595],{},"NavigationMenuViewport",", which CSS positions.",[568,598,599],{},"Content stays unmounted until it opens.",[455,601,602],{},"Measured on a production build with the e2e fakes. Sizes are brotli; the last two rows are every JS\nchunk a page requests on load:",[493,604,605,617],{},[496,606,607],{},[499,608,609,611,614],{},[502,610],{},[502,612,613],{},"Before",[502,615,616],{},"After",[509,618,619,630,644,658],{},[499,620,621,624,627],{},[514,622,623],{},"Layout chunk",[514,625,626],{},"19.7 kB (92.6 kB minified)",[514,628,629],{},"6.8 kB (19.7 kB minified)",[499,631,632,638,641],{},[514,633,634,635,637],{},"floating-ui + ",[441,636,443],{},", static imports of the layout",[514,639,640],{},"12.8 kB + most of the layout chunk",[514,642,643],{},"Async: 9.8 kB + 14.0 kB",[499,645,646,652,655],{},[514,647,648,649],{},"JS on load, ",[441,650,651],{},"\u002F",[514,653,654],{},"232.1 kB",[514,656,657],{},"211.6 kB",[499,659,660,663,666],{},[514,661,662],{},"JS on load, an article",[514,664,665],{},"286.6 kB",[514,667,668],{},"279.3 kB",[455,670,671],{},"An article saves less because the article page loads floating-ui for its own popovers.",[455,673,674],{},"What the header is now:",[493,676,677,687],{},[496,678,679],{},[499,680,681,684],{},[502,682,683],{},"Where",[502,685,686],{},"What it does",[509,688,689,729,742,755],{},[499,690,691,699],{},[514,692,693,588,696],{},[441,694,695],{},"apps\u002Fhuella-legal\u002Fapp\u002Fcomposables\u002FuseSiteNav.ts",[441,697,698],{},"HEADER",[514,700,701,487,704,707,708,711,712,715,716,718,719,588,722,487,725,728],{},[477,702,703],{},"Publicaciones",[477,705,706],{},"Áreas"," carry a panel ",[441,709,710],{},"slot",". ",[477,713,714],{},"Revista"," links to ",[441,717,467],{}," and groups ",[477,720,721],{},"Sobre Huella Legal",[477,723,724],{},"Colaboradores",[477,726,727],{},"Contacto",", each with a description. Publicar stays a link. A child whose link has a hash never counts as current",[499,730,731,736],{},[514,732,733],{},[441,734,735],{},"layers\u002Farchive\u002Fapp\u002Fcomponents\u002Fnav\u002FPublicationsPanel.vue",[514,737,738,739],{},"Browse links (all, by format, search), then the lead and two latest from ",[441,740,741],{},"\u002Fapi\u002Fhome",[499,743,744,749],{},[514,745,746],{},[441,747,748],{},"layers\u002Farchive\u002Fapp\u002Fcomponents\u002Fnav\u002FSubjectsPanel.vue",[514,750,751,752],{},"The eight largest areas, then ",[477,753,754],{},"Todas las áreas",[499,756,757,762],{},[514,758,759],{},[441,760,761],{},"apps\u002Fhuella-legal\u002Fapp\u002Fcomponents\u002Fshell\u002FSiteHeader.vue",[514,763,764,767,768,771,772,775,776,778],{},[441,765,766],{},"LazyUNavigationMenu hydrate-on-media-query"," inline, a ",[441,769,770],{},"LazyUNavigationMenu"," in the slideover, and the panels as ",[441,773,774],{},"LazyNav*"," in the slots. ",[477,777,714],{}," opens as an accordion in the slideover",[455,780,781,782,785,786,788],{},"The panels read ",[441,783,784],{},"useCachedFetch\u003CHome>(\"\u002Fapi\u002Fhome\")"," when they mount, so the first open fetches it\nunless ",[441,787,651],{}," or the search palette already has.",[450,790,792],{"id":791},"options-considered","Options considered",[493,794,795,804],{},[496,796,797],{},[499,798,799,801],{},[502,800,504],{},[502,802,803],{},"Why not",[509,805,806,842,850,866,881],{},[499,807,808,815],{},[514,809,810,811,814],{},"A — plain ",[441,812,813],{},"ULink"," row",[514,816,817,818,820,821,823,824,827,828,831,832,834,835,841],{},"C takes the same bytes off the initial load. What A gives up is the dropdowns, and without them ",[441,819,467],{},", the areas and featured reads don't fit at ",[441,822,447],{}," beside search and ",[477,825,826],{},"Suscribirse",". Hand-rolling dropdowns would mean owning Reka's roving focus, Esc and focus return, hover intent and ",[441,829,830],{},"aria-controls"," wiring. The axe scan has already broken once on ",[441,833,830],{}," IDs (",[462,836,838],{"href":837},"repo:apps\u002Fhuella-legal\u002Fmodules\u002FkeepServerPrefetch.ts",[441,839,840],{},"keepServerPrefetch.ts",")",[499,843,844,847],{},[514,845,846],{},"B — dropdowns, eager",[514,848,849],{},"The dropdowns add nothing to the bytes, but the menu and floating-ui stay on every page's load",[499,851,852,859],{},[514,853,854,855,858],{},"A kit component on Reka's ",[441,856,857],{},"NavigationMenu*"," primitives",[514,860,861,862,865],{},"A's byte profile with C's dropdowns, but it means owning a component and theme that Nuxt UI already ships. It is the way out if the desktop chunk after ",[441,863,864],{},"load"," turns out to matter",[499,867,868,874],{},[514,869,870,871],{},"C with ",[441,872,873],{},"hydrate-on-interaction",[514,875,876,877,880],{},"The first ",[441,878,879],{},"pointerenter"," starts hydration and Vue replays it before the chunk lands, so a pointer that rests on a trigger never opens it until it leaves and comes back. Reka opens on pointer moves",[499,882,883,894],{},[514,884,885,886,889,890,893],{},"Adding ",[441,887,888],{},"reka-ui"," as a direct dependency, for ",[441,891,892],{},"NavigationMenuLink"," in the panels",[514,895,896,897,900],{},"It would close a dropdown when a panel link is chosen. A ",[441,898,899],{},"v-model"," on the menu that the header resets on every route change does the same with no new dependency",[450,902,904],{"id":903},"consequences","Consequences",[455,906,907],{},[546,908,909],{},"Behaviours an edit can break:",[565,911,912,929,971],{},[568,913,914,917,918,920,921,924,925,928],{},[546,915,916],{},"Changing the inline menu's props hydrates it."," Vue hydrates a lazy component, and fetches its\nchunk, as soon as its props change before hydration. On desktop that is what moves the active\nunderline after a client-side navigation. Below ",[441,919,447],{}," the menu is hidden, so ",[441,922,923],{},"SiteHeader.vue"," hands\nit the server-rendered items until ",[441,926,927],{},"(min-width: 64rem)"," matches. Without that hold, a phone loads\nthe desktop menu on its first navigation. The same applies to anything else passed to the inline\nmenu that changes per route.",[568,930,931,934,935,938,939,588,941,487,943,945,946,949,950,952,953,959,960,962,963,966,967,970],{},[546,932,933],{},"The triggers stay links before hydration."," A horizontal trigger is ",[441,936,937],{},"NavigationMenuTrigger as-child"," around the item's link, so ",[477,940,703],{},[477,942,706],{},[477,944,714],{}," work as plain ",[441,947,948],{},"\u003Ca>","\nuntil window ",[441,951,864],{},", when ",[462,954,956],{"href":955},"repo:apps\u002Fhuella-legal\u002Fserver\u002Fplugins\u002FdeferHydration.ts",[441,957,958],{},"deferHydration.ts","\nstarts hydration. ",[477,961,714],{}," has a ",[441,964,965],{},"to"," for this reason. In the slideover it is a ",[441,968,969],{},"trigger","\ninstead, because a link there would leave only the chevron to open the accordion.",[568,972,973,979,980,982,983,986],{},[546,974,975,976,472],{},"The viewport needs ",[441,977,978],{},"shrink-0"," It is a flex item of a wrapper as wide as the nav, so without\n",[441,981,978],{}," in ",[441,984,985],{},"layers\u002Fdesign\u002Fapp\u002Ftheme\u002FnavigationMenu.ts"," a panel wider than the nav is clipped.",[455,988,989,992,993,995],{},[546,990,991],{},"What C costs:"," on desktop, every first visit fetches about 24 kB brotli after ",[441,994,864],{},", once\nhydration starts. A pointer that comes to rest on a trigger in the half second before the chunk\nlands still needs a move to open it.",[455,997,998,1001],{},[546,999,1000],{},"When to revisit:"," if that desktop chunk proves costly, switch to the Reka-primitives option. Plain A\nis the answer only if the dropdowns go.",[450,1003,1005],{"id":1004},"confirmation","Confirmation",[493,1007,1008,1018],{},[496,1009,1010],{},[499,1011,1012,1015],{},[502,1013,1014],{},"Claim",[502,1016,1017],{},"Check",[509,1019,1020,1046,1060,1073,1088,1101],{},[499,1021,1022,1025],{},[514,1023,1024],{},"No menu or floating-ui code is a static import of the layout",[514,1026,1027,1030,1031,1034,1035,1038,1039,1042,1043],{},[441,1028,1029],{},"pnpm exec nx build @joinery\u002Fhuella-legal",", then confirm that the chunk in ",[441,1032,1033],{},".output\u002Fpublic\u002F_nuxt"," containing ",[441,1036,1037],{},"ShellSiteHeader"," imports no chunk containing ",[441,1040,1041],{},"NavigationMenuRoot"," or ",[441,1044,1045],{},"middlewareData",[499,1047,1048,1051],{},[514,1049,1050],{},"A phone never loads the desktop menu",[514,1052,1053,1056,1057],{},[441,1054,1055],{},"SiteHeader.spec.ts",": ",[477,1058,1059],{},"holds the inline menu below lg",[499,1061,1062,1065],{},[514,1063,1064],{},"The active marker follows a client-side navigation",[514,1066,1067,1056,1070],{},[441,1068,1069],{},"e2e\u002Fshell.spec.ts",[477,1071,1072],{},"the header follows a client-side navigation before anyone has touched it",[499,1074,1075,1080],{},[514,1076,1077,1079],{},[441,1078,467],{}," is one step from every header",[514,1081,1082,1056,1084,1087],{},[441,1083,1069],{},[477,1085,1086],{},"the about page is one step from the header",", on all three viewports",[499,1089,1090,1093],{},[514,1091,1092],{},"A resting pointer opens a dropdown on its first entry",[514,1094,1095,1056,1097,1100],{},[441,1096,1069],{},[441,1098,1099],{},"openDropdown"," hovers once, after hydration, and never re-enters",[499,1102,1103,1106],{},[514,1104,1105],{},"An open dropdown stays accessible",[514,1107,1108,1056,1110],{},[441,1109,1069],{},[477,1111,1112],{},"an open header dropdown has no WCAG AA violations",{"title":1114,"searchDepth":1115,"depth":1115,"links":1116},"",2,[1117,1118,1119,1120,1121],{"id":452,"depth":1115,"text":453},{"id":541,"depth":1115,"text":542},{"id":791,"depth":1115,"text":792},{"id":903,"depth":1115,"text":904},{"id":1004,"depth":1115,"text":1005},"md",null,{"issue":1125,"status":1126,"decision":1127},343,"implemented","accepted",true,"\u002Fdocs\u002Fdecisions\u002F0034-huella-legal-header-navigation",{"title":431,"description":1114},"docs\u002Fdecisions\u002F0034-huella-legal-header-navigation","nTpL6s60HL-DtObRP67SSw1P4dEUeqbbpJE2bX8f1LY",1795478402776]