Skip to content

Feature/schema refactor#22

Merged
miicolas merged 5 commits into
devfrom
feature/schema-refactor
Jun 8, 2026
Merged

Feature/schema refactor#22
miicolas merged 5 commits into
devfrom
feature/schema-refactor

Conversation

@miicolas

@miicolas miicolas commented Jun 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

miicolas and others added 5 commits June 8, 2026 20:23
Break the monolithic schema/domain.ts into per-domain folders, each with
its own schema.ts, relations.ts and types.ts (media, profiles, reviews,
library, rating-stats, events, providers). Relations move next to the
tables they describe and are re-exported through the schema barrel, so
client.ts no longer needs a separate relations import.

Also adds the previously missing relations (likes, interaction/
recommendation events, user platforms) and inferred row types per domain.
Pure reorganization: drizzle-kit reports no schema changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collapse ad-funded tiers and reseller "channels" (e.g. "Netflix Standard
with Ads", "Max Amazon Channel") onto a single canonical row, preferring
the clean base entry, drop providers with no logo, and cap the list to 30
so the picker stays scannable.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the SwiftUI Form/Toggle picker with a themed RN list of ProviderRow
items (logo, name, trailing checkmark), and register the platforms screen
in the profile stack so it has a proper native header.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Extract the "pick your platforms" nudge out of the discover container into
a compact GlassPanel card (PlatformsPrompt) that sits inline between the
shelves instead of reading as a full-screen empty state.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@miicolas miicolas merged commit bfb62ef into dev Jun 8, 2026
2 checks passed
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