padok-team / burrito

🌯 Burrito is a TACoS 🌮
https://padok-team.github.io/burrito
Apache License 2.0
238 stars 9 forks source link

fix(server): Remove unused api call to repository on layer state get #228

Closed LucasMrqes closed 6 months ago

LucasMrqes commented 6 months ago

This removes an unecessary API call that makes the server's LayersHandler very slow (1 api call is made per layer when listing layers). This drastically improves UI performances.

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0d41f7c) 69.45% compared to head (96fd0be) 69.45%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #228 +/- ## ======================================= Coverage 69.45% 69.45% ======================================= Files 29 29 Lines 2089 2089 ======================================= Hits 1451 1451 Misses 556 556 Partials 82 82 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.