Repository navigation
feat: 記一筆拍照按鈕、記住上次分類、桌面版自動聚焦(階段 1 小修) - #73
Merged
Merged
Conversation
- 記一筆與明細頁照片區拆成「拍照」(capture=environment)與「選照片」(可複選) - 存檔成功後記住該類型(收入/支出)的分類,下次開啟預選;分類不存在則忽略 - 桌面版開啟即聚焦金額欄(手機版用自製鍵盤,不聚焦以免跳系統鍵盤) - dashboard.js 殘留色碼改用 --cat-other - backend/photo_storage/ 加進 .gitignore - 前端升版 1.19.0 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011d6eyuitfsYRBCPNeXGa3c
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011d6eyuitfsYRBCPNeXGa3c
存檔成功後記住錢包(含未分類),下次開啟預選;錢包已刪除或封存時退回未分類。前端升版 1.19.1。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011d6eyuitfsYRBCPNeXGa3c
以 API 建立錢包後重新整理,選錢包記一筆,再開記一筆時應預選該錢包。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011d6eyuitfsYRBCPNeXGa3c
Service Worker 接管時原本無條件 reload,正在記一筆(已拍照、填到一半)會被清空。 改為記一筆開著時延後到關閉後才重整。前端升版 1.19.2。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011d6eyuitfsYRBCPNeXGa3c
開啟當下被判定離線時,拍照/選照片按鈕會一直卡在停用狀態。 改為 online/offline 事件觸發時重繪。前端升版 1.19.3。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011d6eyuitfsYRBCPNeXGa3c
install 時 addAll 會吃到瀏覽器認為未過期的舊檔,導致更新後部分畫面是舊版(記一筆舊、明細新)。 改用 cache: 'reload'。前端升版 1.19.4。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011d6eyuitfsYRBCPNeXGa3c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
內容
ROADMAP_v2「階段 1:v1.2.1 小修」的前三項:
capture="environment",手機直接開後置鏡頭)與「選照片」(可複選)。桌機瀏覽器會忽略capture,退回一般選檔。localStorage['add:lastCategory'],下次開啟預選;分類已不存在或儲存不可用時安靜略過。dashboard.js寫死的#8a8a94改用--cat-other;backend/photo_storage/加進.gitignore。version.js)。「現金不足提領」經檢查是設計如此(後端回 409 附試算,前端確認後重送),不是 bug,未改。
注意
service-worker.js/version.js衝突,保留 1.19.0 即可。capture屬性與預選/聚焦。測試
🤖 Generated with Claude Code
https://claude.ai/code/session_011d6eyuitfsYRBCPNeXGa3c