Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @pokpong-dev
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,31 @@

#### `com.pomodoro.model.Category.java`
* ตอนนี้มีแค่ field พื้นฐาน (`id`, `name`, `colorCode`)

* ถ้า Database มีตาราง `categories` แยกต่างหากก็ต้องมาเพิ่ม Logic ตรงนี้ด้วย

---

### 1. **Branch หลัก **
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an extra trailing space after "Branch หลัก" which should be removed for consistency.

Suggested change
### 1. **Branch หลัก **
### 1. **Branch หลัก**

Copilot uses AI. Check for mistakes.
* `main`: **ห้ามใครแก้ตรงๆ** ต้อง Merge เข้ามาเท่านั้น

### 2. **Branch ของแต่ละคน (Feature Branches)**
ให้ทุกคนแตก Branch จาก `main` ไปทำงานของตัวเอง:

* **คนที่ 1 (Database)**: สร้าง branch ชื่อ `feature/database`
* ทำงานเกี่ยวกับ SQL
* **คนที่ 2 (PDF)**: สร้าง branch ชื่อ `feature/pdf-export`
* ทำงานเกี่ยวกับ PDF
* **คนที่ 3 (Repeating)**: สร้าง branch ชื่อ `feature/repeating-task`
* สร้างไฟล์ RepeatingTask.java
* **คนที่ 4 (Deadline)**: สร้าง branch ชื่อ `feature/deadline-task`
* สร้างไฟล์ DeadlineTask.java, Timer Logic บลาๆ

### 3. **วิธีทำงาน**
1. **Clone** โปรเจกต์ลงเครื่อง ใช้ git หรือกดโหลดเอาก็ได้
2. **Checkout** ไปที่ Branch ตัวเอง: `git checkout -b feature/ชื่อฟีเจอร์`
3. **เขียนโค้ด** จนเสร็จ
4. **Commit & Push** ขึ้น GitHub
5. **Pull Request (PR)** กลับมาที่ `main` ช่วยกันหา error