Skip to content

Feat/location tags combination#1352

Draft
iandebruin98 wants to merge 18 commits intomainfrom
feat/location-tags-combination
Draft

Feat/location tags combination#1352
iandebruin98 wants to merge 18 commits intomainfrom
feat/location-tags-combination

Conversation

@iandebruin98
Copy link
Contributor

This PR adds support for automatically assigning tags to new resources based on location.

Tags can now be linked to polygons on the map and are applied depending on whether a user clicks inside or outside a polygon. This makes it possible to assign different tags based on a user’s location.

Polygons can also be hidden from the map, allowing them to be used solely for location-based tagging without affecting the visual map display.

In addition, polygons can now be configured per widget (such as an enquête, choice guide, or resource form). Each widget can have one or more polygons.

@iandebruin98 iandebruin98 requested review from a team as code owners February 2, 2026 18:31
@iandebruin98 iandebruin98 requested review from ferhany and rawand-shakir-draad and removed request for a team February 2, 2026 18:31
@iandebruin98 iandebruin98 added this to the v2.3 milestone Feb 2, 2026
@cypress
Copy link

cypress bot commented Feb 2, 2026

Openstad Headless    Run #1287

Run Properties:  status check passed Passed #1287  •  git commit aeba476a2f ℹ️: Merge 7e5b8b5593a24cc71b4b00ed2d524ff720ac907d into 3d1ae27f129e5b1d9686af7f7fe9...
Project Openstad Headless
Branch Review feat/location-tags-combination
Run status status check passed Passed #1287
Run duration 21m 55s
Commit git commit aeba476a2f ℹ️: Merge 7e5b8b5593a24cc71b4b00ed2d524ff720ac907d into 3d1ae27f129e5b1d9686af7f7fe9...
Committer iandebruin98
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 51
View all changes introduced in this branch ↗︎

@iandebruin98 iandebruin98 marked this pull request as draft February 3, 2026 11:55
parseLocation returns LatLng | LatLng[], so accessing .lat/.lng directly
caused TS2339 errors. Added Array.isArray check with type predicate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants