diff --git a/.claude/agents/code-reviewer.md b/.claude/agents/code-reviewer.md index 3f3bc59..5f2255b 100644 --- a/.claude/agents/code-reviewer.md +++ b/.claude/agents/code-reviewer.md @@ -4,7 +4,7 @@ description: ตรวจคุณภาพโค้ดของ judes-note — tools: Read, Glob, Grep, Bash --- -You review code quality of Judge's Note — PDF annotation system for e-Court (Next.js 14 App Router + TypeScript strict + React 18 + pdfjs-dist v4 + Drizzle + PostgreSQL + SSE). ตอบเป็นภาษาไทย เว้น technical terms +You review code quality of Jude's Note — PDF annotation system for e-Court (Next.js 14 App Router + TypeScript strict + React 18 + pdfjs-dist v4 + Drizzle + PostgreSQL + SSE). ตอบเป็นภาษาไทย เว้น technical terms ## ขอบเขต (แบ่งงานกับ plan-reviewer) diff --git a/.claude/agents/plan-reviewer.md b/.claude/agents/plan-reviewer.md index 24f0d8c..bd85c32 100644 --- a/.claude/agents/plan-reviewer.md +++ b/.claude/agents/plan-reviewer.md @@ -4,7 +4,7 @@ description: ตรวจสอบโค้ดของ judes-note ให้ต tools: Read, Glob, Grep, Bash --- -You review the Judge's Note codebase — PDF annotation system for e-Court (Next.js 14 App Router + TypeScript strict + pdfjs-dist v4 + Drizzle + PostgreSQL container judes-note-db + SSE realtime). ตอบเป็นภาษาไทย เว้น technical terms +You review the Jude's Note codebase — PDF annotation system for e-Court (Next.js 14 App Router + TypeScript strict + pdfjs-dist v4 + Drizzle + PostgreSQL container judes-note-db + SSE realtime). ตอบเป็นภาษาไทย เว้น technical terms ## ขั้นตอน diff --git a/.claude/agents/ux-reviewer.md b/.claude/agents/ux-reviewer.md index 0b27efb..a70c541 100644 --- a/.claude/agents/ux-reviewer.md +++ b/.claude/agents/ux-reviewer.md @@ -5,7 +5,7 @@ description: ตรวจสอบ UX/UI ของ judes-note ด้วย brows tools: Read, Glob, Grep, Write, Bash, Skill --- -You review the UX/UI of Judge's Note — PDF annotation สำหรับ e-Court (Next.js 14, UI ภาษาไทย, ผู้ใช้หลักคือเจ้าหน้าที่ศาลบน desktop) โดยเปิด browser จริง ถ่าย screenshot แล้ววิจารณ์ด้วยตาจากภาพจริง — ไม่เดาจากโค้ดเฉย ๆ ตอบเป็นภาษาไทย เว้น technical terms +You review the UX/UI of Jude's Note — PDF annotation สำหรับ e-Court (Next.js 14, UI ภาษาไทย, ผู้ใช้หลักคือเจ้าหน้าที่ศาลบน desktop) โดยเปิด browser จริง ถ่าย screenshot แล้ววิจารณ์ด้วยตาจากภาพจริง — ไม่เดาจากโค้ดเฉย ๆ ตอบเป็นภาษาไทย เว้น technical terms ## ขั้นตอน diff --git a/CLAUDE.md b/CLAUDE.md index 762d380..2631421 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,7 +2,7 @@ ## ภาพรวมโปรเจกต์ -**Judge's Note** — ระบบ PDF Annotation สำหรับ e-Court (โปรเจกต์ Next.js แยกต่างหาก ไม่เกี่ยวกับ dms-main ที่เป็น Nuxt) +**Jude's Note** — ระบบ PDF Annotation สำหรับ e-Court (โปรเจกต์ Next.js แยกต่างหาก ไม่เกี่ยวกับ dms-main ที่เป็น Nuxt) - ฟีเจอร์: highlight ข้อความ, วาดเส้น freehand, sticky note comment, bookmark - **อ่านแผนฉบับเต็มก่อนเริ่มงานใด ๆ:** `docs/PLAN.md` (สถาปัตยกรรม, schema, พฤติกรรม feature, ลำดับ implement, edge cases) — ฟีเจอร์ต่อยอด (F1–F19 + N1/N2) อ่านเพิ่ม: `docs/PLAN-FEAT.md` diff --git a/README.md b/README.md index 59864ae..f84a3f1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Judge's Note — PDF Annotation สำหรับ e-Court +# Jude's Note — PDF Annotation สำหรับ e-Court ระบบ annotate ไฟล์ PDF คดีบนเว็บ แบบ **Non-Destructive** — ไฟล์ PDF ต้นฉบับไม่ถูกแก้ไขเด็ดขาด annotation ทั้งหมด (highlight / เส้นวาด / comment / bookmark) เก็บใน PostgreSQL เป็นพิกัด % ของขนาดหน้า แล้วซิงก์ระหว่างทุก browser แบบ realtime ผ่าน **SSE (Server-Sent Events)** diff --git a/app/layout.tsx b/app/layout.tsx index 258866a..69f9f5c 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,7 +3,7 @@ import type { Metadata } from "next"; import "./globals.css"; export const metadata: Metadata = { - title: "Judge's Note", + title: "Jude's Note", description: "ระบบ PDF Annotation สำหรับ e-Court", }; diff --git a/app/page.tsx b/app/page.tsx index b656947..ab7a586 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -19,7 +19,7 @@ export default async function HomePage() {

- Judge's Note + Jude's Note

ระบบ PDF Annotation สำหรับ e-Court diff --git a/components/pdf/PDFViewer.tsx b/components/pdf/PDFViewer.tsx index ff9c9fb..11e6283 100644 --- a/components/pdf/PDFViewer.tsx +++ b/components/pdf/PDFViewer.tsx @@ -2595,7 +2595,7 @@ export default function PDFViewer({ />

- เมื่อวาดเส้นเกือบตรงแล้วปล่อยเมาส์ ระบบจะ Snap ให้เป็นเส้นตรงอัตโนมัติ — และถ้ากด Shift ค้างจะบังคับให้เส้นตรง + ปล่อยแล้วเส้นที่วาดตรง ๆ snap เป็นเส้นตรงอัตโนมัติ — Shift ค้าง = บังคับให้ตรงเสมอ

)} diff --git a/docs/PLAN-FEAT.md b/docs/PLAN-FEAT.md index 6455c07..c843653 100644 --- a/docs/PLAN-FEAT.md +++ b/docs/PLAN-FEAT.md @@ -1,4 +1,4 @@ -# 📋 Implementation Plan — Features ต่อยอด (Judge's Note) +# 📋 Implementation Plan — Features ต่อยอด (Jude's Note) > แผนงาน implement ฟีเจอร์ต่อยอดจากเฟสแรกที่ implement ครบแล้วตาม [`docs/PLAN.md`](./PLAN.md) — ยึดสถาปัตยกรรมเดิมทั้งหมด: พิกัด %, JSONB discriminated union, เขียนผ่าน Server Actions + publish event, SSE sync, Non-Destructive > diff --git a/docs/PLAN.md b/docs/PLAN.md index 696d2c6..8d81633 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md @@ -1,4 +1,4 @@ -# 📋 Implementation Plan — Judge's Note (PDF Annotation System for e-Court) +# 📋 Implementation Plan — Jude's Note (PDF Annotation System for e-Court) > แผนงานก่อนเริ่ม implement โปรเจกต์ Next.js แยกต่างหากจากโปรเจกต์ Nuxt (dms-main)