Skip to content

Commit fb18eb2

Browse files
refine extension panel beta controls and tester access
1 parent a7a038e commit fb18eb2

File tree

10 files changed

+1660
-510
lines changed

10 files changed

+1660
-510
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ It runs on TanStack Start, Cloudflare Workers, D1, Durable Objects, Queues, KV,
2222
- Home page cards for live channels, plus a demo mode that shows Rocksmith-tagged Twitch streams with `Watch on Twitch` and `Open playlist` actions
2323
- Song search with direct viewer request actions, copyable chat commands, catalog metadata, caching, and D1-backed rate limiting
2424
- Public channel pages with playlist, played history, signed-in viewer request controls, VIP token balance, and request timestamps
25-
- Twitch panel extension with read-only playlist viewing, viewer request actions, and owner/moderator playlist controls
25+
- Twitch panel extension with playlist viewing, viewer request actions, and owner/moderator controls for play-now, shuffle, reorder, delete, and request-type changes
2626
- Dashboard pages for account access, owner settings, admin controls, and playlist management
2727
- Channel rules with setlists plus distinct artist, charter, song, and version blacklists
2828
- OBS-ready stream overlay settings with live preview, chroma-key background controls, and album/creator display toggles

docs/twitch-panel-extension-beta-rollout-checklist.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,12 @@ Verify these paths on the Hosted Test build:
132132
- add VIP request works when a VIP token is available
133133
- edit current request works
134134
- remove current request works
135-
- channel owner:
136-
- playlist moderation controls appear
137-
- set current, mark played, delete item, and request-kind changes work
135+
- channel owner:
136+
- playlist moderation controls appear
137+
- set current, mark played, shuffle, reorder, delete item, and request-kind changes work
138138
- channel moderator:
139139
- playlist moderation controls follow the channel's moderator capability settings
140+
- queue shuffle and manual reorder work when request-management access is enabled
140141

141142
If an extension request fails in production, check the frontend Worker logs. Slow and failed panel `bootstrap` and `state` requests log a trace id, elapsed time, and stage timings for channel lookup, viewer resolution, viewer request state, and live playlist state.
142143

src/components/ui/collapsible.tsx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import { Collapsible as CollapsiblePrimitive } from "radix-ui";
2+
3+
function Collapsible({
4+
...props
5+
}: React.ComponentProps<typeof CollapsiblePrimitive.Root>) {
6+
return <CollapsiblePrimitive.Root data-slot="collapsible" {...props} />;
7+
}
8+
9+
function CollapsibleTrigger({
10+
...props
11+
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>) {
12+
return (
13+
<CollapsiblePrimitive.CollapsibleTrigger
14+
data-slot="collapsible-trigger"
15+
{...props}
16+
/>
17+
);
18+
}
19+
20+
function CollapsibleContent({
21+
...props
22+
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>) {
23+
return (
24+
<CollapsiblePrimitive.CollapsibleContent
25+
data-slot="collapsible-content"
26+
{...props}
27+
/>
28+
);
29+
}
30+
31+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };

0 commit comments

Comments
 (0)