Conversation
…a. Updated APIs too to retrieve publications by contact
There was a problem hiding this comment.
Pull request overview
This PR refines how taxon summary and contact-linked publication information is presented in the UI, aiming to improve readability and visual structure while removing unused code from the taxa landing page.
Changes:
- Improved taxon summary formatting in
AboutTaxa.vue(label emphasis and spacing). - Refactored publication rendering in
ContactLinkedPublications.vue(citation splitting + DOI extracted and displayed separately inside a panel). - Removed unused taxon/site-fetching state and debug output from
TaxaLanding.vue.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/views/resources/taxaelements/AboutTaxa.vue | Updates taxon summary list styling and emphasizes labels; adds spacing adjustments. |
| src/views/resources/contactelements/ContactLinkedPublications.vue | Improves linked publication readability (Panel layout, citation formatting, DOI extraction/linking). |
| src/views/pages/TaxaLanding.vue | Removes unused data-fetching logic/state that is no longer rendered. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
127
to
131
| <div v-for="item in externals"> | ||
| <div v-if="item.extdatabasename == 'GBIF Backbone Taxonomy'"> | ||
| <li> | ||
| {{ item.extdatabasename }}: | ||
| <strong>{{ item.extdatabasename }}:</strong> | ||
| <a :href="`https://www.gbif.org/species/${item.exttaxonid}`">{{ item.exttaxonid }}</a> |
Comment on lines
+92
to
+94
| <strong>DOI:</strong> <a :href="`https://doi.org/${getDoi(item)}`" target="_blank" | ||
| >https://doi.org/{{ getDoi(item) }}</a | ||
| > |
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.
PR focuses on improving the display and formatting of taxon and publication information in the UI, making the presentation clearer and more user-friendly. The main changes include enhancing citation formatting for linked publications, improving the visual structure of taxon summary lists, and cleaning up unused code.
Publication display improvements:
ContactLinkedPublications.vueto extract and display the DOI as a separate bold line, remove redundant DOI information from the citation, and split the citation into a bold "head" (authors and year) and a "tail" (title, journal, etc.) for better readability.Panelcomponent, improved list styling, and added a dedicated style for publication entries. [1] [2]Taxon summary display improvements:
AboutTaxa.vueby bolding label text, improving list spacing, and ensuring external database links are clearly labeled. [1] [2]Code cleanup:
TaxaLanding.vue, as this data is no longer displayed directly in the template.