Skip to content

docs: speed up theme pages#2583

Open
git-nandor wants to merge 4 commits into
INSTUI-5031_better_multiversion_support_for_docs_v2from
speed_up_theme_pages
Open

docs: speed up theme pages#2583
git-nandor wants to merge 4 commits into
INSTUI-5031_better_multiversion_support_for_docs_v2from
speed_up_theme_pages

Conversation

@git-nandor

@git-nandor git-nandor commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

INSTUI-5059

Summary

Speeds up theme page navigation by caching parseColor results in ColorCard and replacing TruncateText in ColorName with native CSS truncation, eliminating per-card binary-search reflow loops.

Test plan

Compare the loading performance of an older theme page, for example:

https://instructure.design/pr-preview/pr-2568/canvas

with the updated version:

https://instructure.design/pr-preview/pr-2583/canvas

Open the browser DevTools and use the Performance tab to record and compare page loads. The improvement should be visible in the performance metrics and timeline.

Co-Authored-By: 🤖 Claude

@git-nandor git-nandor self-assigned this Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2583/

Built to branch gh-pages at 2026-06-12 08:41 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

github-actions Bot pushed a commit that referenced this pull request Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Visual regression report

No changes.

Status Count
Unchanged 32
Changed 0
New 0
Removed 0

📊 View full report

Baselines come from the visual-baselines branch. They refresh on every merge to master.

@git-nandor git-nandor changed the title Speed up theme pages (docs): speed up theme pages Jun 9, 2026
@git-nandor git-nandor changed the title (docs): speed up theme pages docs: speed up theme pages Jun 9, 2026
@git-nandor git-nandor requested review from ToMESSKa and joyenjoyer June 9, 2026 08:24
@git-nandor git-nandor marked this pull request as ready for review June 9, 2026 08:24
@git-nandor git-nandor force-pushed the INSTUI-5031_better_multiversion_support_for_docs_v2 branch 2 times, most recently from eb79668 to fdbbe53 Compare June 11, 2026 15:21
@git-nandor git-nandor force-pushed the speed_up_theme_pages branch from 769dd96 to edb4b75 Compare June 11, 2026 18:19
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.

3 participants