Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions desktop/docs/screens/import.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ Bring external JSON observation files into the active profile’s local reposito

- Store: `import` flow via `tauriClient.importObservations`, refresh `loadObservations` / `loadHealth` after import
- Active profile determines target SQLite repository

## Observation indexes

When the active app bundle declares `observationIndexes` in `app.config.json`:

1. Import writes observations in batches (default 2000 rows per IPC call); intermediate batches skip index work.
2. After the final batch commits, Rust schedules **one** coalesced background full index rebuild (`bundle/index-rebuild` progress events). Overlapping rebuild requests while one is running are merged into a single follow-up pass.
3. Sync pull uses incremental indexing per page instead (no full rebuild after each pull).
6 changes: 6 additions & 0 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@
"@tauri-apps/plugin-opener": "~2.5.0",
"ajv": "^8.18.0",
"ajv-formats": "^3.0.1",
"leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-leaflet": "^4.2.1",
"react-router-dom": "^7.8.2",
"recharts": "^3.9.2",
"zustand": "^5.0.8"
},
"devDependencies": {
Expand All @@ -40,6 +44,8 @@
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/leaflet": "^1.9.21",
"@types/leaflet.markercluster": "^1.5.6",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
Expand Down
389 changes: 387 additions & 2 deletions desktop/pnpm-lock.yaml

Large diffs are not rendered by default.

Loading
Loading