35 Commits (76fda6d1c428cca15c85cfac9dc1ccb4c9fc0a21)
 

Author SHA1 Message Date
Deardo Satria 76fda6d1c4 Add Indonesian zod messages to pelanggan and tidy rak imports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 hours ago
Deardo Satria 3002e55bc4 Add master group product and sub group product features
Deleting a group or sub group still used by barang (or a group still
used by sub groups) is refused, because PHP queries inner join on these
codes and would silently hide the orphaned barang. Editing a sub group
only changes its name, matching ajaxdlmpdk.php; changing the code pair
would orphan barang the same way.

Group codes are generated automatically, unlike the old PHP form where
they were typed manually.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 hours ago
Deardo Satria 22d51475a7 Change form input label 5 hours ago
Deardo Satria 5abf8a7e0c Unify master sheet form and move shared master components
- Move cari-master, master-sheet-form, and hapus-master-button into
  app/(dashboard)/master/_components since only master pages use them
- Merge MasterSheetForm and MasterMultiFieldSheetForm into one form that
  accepts multiple fields; forms needing select/textarea stay custom
- Drop the initial prop and hardcode { ok: false } as the action state seed
- Blur number inputs on wheel to prevent accidental value changes
- Update CLAUDE.md to describe the new layout and rules
22 hours ago
Deardo Satria 5c89d5714f Add master rak feature 24 hours ago
Deardo Satria 770ecbd204 Clarify mandatory checks in cleo-code-review skill
Mark steps 1-6 as ordered with mandatory mechanical checks (reference
check before delete, session chain, zod messages, import order), add the
CRLF caveat for prettier on Windows, and spell out the report format
with a concrete example.
1 day ago
Deardo Satria bc7619210c Add master satuan barang feature
CRUD page for satuan barang following the pelanggan feature pattern:
page, actions, form sheet, delete dialog, and a data layer with LIKE
search and pagination. Delete rejects units still referenced by barang.
1 day ago
Deardo Satria 6f1234aa49 Extract shared pagination, search box, and escapeLike helpers
Pull PER_PAGE, parsePage, and halamanHref into lib/pagination, the search
box into components/cari-master, and escapeLike into lib/utils so other
master features can reuse them. Pelanggan switches to these helpers and
its list now calls getCurrentUser() in its render chain.
1 day ago
Deardo Satria 930bfd2205 Add structure checks to cleo-code-review skill
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 days ago
Deardo Satria eae4857c9d Add pagination to pelanggan list 2 days ago
Deardo Satria cb9b4b8730 Remove unused import 2 days ago
Deardo Satria a59eb3aef5 UI login page revamp 2 days ago
Deardo Satria 3ffc94054b Add theme switch 2 days ago
Deardo Satria 1ab0c2e321 Fix sidebar bug 2 days ago
Deardo Satria 54dfbd2691 Penyesuaian cleo-code-review skill 2 days ago
Deardo Satria 5cd49bb24b Add cleo-code-review skill for project code reviews 2 days ago
Deardo Satria e1c6104004 Fix customer form state, delete dialog, and action conventions 2 days ago
Deardo Satria 3bc5ce6d70 Move logged-in redirect from proxy to login page 2 days ago
Deardo Satria 9d44f392d2 Add Prettier with format scripts 2 days ago
Deardo Satria 8e5127c617 Ignore local backup folder 2 days ago
Deardo Satria a99d371b39 Redirect logged-in users from login page to home 2 days ago
Deardo Satria 21d09f72b0 Name the MariaDB data volume so backup restore is reused 2 days ago
Deardo Satria b0bf1d5bf7 Add customer master page with list, add, edit, delete, and search 2 days ago
Deardo Satria 6abd3051c5 UI: add sidebar 2 weeks ago
Deardo Satria 21bce758cb Add local MariaDB copy and Drizzle connection for the legacy cleo database
- docker-compose: mariadb:10.4 service on port 3307 (utf8mb4), seeded from a
  mysqldump of the office server so development never writes to production
- drizzle-amigo.config.ts + `pnpm db:amigo:pull` (introspection only)
- scripts/fix-amigo-schema.ts repairs drizzle-kit's MariaDB output: quoted
  defaults, dropped primary keys, missing column-builder imports
- db/amigo: pulled schema and `amigoDb` connection
- README: step-by-step local MariaDB setup (dump, import, cleo_next grants)
- CLAUDE.md: MyISAM, concurrent PHP writes, zero dates, other apps' tables

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 weeks ago
Deardo Satria a44fb24136 Move login and logout actions into app/(auth)/actions.ts 2 weeks ago
Deardo Satria bcfdc5c27a Add proxy.ts 2 weeks ago
Deardo Satria 119c55bf67 Add login page, logout, and dashboard home 2 weeks ago
Deardo Satria 248b22dcba Add docker compose Postgres, admin seed script, and setup guide
- docker-compose.yml runs Postgres 17 and reuses the existing cleo-pgdata volume.
- scripts/seed.ts creates the first admin through Better Auth's internal adapter,
  so it works while public sign-up is disabled; skips if the admin exists.
- .env.example documents every variable; README has the new-laptop setup steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 weeks ago
Deardo Satria 6e512a14fc Add login server action, getCurrentUser, and progress notes 2 weeks ago
Deardo Satria 31c211f6ab Add shadcn/ui with base-nova preset 2 weeks ago
Deardo Satria 2f32ec4590 Add Better Auth with username login on Postgres 2 weeks ago
Deardo Satria 2ff639a1ed Add legacy PHP source as reference 2 weeks ago
Deardo Satria 413bb36178 initiate db (locally) 2 weeks ago
Deardo Satria 44bce1b20a Initial commit from Create Next App 2 weeks ago