Yizuki_Ame e8eba95bd7
feat: add course rename (partial #34) (#58)
* feat: add course rename (closes #34 partially)

- Add `renameStage()` to stage-storage.ts for lightweight IndexedDB update
- Add inline rename UI to ClassroomCard: double-click name or click pencil
  icon on hover to edit, Enter/blur to save, Escape to cancel
- Add i18n keys for rename (zh-CN + en-US)

* feat: add inline rename UI to ClassroomCard in page.tsx

* style: format course rename handler

* fix: improve rename button hover visibility (bg-white/30  bg-black/50)

* fix: address review feedback on course rename

- Move Tooltip to only wrap non-editing <p>, preventing tooltip overlay on input
- Replace hardcoded English toast with i18n key (classroom.renameFailed)
- Replace setTimeout focus with useEffect for reliable input autofocus
- Add blur double-fire guard in commitRename
2026-03-31 21:32:55 +08:00
..