Skip to content

PB-1695: add the option to show marker description on the map#1339

Merged
pakb merged 3 commits intodevelopfrom
feat-PB-1695-show-marker-description-on-the-map
May 22, 2025
Merged

PB-1695: add the option to show marker description on the map#1339
pakb merged 3 commits intodevelopfrom
feat-PB-1695-show-marker-description-on-the-map

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented May 15, 2025

Adds a new checkbox on the feature detail/edit to opt-in and show the description on the map
image

Test link

@cypress
Copy link

cypress bot commented May 15, 2025

web-mapviewer    Run #5375

Run Properties:  status check passed Passed #5375  •  git commit b3bcfde17d: PB-1695: increasing mobile infobox height
Project web-mapviewer
Branch Review feat-PB-1695-show-marker-description-on-the-map
Run status status check passed Passed #5375
Run duration 05m 45s
Commit git commit b3bcfde17d: PB-1695: increasing mobile infobox height
Committer Pascal Barth
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 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 252
View all changes introduced in this branch ↗︎

@pakb pakb force-pushed the feat-PB-1695-show-marker-description-on-the-map branch 3 times, most recently from 1691d0d to 98a7fa3 Compare May 19, 2025 07:46
@pakb pakb requested review from schtibe and sommerfe May 19, 2025 07:57
@schtibe
Copy link
Contributor

schtibe commented May 20, 2025

Adds a new checkbox on the feature detail/edit to opt-in and show the description on the map image

Test link

Maybe it could be enhanced a little bit: it isn't entirely clear "what" it's supposed to display on the map... Maybe you could increase the margin between the upper text input and the "Description" Label a little bit, then it's clearer that the toggle belongs just to the description (see arrows):
image

on that note, the margins above and below the textarea aren't the same (see highlight)

@pakb pakb force-pushed the feat-PB-1695-show-marker-description-on-the-map branch from 98a7fa3 to 4dbcbbe Compare May 22, 2025 07:26
@pakb pakb force-pushed the feat-PB-1695-show-marker-description-on-the-map branch from 4dbcbbe to 0c9efb4 Compare May 22, 2025 11:24
@pakb pakb requested a review from sommerfe May 22, 2025 11:24
pakb added 2 commits May 22, 2025 13:28
Text position at center (left, center and right) needs to be pushed down half the height of the description to be placed correctly.
The full height of the description needs to be added to the offset when placed at the bottom (bottm_left, bottom and bottom_right)
to better accommodate more button/component in the drawing feature edit use case
@pakb pakb force-pushed the feat-PB-1695-show-marker-description-on-the-map branch from 0c9efb4 to b3bcfde Compare May 22, 2025 11:28
@pakb pakb merged commit 40b6c4c into develop May 22, 2025
6 checks passed
@pakb pakb deleted the feat-PB-1695-show-marker-description-on-the-map branch May 22, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants