Add static Kaohsiung parking info site with search, filters and thumbnail fallback #2
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.
Motivation
kaohsiung_parking_lots_2025-12-25_schema_placephoto_fallback.json作為資料來源並在讀取失敗時 fallback 至kaohsiung_parking_lots_2025-12-25_curated.json。YOUR_API_KEY以便未來替換。Description
index.html、assets/styles.css與assets/app.js,實作完整 UI/UX 與樣式。loadData()(主檔案 / 備援檔案載入)、normalizeItem()(統一兩種 JSON 結構)、getThumbnailUrl()(依優先順序處理place_photo/street_view/ placeholder)、applyFilters()與renderList()等模組化函式。district分組的卡片呈現皆已實作。photo_reference或photo_resource_name則會套入來源 JSON 中的模板並保留YOUR_API_KEY,不會呼叫任何 Google API。Testing
python -m http.server在:8000啟動靜態伺服器,並以 Playwright headless 瀏覽器載入http://127.0.0.1:8000/index.html以驗證頁面可正常開啟並截圖,操作成功且產生 screenshot。Codex Task