- Add Alpine.js x-data scope to each member row with noteFormOpen, noteContent, isSubmitting, errors, noteCount - Add submitNote() async method calling axios.post to admin.members.notes.store route - Add note count badge with reactive x-text binding to noteCount (initialized from withCount) - Add toggle button to expand/collapse inline note form - Add inline form with textarea, cancel button, and submit button - Submit button disabled when isSubmitting or noteContent is empty - Loading state toggles between 儲存 and 儲存中... - Validation errors display in Traditional Chinese via x-show and x-text - Cancel button clears content, closes form, and resets errors - Add 備忘錄 column header between 狀態 and 操作 - Update empty state colspan from 7 to 8 - Add x-cloak CSS to prevent flash of unstyled content - All elements include dark mode classes (dark:*)
26 KiB
26 KiB