Major: - GPS trail recording: reusable, dependency-free engine in src/geotracker/ (GeoTracker + geo-utils) with pluggable storage/sync adapters; LUPMIS wiring in src/geotracker-lupmis.js. Expandable My Location control (Locate Me + Record Trail), live navbar GPS readout, on-map trail/position rendering, gps_trails/gps_trail_points SQLocal tables, and store-and-forward sync via pushGpsTrail() -> save_gps_trail.php (server side documented, not yet built). - SSO authentication: public/index.php entry point validates the LUSPA SSO cookie and injects window.LUPMIS_SESSION; remotedb district_id is now a session-resolved getter. Adds public/.htaccess (DirectoryIndex). - Account menu offcanvas (navbar burger) with sign-in/out states. UI / fixes: - LayerSwitcher modernisation; base-map "None" option in picker + settings. - Mobile drawing toolbar wraps to two rows below 576px and shows only in Draw mode; second row right-aligned and clears the Select option bar. - Safari bottom-dock clipping fixed (app-container 100dvh -> 100svh). - Rename public/icons -> app-icons to dodge Apache's default /icons/ alias. - Service Worker bumped to v8 (network-first HTML, per-provider tile clear). Docs: reusable-mapping and OSM-3D-buildings concept notes; ignore Office lock files (~$*). Rebuilt dist/. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
108 lines
2.0 KiB
Plaintext
108 lines
2.0 KiB
Plaintext
# ============================================================================
|
|
# LUPMIS2 PWA — .gitignore
|
|
# ============================================================================
|
|
|
|
# ----- Node / npm dependencies -----
|
|
# Re-installable from package-lock.json; never tracked.
|
|
node_modules/
|
|
|
|
# Vite's dependency optimisation cache (lives inside node_modules but listed
|
|
# explicitly for clarity).
|
|
node_modules/.vite/
|
|
.vite/
|
|
|
|
# npm / yarn / pnpm logs and debug files
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
# ----- Build artefacts -----
|
|
# Vite produces these but we do NOT ignore `dist/` because the repo serves
|
|
# the built output directly. If you switch to a CI-based deploy pipeline
|
|
# later, uncomment the next two lines.
|
|
# dist/
|
|
# dist-ssr/
|
|
|
|
# Pre-compressed / source-map sidecar files outside dist/
|
|
*.tsbuildinfo
|
|
|
|
# ----- Local environment & secrets -----
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
*.local
|
|
|
|
# ----- IDE / editor configuration -----
|
|
# BBEdit project / scratchpad state
|
|
*.bbprojectd/
|
|
|
|
# Visual Studio Code (keep recommended-extensions and tasks.json if added)
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
|
|
# JetBrains IDEs (WebStorm, IntelliJ, etc.)
|
|
.idea/
|
|
*.iml
|
|
|
|
# Zed
|
|
.zed/
|
|
|
|
# Sublime Text
|
|
*.sublime-workspace
|
|
*.sublime-project
|
|
|
|
# Vim / Emacs swap files
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.#*
|
|
|
|
# ----- OS metadata -----
|
|
# macOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
Icon
|
|
Icon?
|
|
._*
|
|
|
|
# Windows
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
ehthumbs_vista.db
|
|
Desktop.ini
|
|
$RECYCLE.BIN/
|
|
|
|
# Linux
|
|
.directory
|
|
.Trash-*
|
|
|
|
# ----- Project-specific -----
|
|
# Interim Word-document backups produced when iterating on reports
|
|
# (the *current* report file stays tracked; only versioned snapshots are
|
|
# excluded).
|
|
LUPMIS2_Development_Status_Report-v*.docx
|
|
*-v[0-9].docx
|
|
*-v[0-9][0-9].docx
|
|
|
|
# SQLite databases dropped in the project root for ad-hoc inspection
|
|
/*.sqlite3
|
|
/*.sqlite3-journal
|
|
/*.db
|
|
|
|
# Coverage / test output
|
|
coverage/
|
|
.nyc_output/
|
|
|
|
# Misc caches
|
|
.eslintcache
|
|
.parcel-cache/
|
|
.cache/
|
|
|
|
# Microsoft Office lock / owner files (e.g. ~$Document.docx)
|
|
~$*
|