add description in the detailed view#109
Draft
jacquesfize wants to merge 3 commits intomainfrom
Draft
Conversation
f6f0dcf to
79cb9d0
Compare
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #107 #74
This PR adds a description fetched from Wikipedia API for each taxon if available.
In Detailed view, description is added under the number of observations. The description is displayed by clicking on a plus button.
In Gallery mode, the description is displayed in a modal. Description is displayed using the same process as the detailed view.
This is a draft version ! Style is quite crude a the moment
A demo is available here https://6937471811b1c050ecd19394--bam-widget.netlify.app
Preview
description.mp4