[FEAT] Add Edit Button in Coffee Beans Collection
- 主要語言
- TypeScript
- 星號
- 0
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**Is your feature request related to a problem? Please describe.**
Users currently cannot edit existing coffee beans directly from the Coffee Beans Collection view, making updates to bean details less convenient and requiring additional navigation or manual workarounds.
**Describe the solution you'd like**
Add an Edit button for each coffee bean item in the Coffee Beans Collection.
The button should allow users to quickly open the selected coffee bean in edit mode and update its details such as name, origin, notes, or other metadata.
Suggested behavior:
- Display an Edit button/icon alongside Remove bean button
- Clicking the button opens the edit form or modal
- Existing bean information should be pre-filled
- Save action updates the coffee bean immediately in the collection
**Describe alternatives you've considered**
Using inline editing directly inside the collection list
**Additional context**
貢獻指南
研究方向
Look for the Coffee Beans Collection view component, likely in a file like `CoffeeBeansCollection.tsx` or similar. Identify where the 'Remove bean' button is rendered and add an Edit button next to it. The button should trigger an edit form or modal, pre-filled with the existing bean data. Check how bean data is fetched and updated to ensure the save action updates the collection correctly.
由索引模型根據 Issue 內容生成。
評估
- 領域
- frontend
- Issue 類型
- 功能
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 75/100