Skip to content

Staging - #58

Merged
iamutaki merged 9 commits into
mainfrom
staging
Oct 7, 2026
Merged

iamutaki merged 9 commits into
mainfrom
staging

Conversation

@iamutaki

@iamutaki iamutaki commented Oct 7, 2026

Copy link
Copy Markdown
Member

No description provided.

iamutaki and others added 9 commits October 6, 2026 22:49
Co-authored-by: Ibnul Mutaki <36250619+cacing69@users.noreply.github.com>
…WhatsApp console #31 (#51)

- Semua respons wa-admin dibungkus envelope { success, data } (konvensi
  api-base-stack) - console baca res.data.data.*, tanpa ini halaman
  System > WhatsApp mati total (template kosong, quota tak tersimpan).
- POST /admin/wa/templates: buat template event baru dari UI tanpa
  migrasi seed; event_key unik (409), params divalidasi.
- truncateAll test: tambah tabel WA supaya e2e isolated.
- e2e baru: 8 test (envelope semua endpoint, create, 409 duplikat,
  400 placeholder tak dikenal, gate 401).

Closes console#31

Co-authored-by: Ibnul Mutaki <36250619+cacing69@users.noreply.github.com>
* feat(activity): wire kind 'verification' untuk word_verified #99

- KIND_TO_WIRE: word_verified tidak lagi menumpuk 'vote' (utang wire
  lama, komentar 'dikoreksi di bawah' hanya berlaku filter profil).
- ActivityKind + 'verification' - client bisa bedakan verifikasi
  reviewer vs vote up/down.
- e2e: seed word_verified + assert wire kind 'verification' + body
  'Memverifikasi kata'.

Refs mobile#99

* feat(activity): wire vote_up/vote_down - arah vote terpisah di feed #99

- ActivityKind + vote_up/vote_down. Split terjadi di wire: kinds DB
  tetap vote_word/vote_comment (kontrak AGENTS.md #25), arah dari copy
  beku #94 ('perlu dicek ulang' = down), fallback bodyFor selaras.
- e2e: seed vote up+down, assert kind wire terpisah.
- Legacy kind 'vote' tidak lagi muncul di feed home.

Refs mobile#99

---------

Co-authored-by: Ibnul Mutaki <36250619+cacing69@users.noreply.github.com>
)

* test(activity): RED - budget query per halaman #103

Feed home 25 baris = 51 query, profil merge = 25. Target <= 3 / <= 4.

* perf(activity): JOIN actor/word/miss/votes di selectVisible - buang N+1 buildItem #103

Feed home 25 baris: 51 query -> 1. e2e kontrak feed lama identik.

* perf(user): mode merge profil 4 query -> 1 query 'merged' + limits subrequests #103

- use-case: Promise.all 4 kategori -> listPublicByActor('merged') tunggal
- unit test: 4 calls -> 1 call 'merged', sort pindah ke SQL ORDER BY
- wrangler: [limits] subrequests = 1000 (top + env.staging) jaring pengaman
- gate: tsc 0, 1120 passed (180 file)

---------

Co-authored-by: Ibnul Mutaki <36250619+cacing69@users.noreply.github.com>
…ord_count #50 (#54)

* feat(category): usulan kategori termoderasi + filter ?category= dan word_count #50

* docs(cursor): rules JOIN anti-N+1 + wajib commit-push sebelum pekerjaan baru

---------

Co-authored-by: Ibnul Mutaki <36250619+cacing69@users.noreply.github.com>
…mits (error 100328) (#55)

Co-authored-by: Ibnul Mutaki <36250619+cacing69@users.noreply.github.com>
…#56 (#57)

* test(activity): RED - feed home duplikat usulan+verifikasi utk 1 kata #56

* feat(activity): konsolidasi feed verifikasi - superseded_at + copy 'Memverifikasi usulan B: kata' #56

---------

Co-authored-by: Ibnul Mutaki <36250619+cacing69@users.noreply.github.com>
@iamutaki
iamutaki merged commit a89094c into main Oct 7, 2026
5 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