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

Missing map shapes in summary step #791

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robinmolen
Copy link
Contributor

Part of open-formulieren/open-forms#5038

Because the geoJsonGeometry is available before the featureGroupRef is set, can the useEffect hook not draw the map shapes.

This fix makes sure that featureGroupRef is set, so that map shapes can be drawn

Because the geoJsonGeometry is available before the featureGroupRef is set, can the useEffect hook not draw the map shapes
Copy link

codecov bot commented Jan 30, 2025

Bundle Report

Changes will decrease total bundle size by 20 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@open-formulieren/sdk-OpenForms-umd 4.77MB -10 bytes (-0.0%) ⬇️
@open-formulieren/sdk-esm 4.75MB -10 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: @open-formulieren/sdk-OpenForms-umd

Assets Changed:

Asset Name Size Change Total Size Change (%)
open-*.js -10 bytes 3.49MB -0.0%

Files in open-*.js:

  • ./src/components/Map/LeafletMap.jsx → Total Size: 7.65kB
view changes for bundle: @open-formulieren/sdk-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/LeafletMap-*.js -10 bytes 366.13kB -0.0%

Files in assets/LeafletMap-*.js:

  • ./src/components/Map/LeafletMap.jsx → Total Size: 7.65kB

Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.68%. Comparing base (775bb98) to head (8408f1e).

Files with missing lines Patch % Lines
src/components/Map/LeafletMap.jsx 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #791      +/-   ##
==========================================
+ Coverage   83.67%   83.68%   +0.01%     
==========================================
  Files         244      244              
  Lines        4777     4780       +3     
  Branches     1268     1269       +1     
==========================================
+ Hits         3997     4000       +3     
  Misses        747      747              
  Partials       33       33              
Flag Coverage Δ
storybook 76.26% <88.88%> (+0.01%) ⬆️
vitest 62.95% <0.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Optional map, where no point is selected, gives an error.
1 participant