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.4.0 - #minor #547

Merged
merged 421 commits into from
Nov 30, 2023
Merged

New Release v1.4.0 - #minor #547

merged 421 commits into from
Nov 30, 2023

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Nov 27, 2023

This will deploy on test.map.geo.admin.ch the same state as currently on sys-map.dev.bgdi.ch (the advance tool would be disabled on test.map.geo.admin.ch because the import tool is not yet production ready).
This deployment would totally remove the need of vectortiles that will not be available at the end of the month without a key.

ltshb and others added 30 commits October 19, 2023 14:09
Add test link to PR to `develop-*` branches
Until we are on PROD we should not be allowed to edit KML that has been created
by the old viewer, this means that in this case we should not move to the drawing
menu automatically.
Drawing while in 3D mode is not supported.
This might introduce subtle bugs where we forgot to pass the correct projection.

Better to make it mandatory and let the application crash with a backtrace
when it is missing.
…the correct projection

So there is no need to change it in componenent.
Made the geodesic component projection aware instead of hardcoding it to Web
Mercator.

This solve the bug when hovering the elevation profile the position was not
tracked on the map.
…file

During the drawing of the profile we need to sketch the point of the mouse.
For this we did a wrap X coordinates, I don't know the reason why and it appears
that it is not needed as open layer can handle both coordinates (wrapped and non
wrapped), because this coordinate is only a temporary coordinate I think that is
why it is not needed.

Because to correctly wrap a coordinate you need to know in which projection you
are and that in this event type you don't know it, I removed the wrap x for
simplicity.
We still have an issue with the zoom level, but this might be solved by #471
…data

This has been found while debugging e2e tests where the request intercept
to the profile is done without data, it crash the application.

Handle correctly such case when the api backend would malfunction to avoid
any crash of the application.
In this one the projection was not correctly passed downward.
Now the coordinates from the service-alti api are rounded at two digits, therefore
update the csv mocking in order to have the correct output.
…g_crash

BGDIINF_SB-3146 : Fix: 3D drawing crash on camera move, disable 3D toggle button when draw
Reduced the timeout in order to speed tests when they are failings
On Chrome setting the `sr` query argument result to a primitive js `number`
type and not a `Number` instance.
E2E tests are done in both projection so correctly intercept them.
Those test were written for Web Mercator and can only be run in this projection.
This to avoid timeout issue on this test on the CI.
The Geodesie test when running in browser make it crash using numTestsKeptInMemory
higher than 2 !
ltshb and others added 19 commits November 22, 2023 09:29
I found that most (of not all) Cesium sandcastles (online examples) have this CSS rule to block touch action, it fixes all issues I experienced with panning while on a mobile device!

I also de-activated the location popup (right-click) on mobile, as it wasn't very consistent how to trigger a right click with a touch screen.
…nent

Also fixed some linting and code styles issues.
…l layer script as in import tool

This allow to make sure that our parsing works for all URL from our provider list.
…MS version

Because we don't save anymore the WMS version in the URL we need to make sure
that the server returns the version in its GetCapabilities.
Set the opacity and visibility of group of layers correctly (to all layers not
only to the group object)
Because the advanced tool are not yet ready we remove it on productive
environment.
Temporary remove the advanced tool menu on productive environment
@github-actions github-actions bot changed the title Deploy test.map.geo.admin.ch without vectortiles New Release v1.4.0 - #minor Nov 27, 2023
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Member

@hansmannj hansmannj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

stebie
stebie previously requested changes Nov 27, 2023
Copy link

@stebie stebie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To merge on 30th of November

@ltshb ltshb dismissed stebie’s stale review November 30, 2023 08:37

As agreed we do the deployment today

@ltshb ltshb merged commit cb9d814 into master Nov 30, 2023
6 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.

6 participants