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

[Fiche taxon] Ajout d'un onglet "Médias" et un composant de galerie photo paginée #3229

Draft
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

jules-jean-louis1
Copy link

Closes #69854647
Closes #69854746

Backend

Ajout d'une nouvelle route GET /gn_commons/medias/species/ dans gn_commons/medias/.
Cette route permet de récupérer les médias associés à une espèce en utilisant son identifiant cd_nom. La réponse est paginée.

Frontend

Ajout d'un onglet Médias dans la page de la fiche espèce. Le composant DisplayMedia est utilisé pour gérer l'affichage dynamique des différents types de médias (images, vidéos, audios).
Capture d’écran du 2024-10-15 15-56-28

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

Attention: Patch coverage is 54.54545% with 5 lines in your changes missing coverage. Please review.

Project coverage is 81.90%. Comparing base (88a5bd2) to head (8e1cdf5).
Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
backend/geonature/core/gn_commons/medias/routes.py 50.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3229      +/-   ##
===========================================
- Coverage    81.93%   81.90%   -0.04%     
===========================================
  Files           86       86              
  Lines         6960     6975      +15     
===========================================
+ Hits          5703     5713      +10     
- Misses        1257     1262       +5     
Flag Coverage Δ
pytest 81.90% <54.54%> (-0.04%) ⬇️

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.

@edelclaux edelclaux force-pushed the feat/spieces-page/add-tab-media branch from ef59a57 to 2781a47 Compare October 17, 2024 10:39
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.

2 participants