Skip to content

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Sep 26, 2025

@schtibe schtibe force-pushed the feat-PB-1383-pinia-store branch 5 times, most recently from 69171a7 to bdd5620 Compare October 3, 2025 14:20
@pakb pakb force-pushed the feat-PB-1383-pinia-store branch 3 times, most recently from 448f1a4 to 2393419 Compare October 20, 2025 11:40
@cypress
Copy link

cypress bot commented Oct 20, 2025

web-mapviewer    Run #6238

Run Properties:  status check errored Errored #6238  •  git commit a57f37fdac: Merge pull request #1526 from geoadmin/fix-pb-2064-timeslider
Project web-mapviewer
Branch Review feat-PB-1383-pinia-store
Run status status check errored Errored #6238
Run duration 19m 41s
Commit git commit a57f37fdac: Merge pull request #1526 from geoadmin/fix-pb-2064-timeslider
Committer Felix Sommer
View all properties for this run ↗︎

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

Tests for review

Failed  legacyParamImport.cy.ts • 1 failed test • e2e/chrome/mobile

View Output

Test Artifacts
Failed  shareShortLink.cy.ts • 3 failed tests • e2e/chrome/mobile

View Output

Test Artifacts
Failed  timeSlider.cy.ts • 1 failed test • e2e/chrome/mobile

View Output

Test Artifacts
Failed  featureSelection.cy.ts • 1 failed test • e2e/chrome/mobile

View Output

Test Artifacts
Failed  drawing.cy.ts • 14 failed tests • e2e/chrome/mobile

View Output

Test Artifacts
The first 10 failed tests are shown, see all 14 tests in Cypress Cloud.

The first 5 failed specs are shown, see all 19 specs in Cypress Cloud.

@pakb pakb force-pushed the feat-PB-1383-pinia-store branch from fc5442f to 639f478 Compare October 21, 2025 14:15
pakb and others added 19 commits October 31, 2025 14:16
that will then be used to describe KML/GPX/COG layers

cleaning up a bit the layers type def, removing duplicates, and switching all comments to JSDoc
Issue : When loading the print menu for the first time, the scales and the background preview of the layout would not show. Toggling the print menu would then show the scales and the background preview instead of closing the menu, and the menu would then work as intended.

Cause : When toggling the menu for the first time, we wanted to set a watcher within the toggle menu function which would catch when the print layouts changed to load the layouts and select one. This managed to not fire as intended, and simultaneously shortcut the already existing watcher, resulting in a state where the menu was open, but not considered to be open, which meant the scales would not be computed.

Fix: We keep loading the layouts if they are not loaded, but we no longer wait on a watcher that's not firing up to show the menu.
- Issue: When going through the points, we skipped the last segment, and fixed its time to 0. This was spotted by user @aronsommer .

- Fix: We no longer skip the last segment
pakb and others added 30 commits December 17, 2025 16:59
simplifying a bit the useFieldValidation composable, and trying to maintain reactivity of props given there, even if it is two components down (EmailInput calls TextInput which calls useFieldValidation)
removing most bi-directional links and having all the "config" in one big catch'em all bag
Some props need to be transformed to ref so that the composable doesn't loose the reactivity on them.

Also changing the logic of the userFieldValidation "pristin" flag, to clarify what it was meant for (and removing its usage whenever the default behavior was the one in place)
watchEffect will be called whenever the composable is set up, and then each time one of the props is changed (so the onMounted hook will create a double unnecessary call)
PB-2064: Rearrange header tests to make it clearer and less redundant.
in prepration for further modules/packages that will require access to this information.

Also moving all "constants" that are not environment-related to the staging-config package, only keeping those that will change depending on the VITE_ENV/staging of the viewer


PB-1387: move Theme/Style/SCSS elements to a dedicated theme module
also moving there GPX/KML utils, and legacy param utils, as they are used by some API files
Moving Vitest CLI "flags" found in package json files into the config itself
and especially Vitest, as there is in v4.0.9+ a fix for the pooling of threads, which fails sporadically on the CI.
Locking Vite in version v7.2.2, as upgrading further breaks the build with unplugin-dts.

Unplugin-dts has been in the same "beta" version for the last 6 month, we should maybe look for an alternative if it stays like that too long
since switching to the version 1.2.0, the manifest for the PWA has slightly increased, reaching the limit of 5MB.
I've pushed it to 7MB to keep the build from failing because of that.
looks like it could fix the issue that is present on the CI with video recording (takes forever)
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.

5 participants