Commit History
-
fix(frontend): replace non-null assertions with guards in map callbacks
alessandro trinca tornidorReplace map.value! with early-return guards in zoomend and mouseup event callbacks to prevent runtime errors if map ref becomes undefined.c01c26d -
fix(frontend): convert map variable to ref to fix Vue prop type warning
alessandro trinca tornidorChange let map: LMap to ref<LMap | undefined> so Vue can reactively track it. Add v-if="map" to ButtonMapSendRequest to prevent rendering before onMounted assigns the map instance. Guard onUpdated with early return when map is undefined.7ebfdc7 -
style(frontend): add section headers to helpers.ts for readability
alessandro trinca tornidorOrganize 22 functions into 10 logical sections with single-line comment headers: Map State, ML Inference, URL Params, Prompt Transformation, Leaflet UI, Coordinate Extraction, API Communication, Prompt Builders, Geoman Events, UI Feedback.ca78a2e
-
style(frontend): replace inline z-index with Tailwind z-[9999]
alessandro trinca tornidorConsistent styling — avoids mixing inline styles with Tailwind classes. Needed to override Leaflet's z-index on nav and footer elements.68ad977 -
fix(frontend): remove debug console.log from setGeomanControls
alessandro trinca tornidor9ae4f0d -
refactor(frontend): extract driverSteps to tour.ts
alessandro trinca tornidorSeparates tour config from reactive state in constants.ts. Only consumed by PagePredictionMap.vue.6d7f1bc -
refactor(frontend): remove unused htmlStatusMessages from constants
alessandro trinca tornidorDead code — no runtime consumers, only tested by its own tests. Source: https://github.com/for-GET/know-your-http-well Last version: commit 4386da5.55d8029 -
refactor: apply Python and TypeScript code quality improvements
alessandro trinca tornidorPython: - Replace print() with logger in app.py - Add type annotations to request_middleware and list_files - Fix infer_samgis_fn return type (str, not str | JSONResponse) - Convert .format() to f-strings in test_app.py - Update pyrightconfig.json to Python 3.13 Frontend: - 11x let→const in helpers.ts and PagePredictionMap.vue - Replace Object type with { body: string } in helpers.ts - Replace Function type with proper signature in ButtonMapSendRequest.vue - Add return type to getGeoJSONRequest - Fix indentation in helpers.ts - Add noUncheckedIndexedAccess to tsconfig.app.json - Add eslint.config.mjs with TypeScript + Vue rulesd81ec6c
-
test: add data-test-id and aria-labels to improve the playwright tests
alessandro trinca tornidor7edcc96
-
test: increase the test coverage after checking the "mutant" ones with stryker
alessandro trinca tornidor9fa8a0e -
fix: use the correct type for the rows prop in TableGenericComponent
alessandro trinca tornidor43b7eef -
fix: use the correct url within the MobileNavBar
alessandro trinca tornidor3b6d5e3 -
test: add test cases for more components
alessandro trinca tornidor81f4ed8 -
test: add some test cases for various vuejs components
alessandro trinca tornidor21277d0 -
fix: implicit type conversion on comparison
alessandro trinca tornidor6a6e173
-
feat: remove ButtonMapSendRequest used in desktop mode to avoid wrong references on driver.js tour
alessandro trinca tornidor8735634
-
feat: switch to use driver.js as a submodule, bump to 1.11.1 version, update Dockerfile
alessandro trinca tornidorafe2fe2
-
feat: update samgis-web==1.2.3, support tailwindcss@4.0.x, add git@github.com:trincadev/driver.js.git as a submodule
1454aed
-
[refactor] move some functions and ref from PagePredictionMap.vue
c92d169 -
[feat] add support for hiding old polygons from ML inferences
ae7c5c3
-
[feat] add message about prompt elements outside the map bounds
f813e82 -
[ci] update driver.js installation method
62f8d1f
-
[feat] add map navigation locking (unlockable!) on ML request to take advantage of image embedding re-use
67b8e69
-
Merge branch 'main' into dev
b452994 -
[fix] fix SamGIS docs url in frontend page
08d744d
-
[feat] (frontend) add nextzen terrain xyz provider as DEM raster source
f366f8c
-
[style] fix the button footer style
7267ad7 -
[feat] update footer style, add button to close the footer
6d5ac24 -
[style] update footer style, add button to close the footer
205a0ca -
[feat] add descriptions about exclude/include points
31e2594 -
[feat] add user onboarding tour, remove section with direct huggingface space link
22a4f44
-
[fix] move wrong v-if
6300570 -
[feat] show link about embedded huggingspace on small devices
fea8a6e -
[style] add missing references to new custom class names in helpers.ts
1553c6c
-
[feat] add navbar with blog, samgis presentation, samgis docs
5b52c2c
-
[feat] add working static frontend
9954ac1