Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Release v1.16.0 - #minor #839

Merged
merged 43 commits into from
May 14, 2024
Merged

New Release v1.16.0 - #minor #839

merged 43 commits into from
May 14, 2024

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented May 14, 2024

ltshb and others added 30 commits May 7, 2024 10:45
The print scale on mobile was empty. This was due to the fact that we took
the menu width in the computation for the scale.

Now we don't take the menu width for the scale computation and we move the
print center a bit down due to the header overlapping the map.

Also did some renaming to make the code clearer
Issue : when clicking on the time slider bar, the years would not be saved in the layers when removing the time slider.

Fix : we do it now
…n-click

PB-319: Bugfix on time slider click not keeping changes when closing the time slider.
They border are now identical to the input border.
Now forms are only validated after user action. This provide a better user
feedback especially when the form has several fields, the form is only validated
when the user click on the action button.
the need-validation class was useless therefore I removed it. Also removed a
useless html div.

Be consistent in the css class of all input fields.
Issue : On all labels for layers, we mention that we're modifying the transparency, when we are currently modifying the opacity.

fix : we reverse the value on the transparency slider, committing `1 - value` to the layer's opacity rather than the value.

still TODO : ensure tests work.
Changed the slider data-cy from 'opacity' to 'transparency' for consistency.

with the new margin, one test had problems where clicking in the middle (0.5 opacity) was so close to the original value (0.7 opacity) that it wouldn't register the click to be on another position on the slide.
This property was a duplicate of the id and not needed.
Some server don't support TIME=null parameter, which is anyway not conform.
That was the case for the canton AG WMS server. Therefore don't add the TIME
parameter if the layer has not time parameter.
PB-425: Implement external WMS external layer in 3D
The cesium style sheet overrides the global font. By changing the
selector slightly we can give it more specifity and keep the
original font
The cesium style sheet introduces a little bit of margin on the inputs
which breaks the style of the time slider
Issue : When using the mapviewer on mobile, the time selector button had its text cut out.

Fix : When on mobile view, we no longer enforce a width on the button, letting it fill the space to acomodate its content.
ltkum and others added 10 commits May 14, 2024 07:46
Also load 50 features when selecting a rectangle on the map (instead of 10)

The piece of code that was triggering the identification of feature was a store plugin, I thought it would make more sense to move all this to the feature store. Especially as I needed to write a second "get more feature" way of loading things. So now the store plugins only triggers a dispatch instead of loading the feature itself.
Also reworking the intercept of feature identification / feature detail, generating random coordinates from a feature template instead of having a very long (and repeating) fixture file.

Adapting existing feature selection to use this new way of intercepting/fixtures

Fixing a little bug in the randomIntBetween function found while testing (coordinates were not within the bracket when giving something else than 0 as the starting point...)
the selector for the zoom to extent Tippy tooltip was too eager and was re-applying the same tooltip over and over if more than one zoomToExtent button was present at a given time.
Adding a component counter to give each component instance a unique ID (and applying Tippy only on this unique ID)
place 10/50 feature limits into config.js and use these new variables in tests (so they adapt to changes)

add back "remove selected features" when clicking on a map location without no features
…button

PB-368 : add "load more features" button in feature list
When the menu appears on desktop, the time slider has to move to the
right
…th-menu

PB-468 Fixed Time-Slider sliding under the menu on smaller screens
Issue : When opening the topic change popover, the images would not show anymore. This was due to the relative link in the css being incorrect.
Fix : We change the relative link to reach the correct location.

Using an absolute link rather than a relative link

link correction
@ltshb ltshb requested a review from pakb May 14, 2024 09:02
@github-actions github-actions bot changed the title new release New Release v1.16.0 - #minor May 14, 2024
Copy link

cypress bot commented May 14, 2024

Passing run #2128 ↗︎

0 204 20 0 Flakiness 0

Details:

Merge pull request #840 from geoadmin/bug_PB-368_fix_coordinate_randomizer
Project: web-mapviewer Commit: a676c58f98
Status: Passed Duration: 06:05 💡
Started: May 14, 2024 9:48 AM Ended: May 14, 2024 9:54 AM

Review all test suite changes for PR #839 ↗︎

pakb added 2 commits May 14, 2024 11:34
As it was placing coordinate all around the LV95 extent, tests could get really flaky when wanting to show a tooltip (it was sometimes at the edge of the viewport, making it hidden)
…mizer

PB-368 : fix e2e test feature coordinate randomizer
@ltshb ltshb merged commit 07866de into master May 14, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants