Skip to content

fix(search): guard renderLabel against hits without a description - #1251

Merged
btea merged 3 commits into
nodejs:mainfrom
btea:fix/search-hit-without-description
Nov 17, 2026
Merged

btea merged 3 commits into
nodejs:mainfrom
btea:fix/search-hit-without-description

Conversation

@btea

@btea btea commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Description

When I type ne in the search box, the terminal displays an error message, causing the input box pop-up to become unclosable.

Validation

QQ20261107-234427

Related Issues

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run node --run test and all tests passed.
  • I have check code formatting with node --run format:check & node --run lint.
  • I've covered new added functionality with unit tests if necessary.

@btea
btea requested a review from a team as a code owner November 7, 2026 15:37
@vercel

vercel Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api-docs-tooling Ready Ready Preview Nov 17, 2026 1:56pm UTC

Request Review

@codecov

codecov Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.76%. Comparing base (07858b1) to head (76e1b8c).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1251      +/-   ##
==========================================
- Coverage   94.18%   93.76%   -0.43%     
==========================================
  Files         291      294       +3     
  Lines       29214    30330    +1116     
  Branches     2969     3089     +120     
==========================================
+ Hits        27515    28438     +923     
- Misses       1677     1870     +193     
  Partials       22       22              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

api-links Generator

Performance estimate (single CI run)

  • Generation time: 23.3% faster (730.00 ms → 560.00 ms)
  • Peak memory: 0.5% lower (289.92 MB → 288.48 MB)

json Generator

Performance estimate (single CI run)

  • Generation time: 62.3% slower (5.75 s → 9.33 s)
  • Peak memory: 4.9% lower (944.75 MB → 898.79 MB)

legacy-html Generator

Performance estimate (single CI run)

  • Generation time: 12.2% faster (16.48 s → 14.47 s)
  • Peak memory: 5.5% higher (1.40 GB → 1.48 GB)

legacy-json Generator

Performance estimate (single CI run)

  • Generation time: 3.1% slower (7.66 s → 7.90 s)
  • Peak memory: 3.4% higher (872.91 MB → 902.77 MB)

llms-txt Generator

Performance estimate (single CI run)

  • Generation time: 11.1% faster (5.84 s → 5.19 s)
  • Peak memory: 10.4% lower (935.59 MB → 838.52 MB)

orama-db Generator

Performance estimate (single CI run)

  • Generation time: 12.2% faster (8.47 s → 7.44 s)
  • Peak memory: 2.2% higher (958.95 MB → 980.44 MB)

web Generator

Output size: 138 files changed · net +197.57 KB

File size details
File Main PR Change
assets/style-oesv8pX0.css 138.33 KB — -138.33 KB (-100.0%)
assets/style-Ce7eUXNk.css — 138.25 KB +138.25 KB
all.html 34.83 MB 34.92 MB +90.88 KB (+0.3%)
assets/SearchBox-9n1mnHaB.js 84.55 KB — -84.55 KB (-100.0%)
assets/SearchBox-B6zDecUb.js — 84.55 KB +84.55 KB
assets/dist-CnIJ8XGP.js 30.37 KB — -30.37 KB (-100.0%)
assets/dist-B6b5PaJM.js — 30.37 KB +30.37 KB
assets/client-tAdahO-h.js — 26.00 KB +26.00 KB
assets/SideBar-DHTYk6TC.js 25.53 KB — -25.53 KB (-100.0%)
assets/SideBar-DBEPpHCa.js — 25.53 KB +25.53 KB
assets/client-CqREPnK9.js 25.44 KB — -25.44 KB (-100.0%)
assets/config-DrqSsa0t.js 24.15 KB — -24.15 KB (-100.0%)
assets/config-d5A_Jymz.js — 24.15 KB +24.15 KB
assets/Combination-BqcNYhpf.js 16.07 KB — -16.07 KB (-100.0%)
assets/Combination-BDabG5he.js — 16.07 KB +16.07 KB
assets/ThemeToggle-CwTAxrWI.js 13.61 KB — -13.61 KB (-100.0%)
assets/ThemeToggle-DPctbLtF.js — 13.61 KB +13.61 KB
assets/compat-DkeB9U1h.js 13.53 KB — -13.53 KB (-100.0%)
assets/compat-DXWOucUx.js — 13.53 KB +13.53 KB
assets/dist-BLH_Rr38.js 10.16 KB — -10.16 KB (-100.0%)
assets/dist-DBbUZSc_.js — 10.16 KB +10.16 KB
assets/Layout-BfF00dNX.js 10.04 KB — -10.04 KB (-100.0%)
assets/Layout-4qrvT5Ap.js — 10.04 KB +10.04 KB
errors.html 572.30 KB 580.45 KB +8.14 KB (+1.4%)
assets/Tooltip-CnMYlYFs.js 7.84 KB — -7.84 KB (-100.0%)
assets/Tooltip-pxwgNGPo.js — 7.84 KB +7.84 KB
assets/dist-CLGhXHiW.js 6.95 KB — -6.95 KB (-100.0%)
assets/dist-DRHxTNQg.js — 6.95 KB +6.95 KB
quic.html 986.03 KB 991.47 KB +5.44 KB (+0.6%)
fs.html 2.36 MB 2.36 MB +5.30 KB (+0.2%)
cli.html 679.37 KB 683.73 KB +4.36 KB (+0.6%)
n-api.html 1.05 MB 1.06 MB +4.02 KB (+0.4%)
assets/dist-Bv2VMEdQ.js 3.89 KB — -3.89 KB (-100.0%)
assets/dist-DCBq7I6a.js — 3.89 KB +3.89 KB
assets/CodeTabs-wEu7sdiy.js 3.81 KB — -3.81 KB (-100.0%)
assets/CodeTabs-CHg5KuZD.js — 3.81 KB +3.81 KB
deprecations.html 607.40 KB 610.91 KB +3.52 KB (+0.6%)
assets/CodeBox-YXLF9NRO.js 3.36 KB — -3.36 KB (-100.0%)
assets/CodeBox-CW5-4WYA.js — 3.36 KB +3.36 KB
crypto.html 2.07 MB 2.07 MB +3.19 KB (+0.2%)
http2.html 1.31 MB 1.31 MB +3.16 KB (+0.2%)
http.html 1.23 MB 1.23 MB +3.13 KB (+0.2%)
webcrypto.html 679.97 KB 682.97 KB +3.00 KB (+0.4%)
zlib.html 1.00 MB 1.00 MB +2.88 KB (+0.3%)
test.html 1.47 MB 1.47 MB +2.75 KB (+0.2%)
perf_hooks.html 910.85 KB 913.52 KB +2.67 KB (+0.3%)
stream.html 1.27 MB 1.28 MB +2.61 KB (+0.2%)
net.html 669.66 KB 671.94 KB +2.28 KB (+0.3%)
buffer.html 1.82 MB 1.82 MB +2.20 KB (+0.1%)
process.html 1.20 MB 1.20 MB +2.20 KB (+0.2%)
assets/FunctionSignature-D8zqozIh.js 2.20 KB — -2.20 KB (-100.0%)
assets/FunctionSignature-CjX_721K.js — 2.20 KB +2.20 KB
util.html 1.26 MB 1.27 MB +2.14 KB (+0.2%)
assets/Banner-4fGaX6F9.js 2.04 KB — -2.04 KB (-100.0%)
assets/Banner-CnnsMnvQ.js — 2.04 KB +2.04 KB
webstreams.html 565.43 KB 567.35 KB +1.92 KB (+0.3%)
globals.html 302.35 KB 304.18 KB +1.83 KB (+0.6%)
diagnostics_channel.html 553.44 KB 555.19 KB +1.75 KB (+0.3%)
assets/ChangeHistory-D0IPdHvy.js 1.73 KB — -1.73 KB (-100.0%)
assets/ChangeHistory-BXyJz7Kx.js — 1.73 KB +1.73 KB
stream_iter.html 795.19 KB 796.82 KB +1.63 KB (+0.2%)
events.html 868.12 KB 869.67 KB +1.55 KB (+0.2%)
tls.html 550.17 KB 551.71 KB +1.53 KB (+0.3%)
dtls.html 315.59 KB 317.08 KB +1.48 KB (+0.5%)
v8.html 574.47 KB 575.94 KB +1.47 KB (+0.3%)
url.html 533.89 KB 535.33 KB +1.44 KB (+0.3%)
worker_threads.html 662.16 KB 663.52 KB +1.36 KB (+0.2%)
sqlite.html 542.98 KB 544.18 KB +1.20 KB (+0.2%)
module.html 533.09 KB 534.23 KB +1.14 KB (+0.2%)
dns.html 442.03 KB 443.11 KB +1.08 KB (+0.2%)
readline.html 380.82 KB 381.81 KB +1008.00 B (+0.3%)
inspector.html 225.17 KB 226.14 KB +992.00 B (+0.4%)
child_process.html 706.46 KB 707.42 KB +976.00 B (+0.1%)
esm.html 196.06 KB 197.01 KB +976.00 B (+0.5%)
vm.html 656.77 KB 657.72 KB +976.00 B (+0.1%)
dgram.html 313.49 KB 314.37 KB +896.00 B (+0.3%)
modules.html 238.01 KB 238.87 KB +880.00 B (+0.4%)
ffi.html 216.87 KB 217.71 KB +864.00 B (+0.4%)
assets/DataTag-CwRk7EUJ.js 834.00 B — -834.00 B (-100.0%)
assets/DataTag-acoFInEA.js — 834.00 B +834.00 B
assets/DocumentationIndex-DJHHnKq0.js 833.00 B — -833.00 B (-100.0%)
assets/DocumentationIndex-B1orFk3_.js — 833.00 B +833.00 B
packages.html 234.56 KB 235.37 KB +832.00 B (+0.3%)
vfs.html 213.60 KB 214.40 KB +816.00 B (+0.4%)
bench.html 213.40 KB 214.17 KB +784.00 B (+0.4%)
cluster.html 317.74 KB 318.50 KB +784.00 B (+0.2%)
single-executable-applications.html 170.83 KB 171.60 KB +784.00 B (+0.4%)
assets/classnames-B4RBm4Lf.js 745.00 B — -745.00 B (-100.0%)
assets/classnames-DzUKzfzj.js — 745.00 B +745.00 B
os.html 173.40 KB 174.12 KB +736.00 B (+0.4%)
repl.html 314.01 KB 314.72 KB +720.00 B (+0.2%)
assert.html 673.00 KB 673.68 KB +704.00 B (+0.1%)
async_hooks.html 293.14 KB 293.79 KB +672.00 B (+0.2%)
timers.html 192.25 KB 192.91 KB +672.00 B (+0.3%)
async_context.html 329.94 KB 330.58 KB +656.00 B (+0.2%)
console.html 194.17 KB 194.81 KB +656.00 B (+0.3%)
assets/Badge-BbGRrcF2.js 597.00 B — -597.00 B (-100.0%)
assets/Badge-COPY3UNN.js — 597.00 B +597.00 B
https.html 250.18 KB 250.76 KB +592.00 B (+0.2%)
assets/AlertBox-CRH0CiNU.js 581.00 B — -581.00 B (-100.0%)
assets/AlertBox-CVksnEMP.js — 581.00 B +581.00 B
assets/ArrowUpRightIcon-GB8x2WWs.js 579.00 B — -579.00 B (-100.0%)
assets/ArrowUpRightIcon-BVkrBa-r.js — 579.00 B +579.00 B
tty.html 113.74 KB 114.29 KB +560.00 B (+0.5%)
addons.html 389.73 KB 390.23 KB +512.00 B (+0.1%)
assets/CodeBracketIcon-CDCxizh2.js 512.00 B — -512.00 B (-100.0%)
debugger.html 148.24 KB 148.74 KB +512.00 B (+0.3%)
path.html 186.18 KB 186.68 KB +512.00 B (+0.3%)
assets/CodeBracketIcon-CI34KHm8.js — 512.00 B +512.00 B
domain.html 131.23 KB 131.70 KB +480.00 B (+0.4%)
assets/dist-sScOyttL.js 477.00 B — -477.00 B (-100.0%)
assets/dist-D94yw9jC.js — 477.00 B +477.00 B
assets/ChevronDownIcon-BmLGedWk.js 468.00 B — -468.00 B (-100.0%)
assets/ChevronDownIcon-DIEkWEd6.js — 468.00 B +468.00 B
assets/renderLabel-DrEYcBf-.js — 451.00 B +451.00 B
permissions.html 95.17 KB 95.61 KB +448.00 B (+0.5%)
assets/renderLabel-CchXvpBp.js 447.00 B — -447.00 B (-100.0%)
environment_variables.html 39.42 KB 39.82 KB +416.00 B (+1.0%)
assets/jsx-runtime-DGWrY2l7.js 405.00 B — -405.00 B (-100.0%)
assets/jsx-runtime-CkO760Nd.js — 405.00 B +405.00 B
report.html 238.07 KB 238.46 KB +400.00 B (+0.2%)
tracing.html 130.99 KB 131.38 KB +400.00 B (+0.3%)
typescript.html 53.17 KB 53.56 KB +400.00 B (+0.7%)
punycode.html 68.25 KB 68.61 KB +368.00 B (+0.5%)
wasi.html 83.98 KB 84.34 KB +368.00 B (+0.4%)
intl.html 58.74 KB 59.08 KB +352.00 B (+0.6%)
querystring.html 70.20 KB 70.53 KB +336.00 B (+0.5%)
documentation.html 29.87 KB 30.18 KB +320.00 B (+1.0%)
embedding.html 73.02 KB 73.32 KB +304.00 B (+0.4%)
string_decoder.html 68.93 KB 69.23 KB +304.00 B (+0.4%)
404.html 22.66 KB 22.90 KB +240.00 B (+1.0%)
index.html 27.91 KB 28.15 KB +240.00 B (+0.8%)
assets/Blockquote-_Mfd8Z3h.js 167.00 B — -167.00 B (-100.0%)
assets/Blockquote-BD_70gX_.js — 167.00 B +167.00 B
assets/useRemoteConfig-BX7tuC1U.js 116.00 B — -116.00 B (-100.0%)
assets/useRemoteConfig-D2zG8ldK.js — 116.00 B +116.00 B
assets/withIsland-wjSwvMAn.js 105.00 B — -105.00 B (-100.0%)
assets/withIsland-QDIWm2oH.js — 105.00 B +105.00 B

Performance estimate (single CI run)

  • Generation time: 3.6% faster (18.27 s → 17.61 s)
  • Peak memory: 4.4% lower (1.50 GB → 1.43 GB)

@btea
btea merged commit 1655cb5 into nodejs:main Nov 17, 2026
23 checks passed
@btea
btea deleted the fix/search-hit-without-description branch November 17, 2026 14:58
@github-actions github-actions Bot mentioned this pull request Nov 17, 2026

This branch was successfully deployed

1 active deployment
Preview – api-docs-tooling — 76e1b8c8 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants