158 lines
8.3 KiB
Markdown
158 lines
8.3 KiB
Markdown
# **AI Notes – Changelog**
|
||
|
||
## **Tim Pengembang**
|
||
|
||
* Dendi Yogia Pratama
|
||
* Raihan Ariq Muzakki
|
||
* Fazri Abdurrahman
|
||
|
||
# **Version 1.0.0 – Initial Release**
|
||
## **Sprint 1: Struktur Dasar Aplikasi**
|
||
|
||
* **Implementasi struktur navigasi dasar aplikasi** - Setup navigation system
|
||
* **Pembuatan menu drawer untuk navigasi screen** - Drawer dengan list menu (Beranda, Berbintang, Arsip, Sampah)
|
||
* **Pembuatan screen Arsip dan Sampah** - Layout dan UI untuk Archive & Trash
|
||
* **Implementasi routing antar halaman** - Navigation flow (Beranda, Arsip, Sampah)
|
||
* **Penambahan Bottom Navigation** - Home & AI Helper tabs
|
||
* **Penambahan Top App Bar** - Menu hamburger dan search icon
|
||
* **Setup Material3 dengan Dark Theme** - Color scheme dark mode
|
||
* **Implementasi color scheme & gradient header** - Primary/Secondary colors dengan gradient
|
||
* **Pembuatan data class** - Category, Note, ChatMessage models
|
||
* **Implementasi sistem kategori pada halaman beranda** - Category management system
|
||
* **Pembuatan dialog tambah kategori** - Form dengan nama + gradient picker
|
||
* **Penambahan validasi input form kategori** - Prevent empty category name
|
||
* **Tampilan kategori Staggered Grid** - 2 kolom responsive layout
|
||
* **Category Card design** - Ikon folder, nama, jumlah catatan, gradient background
|
||
* **Empty state kategori** - Pesan "Buat kategori pertama Anda"
|
||
* **Implementasi LazyVerticalStaggeredGrid** - Compose grid layout
|
||
* **Gradient preset 8 warna** - Pre-defined color combinations
|
||
* **Manajemen state kategori** - Remember state untuk categories list
|
||
* **Implementasi pembuatan dan pengeditan catatan** - Note CRUD operations
|
||
* **Dialog catatan** - Form dengan judul, isi, simpan, batal, hapus
|
||
* **Note Card design** - Judul, preview, timestamp, pin icon
|
||
* **Fitur pin untuk catatan penting** - Toggle pin/unpin functionality
|
||
* **Full-screen editable note view** - Editor dengan auto-save
|
||
* **Fitur arsip, hapus, dan pin** - Actions di full-screen mode
|
||
* **Fitur search catatan** - Filter berdasarkan judul + isi
|
||
* **Sorting catatan** - Berdasarkan pin & timestamp (descending)
|
||
* **Implementasi custom TextField** - Styled text input fields
|
||
* **Date formatter utility** - Format timestamp ke readable format
|
||
* **Edit in-place full-screen note** - Direct editing tanpa dialog
|
||
* **Pembuatan screen AI Helper** - Layout untuk chat dengan AI
|
||
* **Header AI dengan ikon bintang** - Badge "Powered by Gemini AI"
|
||
* **Category selector** - Dropdown untuk filter konteks AI
|
||
* **Statistik ringkas** - Total catatan, pinned, jumlah kategori
|
||
* **Welcome state AI** - Icon + greeting message
|
||
* **Suggestion chips** - Quick question templates
|
||
* **Input area multiline** - TextField dengan tombol kirim gradient
|
||
* **Auto-scroll chat** - Scroll ke bottom dengan LaunchedEffect
|
||
* **State management chat messages** - List of ChatMessage
|
||
* **Integrasi Gemini 2.5 Flash API** - Setup API connection
|
||
* **Prompt engineering** - Context dari data catatan user
|
||
* **Chat bubble user & AI** - Different styling untuk user/AI
|
||
* **Copy-to-clipboard** - Copy jawaban AI ke clipboard
|
||
* **Loading indicator** - Circular progress saat AI processing
|
||
* **Error message informatif** - Display error dengan jelas
|
||
* **Timestamp pada setiap pesan** - Format HH:mm
|
||
* **Filter catatan berdasarkan kategori** - Context untuk AI berdasarkan selected category
|
||
* **Pembatasan 10 catatan terbaru** - Optimasi token usage
|
||
* **Implementasi Google AI SDK** - Configuration (temperature, topK, topP, maxOutputTokens)
|
||
* **Context builder** - String builder untuk kategori & catatan
|
||
* **API calls dengan coroutine** - Async operations menggunakan launch
|
||
* **Refinement warna & gradient** - Polish color palette
|
||
* **Smooth animations** - Drawer slide, FAB scale, transitions
|
||
* **Peningkatan shadow dan elevation** - Card depth visual
|
||
* **Konsistensi spacing dan padding** - 8dp, 12dp, 16dp, 20dp standards
|
||
* **Peningkatan desain Card** - Rounded corners (12dp, 16dp, 20dp)
|
||
* **Optimasi readability teks** - Font sizes dan line heights
|
||
* **Visual feedback** - Click ripples, copy confirmation, loading states
|
||
* **Empty state improvements** - Icon + pesan yang lebih jelas
|
||
* **Perbaikan error messages** - Dengan ikon dan warna merah
|
||
* **State hoisting** - Optimasi recomposition
|
||
* **Perbaikan smooth scroll** - Keyboard handling di chat
|
||
* **Implementasi DataStore** - Preferences DataStore untuk persistence
|
||
* **Auto-save dengan debounce** - 500ms delay sebelum save
|
||
* **Persistence data penuh** - Data tetap ada setelah app ditutup
|
||
* **Error handling DataStore** - Try-catch untuk I/O operations
|
||
* **Flow-based data loading** - Collect dari Flow dengan LaunchedEffect
|
||
* **Implementasi DataStoreManager** - Class dengan categoriesFlow & notesFlow
|
||
* **Try-catch semua operasi I/O** - Comprehensive error handling
|
||
* **Optimasi lifecycle data** - Proper state management
|
||
* **Halaman Catatan Berbintang** - StarredNotesScreen dengan filter isPinned
|
||
* **Ikon bintang untuk pesan** - Star icon pada note cards
|
||
* **Konfirmasi Arsip** - AlertDialog "Arsipkan Catatan?"
|
||
* **Konfirmasi Hapus** - AlertDialog "Hapus Catatan?"
|
||
|
||
## **Sprint 2: Project Restructuring, Fitur Search, Delete Kategori**
|
||
|
||
* **Fitur search beranda** - Cari kategori berdasarkan nama
|
||
* **Search filtering real-time** - Kategori otomatis filter saat mengetik
|
||
* **Delete kategori dengan UI** - Tombol X di top-right corner setiap kategori
|
||
* **Confirmation dialog untuk delete** - Prevent accidental deletion dengan warning message
|
||
* **Search di kategori** - Cari catatan berdasarkan judul & isi (case-insensitive)
|
||
* **Search empty state** - Tampilkan pesan "Tidak ada hasil" saat search kosong
|
||
* **Gradle optimization** - Cleanup dependencies yang tidak diperlukan
|
||
* **Hilangkan Fitur Tahan Untuk Hapus**
|
||
* **Project restructuring** - Migrasi dari 3 file monolith ke Clean Architecture
|
||
* **Data layer separation** - Pisahkan Category, Note, ChatMessage ke `data/model/`
|
||
* **DataStore refactoring** - Pindahkan DataStoreManager ke `data/local/` dengan PreferencesKeys
|
||
* **Component extraction** - Pisahkan MainScreen, CategoryCard, NoteCard ke folder terpisah
|
||
* **Utilities creation** - Buat Constants.kt, DateFormatter.kt, Extensions.kt
|
||
* **SerializableModels dengan extension functions** - Konversi model lebih clean
|
||
* **Import optimization** - Update semua import ke package structure baru
|
||
* **Menu dropdown kategori** - Icon titik tiga (⋮) untuk edit & delete
|
||
* **Edit kategori feature** - Dialog untuk ubah nama dan gradient kategori
|
||
* **Pre-filled edit form** - Auto-select gradient yang sedang dipakai
|
||
* **Soft delete implementation** - Pindahkan ke trash (bukan hapus permanen)
|
||
* **Trash system dengan kategori** - Tampilkan kategori & note yang dihapus
|
||
* **TrashCategoryCard component** - Card khusus untuk kategori di trash
|
||
* **Restore kategori feature** - Pulihkan kategori beserta semua note
|
||
* **Delete permanen kategori** - Hapus kategori dan note secara permanent
|
||
* **Counter display di trash** - Jumlah kategori dan note terhapus
|
||
* **Category model extension** - Tambah field `isDeleted` untuk soft delete
|
||
* **Global category filter** - Filter `!isDeleted` di semua screen
|
||
* **Gradient preview di trash** - Kategori tetap tampilkan gradient (opacity)
|
||
* **Dialog konfirmasi delete permanent** - Warning untuk tindakan irreversible
|
||
* **Runtime error debugging** - Fix NotImplementedError & FATAL EXCEPTION
|
||
* **Google Play Services error handling** - Handle GMS error untuk Gemini AI
|
||
* **HorizontalDivider migration** - Ganti deprecated Divider component
|
||
* **Migration guide documentation** - Panduan lengkap step-by-step migrasi
|
||
* **Debugging documentation** - Guide untuk troubleshoot common issues
|
||
|
||
---
|
||
|
||
## **Fitur Utama Aplikasi**
|
||
|
||
* Sistem kategori dengan gradient
|
||
* Buat/edit/hapus kategori dengan confirmation dialog
|
||
* Buat/edit/hapus catatan
|
||
* Pin catatan penting
|
||
* Full-screen editor
|
||
* Search kategori di beranda
|
||
* Search catatan dalam kategori
|
||
* Arsip & Sampah dengan restore/delete permanen
|
||
* AI Chat powered by Gemini
|
||
* AI membaca & menganalisis catatan pengguna
|
||
* Suggestion chips & copy response
|
||
* Filter AI berdasarkan kategori
|
||
* Dark theme modern + gradient
|
||
* Animasi smooth
|
||
* Empty states & error handling
|
||
|
||
---
|
||
|
||
## **Planned Features (v1.1.0)**
|
||
|
||
* Backup & restore data
|
||
* Tags untuk catatan
|
||
* Rich text editor
|
||
* Dark theme toggle
|
||
* Multi-language support
|
||
* AI Agent Catatan
|
||
* Fungsi AI (Summary berdasarkan catatan, Upload File)
|
||
* Markdown Parser
|
||
* Opsi memilih kategori dan catatan
|
||
* Penyesuaian User Interface dan User Experience
|
||
---
|
||
|