Commit Graph

20 Commits

Author SHA1 Message Date
5f23d9ccfe Enable eslint security rule for object injection detection in map.ts 2025-12-29 17:07:12 -06:00
dace6bdce3 Enable eslint security rule for object injection detection in +page.svelte 2025-12-29 17:07:12 -06:00
20c1b654a4 Change license from MIT to BSD 3-Clause, update README to reflect PNPM usage, and modify Svelte page to indicate new license type. 2025-12-29 17:07:10 -06:00
9918638cb8 Refactor Camera interface in map.ts to export as a type for improved type management and clarity. 2025-12-25 14:11:32 -06:00
405a254824 Add eslint directive to suppress unused variable warning for setStatusMessage function in +page.svelte 2025-12-25 14:11:19 -06:00
55a90bd146 Refactor APP_VERSION definition in version.ts to support multiple sources 2025-12-25 14:09:28 -06:00
6b35ab80a2 Update module exports in index.ts to include API, constants, map, settings, and version files for improved accessibility and organization. 2025-12-25 14:00:30 -06:00
3c574b58f6 Enhance camera map interface with new settings and improved functionality
- Added settings management for Overpass API, custom tile URLs, and Nominatim search endpoints, allowing users to customize their experience.
- Implemented responsive design adjustments for mobile views, including a modal for location search.
- Improved camera selection and measurement features with enhanced visual feedback and distance labeling.
- Updated footer behavior to persist user preferences and improve usability.
2025-12-25 13:36:09 -06:00
07d5c540b6 Add settings management for Overpass API, custom tiles, Nominatim, basemap, and footer preferences
- Implemented Svelte stores to manage user preferences for Overpass API endpoints, custom tile URLs, Nominatim search endpoints, basemap selection, and footer visibility.
- Integrated localStorage for persistent settings across sessions, enhancing user experience and customization options.
2025-12-25 13:36:01 -06:00
b826ee8f4f Refactor API endpoint handling to prioritize user-defined settings
- Introduced dynamic endpoint selection for Overpass API based on user preferences.
- Updated Nominatim API URL construction to utilize a configurable base URL from settings.
- Enhanced the fetchOverpassWithFallback function to improve reliability by using preferred endpoints.
2025-12-25 13:35:55 -06:00
2df526c606 Update Overpass API endpoints in constants.ts to include additional servers for improved reliability 2025-12-25 13:35:48 -06:00
26f91f1aee Add responsive styling for zoom control in mobile view 2025-12-25 13:35:42 -06:00
c0dd901def Add validation functions for API responses and map parameters
All checks were successful
OSV-Scanner Scheduled Scan / scan-scheduled (push) Successful in 19s
CI / check (push) Successful in 22s
CI / build (push) Successful in 39s
- Introduced validation functions for Overpass and Nominatim API responses to ensure correct data structure.
- Added latitude, longitude, and bounds validation functions in the Svelte component to enhance input handling.
- Updated the map state restoration logic to utilize these validation checks, improving robustness and error handling.
2025-12-24 21:20:07 -06:00
191ed6b0e1 Improve box selection functionality in map component
- Improved box selection mode logic by ensuring proper state checks and event handling.
- Added conditions to prevent actions when the selection mode is not active or when necessary elements are missing.
- Updated the UI to include a tooltip for better user guidance during box selection.
- Refactored code for clarity and maintainability, ensuring a smoother user experience.
2025-12-24 21:13:08 -06:00
57187e7ed4 Add tooltip for box selection feature in map component
All checks were successful
OSV-Scanner Scheduled Scan / scan-scheduled (push) Successful in 19s
CI / check (push) Successful in 22s
CI / build (push) Successful in 40s
- Introduced a tooltip that guides users to draw a box for camera searches, displayed conditionally based on local storage state.
- Implemented tooltip positioning logic and dismiss functionality.
- Updated the Svelte component to enhance user interaction and experience.
2025-12-24 21:09:29 -06:00
0547e0e0db Refactor CSS and Svelte components for improved readability and maintainability
- Removed the font-face definition from app.css to streamline styles.
- Reformatted imports and code structure in +page.svelte for better readability.
- Enhanced status message formatting and layout consistency across components.
2025-12-24 20:06:14 -06:00
2a709efdbf Refactor NominatimResponse type and update font style in clusterStyle function
- Changed NominatimResponse from an interface to a type alias for better clarity and simplicity.
- Updated font definition in the clusterStyle function to remove the specific font family, enhancing compatibility.
2025-12-24 20:06:03 -06:00
4c2f67a406 Add location search functionality using Nominatim API and enhance UI elements
Some checks failed
CI / check (push) Failing after 13s
OSV-Scanner Scheduled Scan / scan-scheduled (push) Successful in 11s
CI / build (push) Has been skipped
- Implemented a new location search feature in the Svelte component, allowing users to search for locations using the Nominatim API.
- Added relevant state management for search input, results, and loading indicators.
- Enhanced the UI with new styles for the search input and results dropdown.
- Updated toolbar and footer styles for better visual consistency.
2025-12-24 18:11:30 -06:00
f7becdb26e Update version to 0.1.0 and modify scripts to include VITE_APP_VERSION. Add APP_VERSION export for use in components.
Some checks failed
CI / check (push) Failing after 1m22s
CI / build (push) Has been skipped
2025-12-24 17:03:48 -06:00
d2ef9add72 0.1.0 2025-12-24 17:00:21 -06:00