Skip to content

FE-219: port and wire all components from park-ui, as stubs#8670

Merged
lunelson merged 22 commits intomainfrom
ln/fe-219-stub-park-ui-patterns
Apr 30, 2026
Merged

FE-219: port and wire all components from park-ui, as stubs#8670
lunelson merged 22 commits intomainfrom
ln/fe-219-stub-park-ui-patterns

Conversation

@lunelson
Copy link
Copy Markdown
Contributor

@lunelson lunelson commented Apr 28, 2026

🌟 What is the purpose of this PR?

This PR gets the Park UI port into @hashintel/ds-components as a beta/stub surface, wires it into Ladle, and finishes the package reshuffle needed to expose preset-owned tokens from @hashintel/ds-components/tokens.

It also switches the library build from tsdown to tsupdue to issues with the way type declarations from panda were being output with the former; and cleans up the story layout so the new beta primitives sit separately from the legacy published components.

🔗 Related links

  • FE-219 (internal)
  • libs/@hashintel/ds-components/_docs/research/park-ui-porting-guide.md

🚫 Blocked by

  • None

🔍 What does this change?

  • adds the Park UI-derived beta primitives and stories under src/beta/**
  • moves preset token/theme internals into the new src/preset/tokens.ts and src/preset/recipes.ts layout
  • replaces the unused @hashintel/ds-components/theme export with @hashintel/ds-components/tokens
  • switches the package build to tsup and updates the Turbo graph around that
  • reorganizes Ladle so the sidebar separates Primitives, Tokens, and Legacy

Pre-Merge Checklist 🚀

🚢 Has this modified a publishable library?

This PR:

  • I am unsure / need advice

📜 Does this require a change to the docs?

The changes in this PR:

  • require changes to docs which are made as part of this PR

🕸️ Does this require a change to the Turbo Graph?

The changes in this PR:

  • affected the execution graph, and the turbo.json's have been updated to reflect this

⚠️ Known issues

  • /beta is intentionally transitional and not part of the published component surface yet

🐾 Next steps

  • keep promoting stabilized beta primitives into the published component surface
  • tighten up beta stories and token usage as those primitives graduate

🛡 What tests cover this?

  • yarn lint:tsc
  • yarn build
  • yarn build:ladle
  • yarn test:unit

❓ How to test this?

  1. Check out ln/fe-219-stub-park-ui-patterns
  2. In libs/@hashintel/ds-components, run yarn build, yarn build:ladle, and yarn test:unit
  3. Run yarn dev and confirm the Ladle sidebar now separates Primitives, Tokens, and Legacy
  4. Spot-check a few stories in Primitives and confirm they render
  5. Confirm the published package surface still builds through @hashintel/ds-components, @hashintel/ds-components/preset, and @hashintel/ds-components/tokens

📹 Demo

  • Not included

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 28, 2026

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

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Apr 29, 2026 8:17pm
hashdotdesign-tokens Ready Ready Preview, Comment Apr 29, 2026 8:17pm
petrinaut Ready Ready Preview Apr 29, 2026 8:17pm

Copy link
Copy Markdown
Contributor Author

lunelson commented Apr 28, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions Bot added area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team area/apps > hash.design Affects the `hash.design` design site (app) labels Apr 28, 2026
@lunelson lunelson changed the title add unwired beta components, based on park-ui patterns FE-219: port and wire all components from park-ui, as stubs Apr 28, 2026
@lunelson lunelson marked this pull request as ready for review April 28, 2026 16:50
@cursor
Copy link
Copy Markdown

cursor Bot commented Apr 28, 2026

PR Summary

Medium Risk
Introduces a new public entrypoint (@hashintel/ds-components/tokens) while removing ./theme, and swaps the library build pipeline to tsup, which could break consumers or produce different emitted types if anything is misconfigured.

Overview
Ports a large set of Park UI-derived beta/stub primitives into src/beta/** (recipes, component wrappers, and Ladle stories) and wires them into Panda’s include paths so their styles/types can be generated.

Replaces the @hashintel/ds-components/theme export with a new @hashintel/ds-components/tokens entrypoint (via src/tokens.ts) that exposes preset-owned tokens/semanticTokens, and adjusts token/color generation scripts to write into the new src/preset/tokens/gen/** layout.

Updates the package toolchain and dev ergonomics: switches builds from tsdown to tsup (new tsup.config.ts and export entries), tweaks Ladle story ordering to separate primitives/tokens/legacy, and revises ESLint config to avoid slow type-aware linting on story surfaces while adding cached lint/tsc:beta scripts.

Reviewed by Cursor Bugbot for commit 980f377. Bugbot is set up for automated code reviews on this repo. Configure here.

@lunelson lunelson self-assigned this Apr 28, 2026
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Apr 28, 2026

This pull request is abnormally large and would use a significant amount of tokens to review. If you still wish to review it, comment "augment review" and we will review it.

Comment thread libs/@hashintel/ds-components/src/beta/alert/alert.recipe.ts Outdated
Comment thread libs/@hashintel/ds-components/src/beta/card/card.tsx Outdated
Comment thread libs/@hashintel/ds-components/src/beta/checkbox/checkbox.recipe.ts
Comment thread libs/@hashintel/ds-components/src/beta/dialog/dialog.tsx Outdated
Comment thread libs/@hashintel/ds-components/src/beta/menu/menu.tsx
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.08%. Comparing base (1b02fbf) to head (980f377).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8670   +/-   ##
=======================================
  Coverage   62.08%   62.08%           
=======================================
  Files        1341     1341           
  Lines      135072   135072           
  Branches     5744     5744           
=======================================
  Hits        83854    83854           
  Misses      50310    50310           
  Partials      908      908           
Flag Coverage Δ
apps.hash-ai-worker-ts 1.41% <ø> (ø)
apps.hash-api 0.00% <ø> (ø)
blockprotocol.type-system 40.84% <ø> (ø)
local.claude-hooks 0.00% <ø> (ø)
local.harpc-client 51.24% <ø> (ø)
local.hash-backend-utils 0.00% <ø> (ø)
local.hash-graph-sdk 9.63% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.error-stack 90.87% <ø> (ø)
rust.harpc-codec 84.70% <ø> (ø)
rust.harpc-net 96.19% <ø> (ø)
rust.harpc-tower 67.03% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-codec 72.76% <ø> (ø)
rust.hash-graph-api 2.52% <ø> (ø)
rust.hash-graph-authorization 62.34% <ø> (ø)
rust.hash-graph-postgres-store 26.38% <ø> (ø)
rust.hash-graph-store 37.76% <ø> (ø)
rust.hash-graph-temporal-versioning 47.95% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 83.45% <ø> (ø)
rust.hashql-ast 87.23% <ø> (ø)
rust.hashql-compiletest 29.63% <ø> (ø)
rust.hashql-core 82.29% <ø> (ø)
rust.hashql-diagnostics 72.43% <ø> (ø)
rust.hashql-eval 69.13% <ø> (ø)
rust.hashql-hir 89.06% <ø> (ø)
rust.hashql-mir 92.64% <ø> (ø)
rust.hashql-syntax-jexpr 94.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 28, 2026

Merging this PR will not alter performance

✅ 80 untouched benchmarks


Comparing ln/fe-219-stub-park-ui-patterns (86889ff) with main (3ec4a42)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (79eda1e) during the generation of this report, so 3ec4a42 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Comment thread libs/@hashintel/ds-components/package.json
Comment thread libs/@hashintel/ds-components/src/beta/alert/alert.tsx
lunelson and others added 19 commits April 29, 2026 21:04
Signed-off-by: Lu Nelson <ln@hash.ai>
Signed-off-by: Lu Nelson <ln@hash.ai>
Signed-off-by: Lu Nelson <ln@hash.ai>
Signed-off-by: Lu Nelson <ln@hash.ai>
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Lu Nelson <ln@hash.ai>
Signed-off-by: Lu Nelson <ln@hash.ai>
Signed-off-by: Lu Nelson <ln@hash.ai>
Signed-off-by: Lu Nelson <ln@hash.ai>
@github-actions
Copy link
Copy Markdown
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

policy_resolution_large

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2002 $$27.5 \mathrm{ms} \pm 192 \mathrm{μs}\left({\color{gray}-3.962 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.44 \mathrm{ms} \pm 23.7 \mathrm{μs}\left({\color{gray}-4.849 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1001 $$12.9 \mathrm{ms} \pm 85.2 \mathrm{μs}\left({\color{gray}-4.762 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$44.5 \mathrm{ms} \pm 295 \mathrm{μs}\left({\color{gray}-1.022 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$15.7 \mathrm{ms} \pm 129 \mathrm{μs}\left({\color{gray}4.96 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1526 $$25.1 \mathrm{ms} \pm 167 \mathrm{μs}\left({\color{gray}-1.128 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$28.7 \mathrm{ms} \pm 205 \mathrm{μs}\left({\color{gray}-4.335 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.68 \mathrm{ms} \pm 18.4 \mathrm{μs}\left({\color{lightgreen}-12.407 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.7 \mathrm{ms} \pm 88.8 \mathrm{μs}\left({\color{lightgreen}-10.170 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.84 \mathrm{ms} \pm 25.7 \mathrm{μs}\left({\color{gray}-0.219 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.00 \mathrm{ms} \pm 17.6 \mathrm{μs}\left({\color{gray}-0.143 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 51 $$3.36 \mathrm{ms} \pm 18.2 \mathrm{μs}\left({\color{gray}-0.030 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.20 \mathrm{ms} \pm 36.2 \mathrm{μs}\left({\color{gray}1.06 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.54 \mathrm{ms} \pm 21.7 \mathrm{μs}\left({\color{gray}-0.461 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 107 $$4.14 \mathrm{ms} \pm 27.9 \mathrm{μs}\left({\color{gray}-0.521 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.44 \mathrm{ms} \pm 24.9 \mathrm{μs}\left({\color{gray}-1.388 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.49 \mathrm{ms} \pm 24.9 \mathrm{μs}\left({\color{gray}1.32 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.17 \mathrm{ms} \pm 38.7 \mathrm{μs}\left({\color{gray}1.98 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.60 \mathrm{ms} \pm 14.9 \mathrm{μs}\left({\color{gray}-1.560 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.51 \mathrm{ms} \pm 15.0 \mathrm{μs}\left({\color{gray}-1.890 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1 $$2.54 \mathrm{ms} \pm 13.7 \mathrm{μs}\left({\color{gray}-2.419 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$2.84 \mathrm{ms} \pm 16.7 \mathrm{μs}\left({\color{gray}-0.140 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.64 \mathrm{ms} \pm 18.0 \mathrm{μs}\left({\color{gray}-1.392 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$2.82 \mathrm{ms} \pm 17.6 \mathrm{μs}\left({\color{gray}-0.570 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.00 \mathrm{ms} \pm 14.0 \mathrm{μs}\left({\color{gray}-0.969 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.74 \mathrm{ms} \pm 14.8 \mathrm{μs}\left({\color{gray}0.288 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 25 $$2.97 \mathrm{ms} \pm 18.3 \mathrm{μs}\left({\color{gray}-0.044 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.45 \mathrm{ms} \pm 23.7 \mathrm{μs}\left({\color{gray}0.675 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$2.97 \mathrm{ms} \pm 18.1 \mathrm{μs}\left({\color{gray}1.65 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 26 $$3.34 \mathrm{ms} \pm 21.1 \mathrm{μs}\left({\color{gray}1.93 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.34 \mathrm{ms} \pm 18.5 \mathrm{μs}\left({\color{gray}0.915 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.94 \mathrm{ms} \pm 13.8 \mathrm{μs}\left({\color{gray}-0.250 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.33 \mathrm{ms} \pm 20.0 \mathrm{μs}\left({\color{gray}0.102 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$56.8 \mathrm{ms} \pm 343 \mathrm{μs}\left({\color{gray}2.46 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$46.9 \mathrm{ms} \pm 232 \mathrm{μs}\left({\color{gray}0.933 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$50.8 \mathrm{ms} \pm 343 \mathrm{μs}\left({\color{gray}0.251 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$45.7 \mathrm{ms} \pm 280 \mathrm{μs}\left({\color{gray}2.55 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$63.6 \mathrm{ms} \pm 368 \mathrm{μs}\left({\color{gray}2.32 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$62.7 \mathrm{ms} \pm 368 \mathrm{μs}\left({\color{gray}1.42 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$56.7 \mathrm{ms} \pm 346 \mathrm{μs}\left({\color{gray}-0.817 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$101 \mathrm{ms} \pm 462 \mathrm{μs}\left({\color{gray}1.06 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$62.7 \mathrm{ms} \pm 4.35 \mathrm{ms}\left({\color{red}35.7 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$301 \mathrm{ms} \pm 965 \mathrm{μs}\left({\color{gray}0.742 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$20.4 \mathrm{ms} \pm 151 \mathrm{μs}\left({\color{gray}3.55 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$20.9 \mathrm{ms} \pm 142 \mathrm{μs}\left({\color{gray}4.70 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$21.0 \mathrm{ms} \pm 128 \mathrm{μs}\left({\color{gray}2.33 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$19.9 \mathrm{ms} \pm 119 \mathrm{μs}\left({\color{gray}-1.258 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$25.3 \mathrm{ms} \pm 186 \mathrm{μs}\left({\color{gray}-1.319 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$20.2 \mathrm{ms} \pm 119 \mathrm{μs}\left({\color{gray}1.07 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$20.1 \mathrm{ms} \pm 148 \mathrm{μs}\left({\color{gray}3.01 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$20.1 \mathrm{ms} \pm 118 \mathrm{μs}\left({\color{gray}2.80 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$21.6 \mathrm{ms} \pm 143 \mathrm{μs}\left({\color{red}5.26 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$29.1 \mathrm{ms} \pm 243 \mathrm{μs}\left({\color{red}6.87 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$37.1 \mathrm{ms} \pm 377 \mathrm{μs}\left({\color{gray}4.23 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$36.7 \mathrm{ms} \pm 295 \mathrm{μs}\left({\color{gray}2.81 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$35.4 \mathrm{ms} \pm 364 \mathrm{μs}\left({\color{gray}-2.389 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$36.6 \mathrm{ms} \pm 276 \mathrm{μs}\left({\color{gray}2.49 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$38.1 \mathrm{ms} \pm 327 \mathrm{μs}\left({\color{red}7.30 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$36.7 \mathrm{ms} \pm 286 \mathrm{μs}\left({\color{gray}1.70 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$36.3 \mathrm{ms} \pm 306 \mathrm{μs}\left({\color{gray}2.35 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$37.6 \mathrm{ms} \pm 302 \mathrm{μs}\left({\color{gray}1.30 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$37.8 \mathrm{ms} \pm 318 \mathrm{μs}\left({\color{gray}3.19 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: bf5a9ef5-dc3b-43cf-a291-6210c0321eba $$8.76 \mathrm{ms} \pm 49.6 \mathrm{μs}\left({\color{gray}-0.006 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$98.4 \mathrm{ms} \pm 497 \mathrm{μs}\left({\color{gray}-0.166 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$154 \mathrm{ms} \pm 620 \mathrm{μs}\left({\color{gray}-3.483 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$105 \mathrm{ms} \pm 545 \mathrm{μs}\left({\color{gray}-4.393 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$117 \mathrm{ms} \pm 617 \mathrm{μs}\left({\color{gray}-4.414 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$122 \mathrm{ms} \pm 569 \mathrm{μs}\left({\color{lightgreen}-5.012 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$135 \mathrm{ms} \pm 670 \mathrm{μs}\left({\color{gray}-0.909 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$107 \mathrm{ms} \pm 505 \mathrm{μs}\left({\color{gray}-1.314 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$141 \mathrm{ms} \pm 512 \mathrm{μs}\left({\color{gray}2.55 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$114 \mathrm{ms} \pm 475 \mathrm{μs}\left({\color{gray}1.06 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$124 \mathrm{ms} \pm 506 \mathrm{μs}\left({\color{gray}0.180 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$126 \mathrm{ms} \pm 631 \mathrm{μs}\left({\color{gray}-0.206 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$128 \mathrm{ms} \pm 510 \mathrm{μs}\left({\color{gray}2.39 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$179 \mathrm{ms} \pm 925 \mathrm{μs}\left({\color{gray}-3.329 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$145 \mathrm{ms} \pm 683 \mathrm{μs}\left({\color{lightgreen}-26.334 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$40.8 \mathrm{ms} \pm 222 \mathrm{μs}\left({\color{lightgreen}-5.729 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$575 \mathrm{ms} \pm 1.04 \mathrm{ms}\left({\color{gray}4.19 \mathrm{\%}}\right) $$ Flame Graph

@lunelson lunelson added this pull request to the merge queue Apr 30, 2026
Merged via the queue into main with commit 891f36f Apr 30, 2026
174 checks passed
@lunelson lunelson deleted the ln/fe-219-stub-park-ui-patterns branch April 30, 2026 10:40
@hashdotai hashdotai mentioned this pull request Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps > hash.design Affects the `hash.design` design site (app) area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

2 participants