mirror of
https://github.com/apotdevin/thunderhub.git
synced 2026-08-13 12:33:08 +02:00
* feat(db): add channel_notes table with Drizzle schema and migrations Adds a new `channel_notes` table (SQLite + PG) with composite PK (account_id, channel_id) to persist per-channel notes scoped to each ThunderHub account. Includes migration files for both database backends. * feat(api): add ChannelNotesService with getChannelNotes query and setChannelNote mutation Introduces ChannelNotesService (Drizzle-backed, account-scoped) with getNotes/upsertNote methods. Exposes two new GraphQL endpoints on ChannelsResolver: getChannelNotes (query) and setChannelNote (mutation). * feat(client): add inline channel notes to channels table and details panel - Adds NoteCell component to ChannelTable with click-to-edit inline input (Enter/✓ to save, Escape to cancel) - Fetches all notes on load via getChannelNotes query; updates optimistically - Adds note textarea + Save button in ChannelDetails modal below fee editor - Notes are persisted server-side and survive page refreshes * chore: table changes * chore: schema cleanup * chore: cleanup table * chore: more cleanup * chore: db ondelete --------- Co-authored-by: Anthony Potdevin <potdevin.anthony@gmail.com>
34 lines
No EOL
650 B
JSON
34 lines
No EOL
650 B
JSON
{
|
|
"version": "7",
|
|
"dialect": "sqlite",
|
|
"entries": [
|
|
{
|
|
"idx": 0,
|
|
"version": "6",
|
|
"when": 1775074036636,
|
|
"tag": "0000_premium_pixie",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 1,
|
|
"version": "6",
|
|
"when": 1775160646270,
|
|
"tag": "0001_fixed_nightshade",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 2,
|
|
"version": "6",
|
|
"when": 1776104481313,
|
|
"tag": "0002_add_encrypted_amboss_jwt",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 3,
|
|
"version": "6",
|
|
"when": 1777519591063,
|
|
"tag": "0003_orange_captain_universe",
|
|
"breakpoints": true
|
|
}
|
|
]
|
|
} |