Arquisoft / viade_en2b

Viade en2b
MIT License
6 stars 7 forks source link

Comments functionality #196

Closed violetaruizm closed 4 years ago

violetaruizm commented 4 years ago

This pull request implements the comments gateway which includes functions for retrieving comments from the user's pod, posting comments to a route's comments file and the creation of an empty comments file for new routes.

codecov[bot] commented 4 years ago

Codecov Report

Merging #196 into develop will decrease coverage by 1.77%. The diff coverage is 21.91%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #196      +/-   ##
===========================================
- Coverage    32.16%   30.39%   -1.78%     
===========================================
  Files           82       87       +5     
  Lines         1312     1405      +93     
  Branches       128      137       +9     
===========================================
+ Hits           422      427       +5     
- Misses         803      883      +80     
- Partials        87       95       +8     
Impacted Files Coverage Δ
src/CommentsManager/AddComment.js 0.00% <0.00%> (ø)
src/CommentsManager/CreateCommentsFile.js 0.00% <0.00%> (ø)
src/CommentsManager/GetComments.js 0.00% <0.00%> (ø)
src/caches/routeCache/RouteCache.js 83.78% <ø> (ø)
src/data-access/gateways/CommentsGateway.js 0.00% <0.00%> (ø)
src/data-access/gateways/RouteGateway.js 92.30% <ø> (ø)
src/RouteManager/ListUserRoutes.js 38.70% <38.70%> (-1.30%) :arrow_down:
src/Entities/BasicRoute.js 100.00% <100.00%> (ø)
src/Entities/Comment.js 100.00% <100.00%> (ø)
... and 4 more

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 d9135f9...1bbd521. Read the comment docs.