Skip to content

feat(skills): defer asset loading until the section is expanded - #74

Merged
squarezw merged 1 commit into
mainfrom
feat/skill-assets-lazy-load
Sep 22, 2026
Merged

squarezw merged 1 commit into
mainfrom
feat/skill-assets-lazy-load

Conversation

@squarezw

Copy link
Copy Markdown
Owner

Summary

  • Collapse the skill asset files section by default, and expand it only when the user opens it.
  • Skip draft and published asset fetches until the first expansion, so skill detail pages do not load assets on every visit.
  • After the first open, collapsing the section keeps uploads and inputs in place.

Test plan

  • Open a skill detail page and confirm the asset files section is collapsed and no draft/published asset requests fire.
  • Expand the section and confirm the asset list, quota, and upload controls load.
  • Collapse and expand again and confirm staged uploads and inputs are preserved.
  • Confirm export, preview, and delete still work after the section is expanded.

Made with Cursor

Collapse the skill asset files panel by default and skip draft and published asset fetches until the user opens it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@squarezw
squarezw merged commit 0dcfd42 into main Sep 22, 2026
1 check passed
@squarezw
squarezw deleted the feat/skill-assets-lazy-load branch September 22, 2026 03:58
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.

1 participant