Skip to content

Fix extension panel manual add validation#67

Merged
Jamesllllllllll merged 1 commit intomainfrom
codex/extension-manual-add-fix
Apr 1, 2026
Merged

Fix extension panel manual add validation#67
Jamesllllllllll merged 1 commit intomainfrom
codex/extension-manual-add-fix

Conversation

@Jamesllllllllll
Copy link
Copy Markdown
Owner

Summary

Restore the Twitch panel manager manualAdd payload in the extension playlist route schema so moderator and broadcaster adds work again in production.

Related to #46.

What Changed

  • added the missing manualAdd branch back to extensionPlaylistMutationSchema
  • aligned the extension route validation with the payload the panel already sends for manager playlist adds
  • added a regression test that covers the real panel manualAdd payload shape

How To Test

  1. Open the Twitch panel as the broadcaster or a moderator.
  2. Search for a song and click Add from the panel search results.
  3. Confirm the request is added to the playlist instead of failing at /api/extension/playlist.
  4. Run the checks locally:
    • npm run test -- tests/extension-playlist-mutation.test.ts tests/extension-panel.test.ts
    • npm run typecheck:ci
    • npm run check:prepush
    • npm run build:extension:panel

Screenshots Or UI Notes

No visible UI change. This patch restores a broken extension panel mutation path.

Checklist

  • I tested the change locally
  • I updated docs or examples if needed
  • I called out any follow-up work or known limitations

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Preview deployment updated.

App: https://request-bot-pr-67.jameskeezer.workers.dev
Frontend worker: request-bot-pr-67
Backend worker: request-bot-backend-pr-67

@Jamesllllllllll Jamesllllllllll merged commit 9d45f8d into main Apr 1, 2026
3 checks passed
@Jamesllllllllll Jamesllllllllll deleted the codex/extension-manual-add-fix branch April 1, 2026 17:54
Jamesllllllllll added a commit that referenced this pull request Apr 12, 2026
…d-fix

Fix extension panel manual add validation
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