Skip to content

feat(templates): add channels to the template store - #1770

Merged
viethung0o0 merged 1 commit into
mainfrom
feat/template-channels
Nov 24, 2026
Merged

viethung0o0 merged 1 commit into
mainfrom
feat/template-channels

Conversation

@viethung0o0

Copy link
Copy Markdown
Contributor

Summary

  • Store admins can set the channels a listing works on, like languages: in the Add and Edit listing dialog, with bulk "Set channels", and in a new table column.
  • A listing with no channels works on every channel.
  • The store shows channel tabs to filter templates, and each card shows its channel icons, or "All channels" when it fits every channel.
  • Templates are grouped into sections by category, fullest first, instead of category chips.
  • Cleaner store header: search and language side by side, no subtitle, and no title on the home Templates tab.
  • The public store API returns each template's channels and can filter by channel.
  • New column for listing channels (migration included).

Test plan

  • Unit tests for channel rules, filters, sections, cards and the admin actions
  • Database tests on a real Postgres for saving and filtering channels
  • pnpm lint, type checks for the touched packages
  • Checked in the browser: store page, home Templates tab and admin store, in light and dark, English, Vietnamese and Arabic, desktop and mobile widths
  • Review and apply the migration before deploying

@github-actions github-actions Bot added the feature New feature or request label Nov 24, 2026
@viethung0o0
viethung0o0 marked this pull request as ready for review November 24, 2026 15:57
@viethung0o0
viethung0o0 merged commit 0a4d4f7 into main Nov 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants