[docs] Expand Kanvas performance documentation with user-facing guidance#877
Conversation
✅ Deploy Preview for bejewelled-pegasus-b0ce81 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
… and optimizations Co-authored-by: hortison <160366376+hortison@users.noreply.github.com>
Co-authored-by: hortison <160366376+hortison@users.noreply.github.com>
leecalcote
left a comment
There was a problem hiding this comment.
@copilot re-work this writing to be user-facing. Help the user understand performance limits, what affects performance, how they can control performance via functionality tradeoff and so on.
Co-authored-by: leecalcote <7570704+leecalcote@users.noreply.github.com>
Rewritten the documentation to be user-facing. Removed all technical implementation details (plugin names, PR references, internal metrics like "memoization TTL" and "viewport culling") and replaced them with practical, actionable guidance focused on what users experience and can control. Key changes:
Commit: b793e43 |
Co-authored-by: leecalcote <7570704+leecalcote@users.noreply.github.com>
Resolve conflicts in content/en/kanvas/advanced/performance/index.md, package.json, and package-lock.json. For performance/index.md: drop the duplicated "Special URL Options for Performance" section (already covered comprehensively in the new render-modes page added in #949) in favor of a concise cross-reference block pointing to Render Modes, Auto-pan on Drag, and Design Render Quality. Add a "Related performance controls" callout near the top of "What Affects Performance" and cross-link to Auto-pan on Drag from the grouped-components drag guidance so readers can find the per-mode thresholds without duplicating them here. For package.json: take the newest of each dependency (autoprefixer ^10.4.23, hugo-extended 0.158.0, postcss ^8.5.6, postcss-cli ^11.0.1) and regenerate package-lock.json. Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
|
Notes for Reviewers
This PR expands user-facing Kanvas performance documentation. It has been merged with
masterto incorporate PR #949 (Auto-pan on Drag + Render Modes), and the conflicting performance content has been qualitatively restructured to avoid duplication.What changed in the merge resolution
PR #949 (merged into master) introduced two detailed new pages:
content/en/kanvas/advanced/render-modes/index.md— Full / Medium / Wireframe / View-Only, feature-size gates, Adaptive Render Mode.content/en/kanvas/advanced/autopan/index.md— drag-to-edge viewport pan and its per-render-mode thresholds.This branch's original expansion of
performance/index.mdincluded a "Special URL Options for Performance" section that describedrender=fullin depth — that content now lives in the render-modes page and the existingurl-parameters/page covers the URL surface. To honor the "no duplication without cross-reference" rule, the merge:Unique, user-facing content added by this branch is preserved:
Also in this merge
package.json— resolved to newest of each:autoprefixer ^10.4.23,hugo-extended 0.158.0,postcss ^8.5.6,postcss-cli ^11.0.1.package-lock.json— regenerated from the resolvedpackage.json.Description
Added user-centric performance guidance to
content/en/kanvas/advanced/performance/index.md:User-Facing Performance Guidance
Testing & Optimization
All sections use conversational language, practical examples, and actionable advice.
Test plan
hugo serverrendersperformance/,render-modes/, andautopan/without errors.performance/torender-modes/,autopan/, andurl-parameters/resolve.performance/duplicates content inrender-modes/orautopan/without a cross-reference.Signed commits