Commit Graph
323 Commits
Author SHA1 Message Date
rogee e8d1876478 Fix sidebar missing Bots/Campaigns: add all feature flags to seed data
The seed data only enabled 16 of 37 feature flags used by the frontend.
Two missing flags caused sidebar navigation bugs found during QA:

- agent_bots: the '机器人' settings link was hidden (isAllowed=false)
- campaigns: the '活动' (Campaigns) parent had no accessible children,
  so clicking it did nothing instead of expanding to show sub-items

Add all 37 feature flags from FEATURE_FLAGS to the smoke seed data so
every sidebar menu item is visible and navigable.

Also includes QA test report for the full-page CDP testing session.
2026-07-08 15:11:11 +08:00
rogee a1ae852eb2 Fix widget i18n missing locale files and clean up unused locales
- widget/i18n/index.js: only import en.json and zh_CN.json (the only
  locale files present); remove 40+ imports for missing locale JSONs
  that caused Vite compile failure and global white screen
- dashboard/i18n/index.js: remove unused locale imports for consistency
- Remove 62 unused locale JSON files from widget/i18n/locale/
- Minor: update index.html, test helpers, e2e test, languages spec
2026-07-08 09:57:00 +08:00
rogee aeddedf2a3 Reorganize repo: backend/, deploy/, docs/ layout + AGENTS.md
Restructure the monorepo into clear top-level directories:
- backend/: Go module root (cmd, internal, pkg, configs, migrations,
  docs/swagger, scripts, tests, go.mod, Makefile, .air.toml)
- deploy/: Docker (Dockerfile, docker-compose*), quickstart, fluentd
- docs/: project documentation + reports/ (moved from repo root)
- AGENTS.md: new AI coding-agent guide at repo root

Update all references to the new layout:
- Dockerfile: COPY backend/go.mod, COPY backend/ (context = repo root)
- docker-compose files: context ../.., dockerfile deploy/docker/Dockerfile,
  env_file ../../.env, volume mounts ../../backend:/app
- deploy/quickstart/compose.yaml: dockerfile deploy/docker/Dockerfile
- CI: working-directory: backend for go commands, file deploy/docker/Dockerfile,
  coverage path backend/coverage.out, health_check backend/scripts/
- backend/Makefile: docker target uses -f ../deploy/docker/Dockerfile ../
- README: architecture tree, quickstart, config paths updated

Move root stray scripts (rename_models.*, run_m11_tests.sh, verify_build.sh,
gorm_bool_main.go) to backend/scripts/legacy/. All moves via git mv to
preserve history. Build, vet, SQLite tests, and docker compose config verified.
2026-07-07 14:44:12 +08:00
rogee d884fdda0a Align GoChat with Chatwoot frontend contracts 2026-06-13 22:13:32 +08:00
rogee 71abf58636 docs: update Chatwoot parity alignment review 2026-06-11 09:57:09 +08:00
rogee 2bb54b21a5 1:1 2026-06-10 07:24:13 +08:00
rogee ac7f351308 update 2026-06-09 18:03:16 +08:00
rogee f45fbfd5f0 feat(captain): secure custom tool auth config 2026-06-07 16:32:13 +08:00
rogee 8f9adecd04 feat(captain): validate custom tools 2026-06-07 16:20:39 +08:00
rogee dd7bcf4118 feat(captain): align custom tool limits 2026-06-07 16:06:19 +08:00
rogee 0d8de3be0b feat(captain): gate custom tools 2026-06-07 15:50:23 +08:00
rogee 0aff792b40 feat(search): index csat surveys 2026-06-07 15:36:51 +08:00
rogee 8eabadc3fc feat(search): index provider webhooks 2026-06-07 15:23:29 +08:00
rogee 28e7205410 feat(search): index message delivery 2026-06-07 15:11:42 +08:00
rogee 730481c99d feat(search): index automation actions 2026-06-07 15:01:49 +08:00
rogee 140b17ed72 feat(search): index conversation maintenance 2026-06-07 14:40:13 +08:00
rogee 4ba1e6e847 feat(search): index conversation bulk actions 2026-06-07 14:29:39 +08:00
rogee af624f7728 feat(search): index contact labels 2026-06-07 14:19:38 +08:00
rogee 74249d5bf5 feat(crm): queue contact bulk actions 2026-06-07 14:03:48 +08:00
rogee 64f36ad642 feat(enterprise): align account limits API 2026-06-07 13:46:17 +08:00
rogee c28eb010c6 fix(webhooks): replace parity stubs 2026-06-07 13:18:25 +08:00
rogee 7ea4bf9362 fix(routes): align whatsapp call ids 2026-06-07 13:04:27 +08:00
rogee 5062acec61 fix(routes): align dashboard app ids 2026-06-07 12:39:23 +08:00
rogee 27f927327d feat(conversations): align destroy job 2026-06-07 12:26:48 +08:00
rogee bec65a86e4 feat(conversations): align transcript delivery 2026-06-07 12:08:53 +08:00
rogee 83878eb606 feat(conversations): align typing events 2026-06-07 11:43:59 +08:00
rogee 5ae2d7fec9 feat(conversations): align last seen reads 2026-06-07 11:33:08 +08:00
rogee 6b6289f896 feat(conversations): align mute semantics 2026-06-07 11:20:12 +08:00
rogee 148201905a feat(conversations): align toggle priority fallback 2026-06-07 11:04:40 +08:00
rogee e6c9660659 feat(conversations): align toggle status fallback 2026-06-07 10:56:29 +08:00
rogee f7515b111d feat(automation): align attachment uploads 2026-06-07 10:44:45 +08:00
rogee f46bce7528 docs: land parity tracking handoff 2026-06-07 10:27:56 +08:00
rogee 168f12070e feat(macros): align attachment uploads 2026-06-07 10:22:36 +08:00
rogee 023ab10b31 fix(search): align search filters 2026-06-07 10:01:02 +08:00
rogee 3c437dd94c fix(search): align search page size 2026-06-07 09:46:59 +08:00
rogee ff2e5114a5 fix(search): scope global result types 2026-06-07 09:39:03 +08:00
rogee 9027551768 feat(search): align article result payloads 2026-06-07 09:28:00 +08:00
rogee 626a1f7a29 feat(search): align message result payloads 2026-06-07 09:13:03 +08:00
rogee e99330a06f docs: reconcile parity tracker 2026-06-07 08:56:13 +08:00
rogee 0b4706694d feat(search): align conversation result payloads 2026-06-07 08:50:26 +08:00
rogee 980e926eb2 feat(search): align agent sender filters 2026-06-07 08:31:51 +08:00
rogee 7b8bca6034 feat(search): align conversation search order 2026-06-07 08:21:17 +08:00
rogee 0affcf53a3 feat(search): reindex contact conversations 2026-06-07 08:12:48 +08:00
rogee 450c8673d8 feat(search): align conversation identity search 2026-06-07 08:05:12 +08:00
rogee 9a7e455e1c feat(search): align time filters 2026-06-07 07:49:07 +08:00
rogee 7fb1cdab22 feat(search): gate advanced filters 2026-06-07 07:34:20 +08:00
rogee 112ae43955 feat(search): scope message recency 2026-06-07 07:22:42 +08:00
rogee 4bde740c80 feat(search): scope inbox search access 2026-06-07 07:13:25 +08:00
rogee bd20e6d80f feat(conversations): align filter query message types 2026-06-07 06:53:41 +08:00
rogee 5efe61f801 feat(automation): align message filters 2026-06-07 06:45:22 +08:00