Arquisoft / viade_en3a

Viade En3A
https://arquisoft.github.io/viade_en3a/
1 stars 4 forks source link

Upload media and display on Route Info View #158

Closed jesQM closed 4 years ago

jesQM commented 4 years ago

Fixes #88, #156

Pictures can be uploaded to the pod and when a route does have media, it is displayed on the Info View.

The media is represented by a new Class called "RouteMedia" (The routes contain an array of these of object type)

codecov[bot] commented 4 years ago

Codecov Report

Merging #158 into development will decrease coverage by 1.63%. The diff coverage is 17.3%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development     #158      +/-   ##
===============================================
- Coverage         32.2%   30.57%   -1.64%     
===============================================
  Files               27       28       +1     
  Lines              385      435      +50     
  Branches            24       31       +7     
===============================================
+ Hits               124      133       +9     
- Misses             242      277      +35     
- Partials            19       25       +6
Impacted Files Coverage Δ
src/components/podService/podStoreHandler.js 7.89% <0%> (-0.22%) :arrow_down:
src/pages/InfoView.js 57.77% <100%> (+6.49%) :arrow_up:
src/model/RouteMedia.js 3.44% <3.44%> (ø)
src/pages/MapCreation.js 26.19% <50%> (+1.19%) :arrow_up:
src/model/MyRoute.js 25.42% <7.69%> (-4.37%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7618396...020e00e. Read the comment docs.