Skip to content

Dev - #17

Merged
sedv8808 merged 2 commits into
mainfrom
dev
Jul 16, 2026
Merged

Dev#17
sedv8808 merged 2 commits into
mainfrom
dev

Conversation

@sedv8808

Copy link
Copy Markdown
Contributor

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:

  • Refactored citation rendering in ContactLinkedPublications.vue to 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.
  • Updated the publication list to use a Panel component, improved list styling, and added a dedicated style for publication entries. [1] [2]

Taxon summary display improvements:

  • Enhanced the taxon summary in AboutTaxa.vue by bolding label text, improving list spacing, and ensuring external database links are clearly labeled. [1] [2]

Code cleanup:

  • Removed unused taxon data fetching logic and related state from TaxaLanding.vue, as this data is no longer displayed directly in the template.

Copilot AI review requested due to automatic review settings July 16, 2026 17:41
@sedv8808
sedv8808 merged commit 3492e64 into main Jul 16, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>&nbsp;<a :href="`https://doi.org/${getDoi(item)}`" target="_blank"
>https://doi.org/{{ getDoi(item) }}</a
>
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