Skip to content

feat(templates): add tools to template contents - #1755

Merged
viethung0o0 merged 1 commit into
mainfrom
feat/template-tools
Nov 20, 2026
Merged

viethung0o0 merged 1 commit into
mainfrom
feat/template-tools

Conversation

@viethung0o0

Copy link
Copy Markdown
Contributor

Summary

  • Templates can now include 13 more tools: magic links, polls, dynamic images, place locations, Mini Apps, minigames, leaderboards, opening hours, vendors, discount codes, store settings, Instagram story automations and inbound webhooks.
  • Only the configuration is copied. History, counters, tokens, credentials and payment setup stay behind.
  • Anything that can send messages or accept outside data installs switched off: discount codes, inbound webhooks and story automations are off, leaderboards start as drafts.
  • Links between tools (for example a magic link that opens a minigame) point at the installer's copies.
  • When either workspace sells from Shopify or WooCommerce, the store tools are left out with a warning.
  • Mini Apps published to WhatsApp and discount codes for specific customers are not offered.
  • View-only copies lock their content in every list and editor; switches, inbox choice and cache fields stay usable.
  • Uninstall removes the copies and their history, and keeps store settings and anything still in use.
  • Dynamic image rendering now refuses private network addresses, with a timeout and a size limit.
  • One migration adds the new template categories.

Test plan

  • Unit tests for every new tool, the install, update and uninstall paths, and the editor locks
  • Database tests for install, update, uninstall, concurrent installs and the store rule
  • Public API end-to-end run with a second account: share, install, locks, read-only token, auto-update, uninstall
  • Checked in the browser with a second account: picking tools, install, warnings, View-only copies, update, uninstall
  • pnpm lint, type checks for the touched packages
  • Review and apply the migration before deploying

@github-actions github-actions Bot added the feature New feature or request label Nov 20, 2026
@viethung0o0
viethung0o0 marked this pull request as ready for review November 20, 2026 09:02
@viethung0o0
viethung0o0 merged commit 9613cbd into main Nov 20, 2026
15 checks passed
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
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