Skip to content

chore(organise): tighten capabilities param type and tidy button label#50

Merged
viralcodex merged 1 commit into
mainfrom
organise-cleanup
Jul 7, 2026
Merged

chore(organise): tighten capabilities param type and tidy button label#50
viralcodex merged 1 commit into
mainfrom
organise-cleanup

Conversation

@viralcodex

@viralcodex viralcodex commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Types the renderer capabilities handler param as `RendererCapabilities` directly instead of casting from `unknown` — matches the actual event payload signature.
  • Renames the "+ Add Page(s)" buttons to "+ Add Pages" (two occurrences) for a cleaner label.

Test plan

  • `bun run typecheck`
  • `bun test` (107/107 pass)
  • Manual: open the organise tool, confirm the two Add Pages buttons render with the new label.

Types the renderer capabilities handler param as RendererCapabilities
directly instead of casting from unknown, matching the actual event
payload.

Also renames the "+ Add Page(s)" buttons to "+ Add Pages" for a
cleaner label.
@viralcodex viralcodex merged commit a48e0a7 into main Jul 7, 2026
1 check passed
@viralcodex viralcodex deleted the organise-cleanup branch July 7, 2026 18:11
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