Repository navigation
Move all contributing docs to docs site - #972
Conversation
Benchmark ResultsComparison against baseline from
|
| Benchmark | Current | Baseline | Change |
|---|---|---|---|
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.bar |
787.39K ops/s | 584.10K ops/s | +34.8% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.pets.1.name |
475.25K ops/s | 366.22K ops/s | +29.8% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.pets.01.name |
480.71K ops/s | 368.59K ops/s | +30.4% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.pets['01'].name |
457.89K ops/s | 325.65K ops/s | +40.6% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.pets[01].name |
467.66K ops/s | 349.03K ops/s | +34.0% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.pets[name = "frodo"].type |
258.59K ops/s | 205.15K ops/s | +26.0% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.pets["name" = "sprinkles"].type |
209.85K ops/s | 149.08K ops/s | +40.8% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.pets["isDog" = false].type |
282.40K ops/s | 201.26K ops/s | +40.3% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > parser benchmarks > Resolving binding: foo.pets["isDog" = true].type |
256.18K ops/s | 219.30K ops/s | +16.8% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.bar |
558.53K ops/s | 383.61K ops/s | +45.6% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.pets.1.name |
385.46K ops/s | 241.12K ops/s | +59.9% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.pets.01.name |
362.74K ops/s | 256.51K ops/s | +41.4% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.pets['01'].name |
335.97K ops/s | 247.00K ops/s | +36.0% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.pets[01].name |
382.52K ops/s | 222.87K ops/s | +71.6% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.pets[name = "frodo"].type |
236.52K ops/s | 157.08K ops/s | +50.6% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.pets["name" = "sprinkles"].type |
192.70K ops/s | 132.16K ops/s | +45.8% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.pets["isDog" = false].type |
229.34K ops/s | 157.64K ops/s | +45.5% ✅ |
core/player/src/binding/__tests__/parser.bench.ts > binding creation benchmarks > Resolving binding: foo.pets["isDog" = true].type |
243.10K ops/s | 181.21K ops/s | +34.2% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = 1 + 3 (sync) |
440.31K ops/s | 262.00K ops/s | +68.1% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = 1 + 3 (async) |
361.15K ops/s | 203.54K ops/s | +77.4% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: conditional(true, true, false) (sync) |
481.81K ops/s | 285.24K ops/s | +68.9% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: conditional(true, true, false) (async) |
423.49K ops/s | 272.20K ops/s | +55.6% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = conditional({{bar}} > 0, true, false) (sync) |
213.83K ops/s | 121.20K ops/s | +76.4% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = conditional({{bar}} > 0, true, false) (async) |
170.39K ops/s | 135.56K ops/s | +25.7% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = conditional(conditional(true = false, false, true), conditional(false = false, true, false), conditional(true = true, false, true)) (sync) |
149.26K ops/s | 101.77K ops/s | +46.7% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = conditional(conditional(true = false, false, true), conditional(false = false, true, false), conditional(true = true, false, true)) (async) |
150.52K ops/s | 110.16K ops/s | +36.6% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = await(asyncTestFunction(1)) (sync) |
N/A | N/A | N/A |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = await(asyncTestFunction(1)) (async) |
269.37K ops/s | 175.84K ops/s | +53.2% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = asyncTestFunction(1) (sync) |
342.38K ops/s | 227.78K ops/s | +50.3% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = asyncTestFunction(1) (async) |
231.62K ops/s | 192.21K ops/s | +20.5% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: asyncTestFunction(1) (sync) |
731.78K ops/s | 555.86K ops/s | +31.6% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: asyncTestFunction(1) (async) |
420.38K ops/s | 332.46K ops/s | +26.4% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = conditional(!{{bar}} == false, await(asyncTestFunction(1)), false) (sync) |
144.08K ops/s | 120.17K ops/s | +19.9% ✅ |
core/player/src/expressions/__tests__/performance.bench.ts > Expression Parsing/Execution Benchmark > Parsing: {{foo}} = conditional(!{{bar}} == false, await(asyncTestFunction(1)), false) (async) |
157.82K ops/s | 112.78K ops/s | +39.9% ✅ |
core/player/src/view/resolver/__tests__/index.bench.ts > resolver benchmarks > initial resolve |
604.96 ops/s | 269.79 ops/s | +124.2% ✅ |
core/player/src/view/resolver/__tests__/index.bench.ts > resolver benchmarks > Resolving from cache |
19.40K ops/s | 8.02K ops/s | +142.0% ✅ |
core/player/src/view/resolver/__tests__/index.bench.ts > resolver benchmarks > data changes |
2.79K ops/s | 1.25K ops/s | +123.7% ✅ |
core/player/src/view/resolver/__tests__/index.bench.ts > resolver benchmarks > data changes slow |
579.82 ops/s | 273.15 ops/s | +112.3% ✅ |
plugins/async-node/core
| Benchmark | Current | Baseline | Change |
|---|---|---|---|
plugins/async-node/core/src/__tests__/index.bench.ts > async node benchmarks > Resolve Async Node 1 times |
12.32K ops/s | 7.67K ops/s | +60.7% ✅ |
plugins/async-node/core/src/__tests__/index.bench.ts > async node benchmarks > Resolve Async Node 5 times |
12.39K ops/s | 8.46K ops/s | +46.4% ✅ |
plugins/async-node/core/src/__tests__/index.bench.ts > async node benchmarks > Resolve Async Node 10 times |
7.93K ops/s | 6.63K ops/s | +19.7% ✅ |
plugins/async-node/core/src/__tests__/index.bench.ts > async node benchmarks > Resolve Async Node 50 times |
2.63K ops/s | 2.18K ops/s | +20.8% ✅ |
plugins/async-node/core/src/__tests__/index.bench.ts > async node benchmarks > Resolve Async Node 100 times |
1.50K ops/s | 1.15K ops/s | +30.4% ✅ |
plugins/async-node/core/src/__tests__/transform.bench.ts > async transform benchmarks > Resolve Async Node 1 times |
5.49K ops/s | 4.35K ops/s | +26.3% ✅ |
plugins/async-node/core/src/__tests__/transform.bench.ts > async transform benchmarks > Resolve Async Node 5 times |
5.94K ops/s | 5.12K ops/s | +16.0% ✅ |
plugins/async-node/core/src/__tests__/transform.bench.ts > async transform benchmarks > Resolve Async Node 10 times |
6.23K ops/s | 4.35K ops/s | +43.1% ✅ |
plugins/async-node/core/src/__tests__/transform.bench.ts > async transform benchmarks > Resolve Async Node 50 times |
2.27K ops/s | 1.72K ops/s | +32.1% ✅ |
plugins/async-node/core/src/__tests__/transform.bench.ts > async transform benchmarks > Resolve Async Node 100 times |
1.49K ops/s | 1.05K ops/s | +42.1% ✅ |
react/player
| Benchmark | Current | Baseline | Change |
|---|---|---|---|
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Render asset nested in 1 ReactAssets |
566.15 ops/s | 472.49 ops/s | +19.8% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Bubble errors nested in 1 ReactAssets |
884.75 ops/s | 765.15 ops/s | +15.6% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Render asset nested in 5 ReactAssets |
559.82 ops/s | 456.29 ops/s | +22.7% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Bubble errors nested in 5 ReactAssets |
829.42 ops/s | 668.91 ops/s | +24.0% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Render asset nested in 10 ReactAssets |
549.82 ops/s | 455.20 ops/s | +20.8% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Bubble errors nested in 10 ReactAssets |
839.49 ops/s | 578.49 ops/s | +45.1% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Render asset nested in 50 ReactAssets |
466.19 ops/s | 358.67 ops/s | +30.0% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Bubble errors nested in 50 ReactAssets |
257.89 ops/s | 179.61 ops/s | +43.6% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Render asset nested in 100 ReactAssets |
347.61 ops/s | 276.86 ops/s | +25.6% ✅ |
react/player/src/asset/__tests__/index.bench.tsx > ReactAsset benchmarks > Bubble errors nested in 100 ReactAssets |
85.81 ops/s | 68.88 ops/s | +24.6% ✅ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #972 +/- ##
===========================
===========================
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| compatibility. | ||
| </td> | ||
| </tr> | ||
| </tbody> |
There was a problem hiding this comment.
some lines down on line 66 and 110 use internal links (/justfile and (./editorconfig). They'd have worked on GitHub, but on the docs site will they lead to a page that doesn't exist? Should we use the full GitHub links instead, like https://github.com/player-ui/player/blob/main/justfile?
| ## Contributing | ||
|
|
||
| We actively welcome pull requests. Learn how to [contribute](./CONTRIBUTING.md). Be sure to read our [code of conduct](./.github/CODE_OF_CONDUCT.md). | ||
| We actively welcome pull requests. Learn how to [contribute](https://player-ui.github.io/latest/contributing/). Be sure to read our [code of conduct](./.github/CODE_OF_CONDUCT.md). |
There was a problem hiding this comment.
Claude flagged this so I'm unsure of validity:
Does the /latest/ docs site only update when we do a release? This PR is skip-release, so would the new contributing link in the README be broken until the next release? Should we wait to merge, or keep a fallback link for now?
Repeated issue in CONTRIBUTING.md line 5
There was a problem hiding this comment.
That's a good point. The one we link to is actually the next branch so I'll change it to that. next should have all changes... I think.
| @@ -170,6 +170,10 @@ export default defineConfig({ | |||
| label: "Announcements", | |||
| autogenerate: { directory: "announcements" }, | |||
| }, | |||
There was a problem hiding this comment.
Line unrelated,
Claude says that the sidebar may list these in alphabetical order. This would put "How to Contribute" after "Local Android Development"? Could/Should we set an order so the overview shows up first?
|
LGTM |

What
Our docs are all over the place. Move all of them, verbatim (with one-line front matter for Astro), to the docs site to make them easier to find. This PR will not update the docs at all.
Recommended way to review: compare existing different files to new files.
Why
Small improvement to our docs between big projects.
Comparison (view in dark mode)
Mermaid tree view has dark text in dark mode and is illegible. Since our team uses mostly dark mode, I hardcoded these examples to use white text. Please view in dark mode.
Before:
--- config: treeView: showIcons: true themeVariables: treeView: labelColor: "#c9d1d9" lineColor: "#8b949e" descriptionColor: "#7ee787" --- treeView-beta CONTRIBUTING.md ## full how-to-contribute guide newCONTRIBUTORS.md ## first-time fork/PR workflow DEV_GUIDE.md ## TypeScript/plugin guide android/ demo/ README.md ## Android local development guide wiki/ iOS-Development-Guide.md ## external GitHub wiki onlyAfter:
--- config: treeView: showIcons: true themeVariables: treeView: labelColor: "#c9d1d9" lineColor: "#8b949e" descriptionColor: "#7ee787" --- treeView-beta CONTRIBUTING.md ## stub: links to docs site docs/ site/ src/ content/ docs/ contributing/ index.mdx ## How to Contribute new-contributors.md ## First Time Contributors android.mdx ## Local Android Development ios.mdx ## iOS Development Guide (from wiki) typescript.mdx ## TypeScript Development GuideChange Type (required)
Indicate the type of change your pull request is:
patchminormajorN/ADoes your PR have any documentation updates?