Skip to content

taxonomy import: improved template#4158

Merged
SteRiccio merged 3 commits intomasterfrom
fix/taxonomy-import-template
Mar 19, 2026
Merged

taxonomy import: improved template#4158
SteRiccio merged 3 commits intomasterfrom
fix/taxonomy-import-template

Conversation

@SteRiccio
Copy link
Member

No description provided.

@SteRiccio SteRiccio self-assigned this Mar 19, 2026
@SteRiccio SteRiccio requested a review from Copilot March 19, 2026 13:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates taxonomy import templates and taxonomy UI to better support synonyms and to align template type handling with shared core constants.

Changes:

  • Treat ISO639-2 code lat as a synonym column in taxonomy taxa headers/templates and add localized UI label taxonomy.edit.synonym.
  • Improve the generic taxonomy import template sample data (language columns + example taxa rows).
  • Replace locally-defined template type values with shared DataImportTemplateTypes in the taxonomy header download menu.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
webapp/components/survey/TaxonomyDetails/TaxaTableRowHeader/TaxaTableRowHeader.js Displays lat column as “synonym” instead of a language label.
webapp/components/survey/TaxonomyDetails/Header/Header.js Uses shared DataImportTemplateTypes to build template download menu items.
server/modules/taxonomy/manager/taxonomyImportTemplateGenerator.js Updates generic template language columns (incl. lat) and sample taxa rows/values.
core/i18n/resources/en/common.js Adds taxonomy.edit.synonym translation.
core/i18n/resources/es/common.js Adds taxonomy.edit.synonym translation.
core/i18n/resources/mn/common.js Adds taxonomy.edit.synonym translation.
core/i18n/resources/pt/common.js Adds taxonomy.edit.synonym translation.
core/i18n/resources/ru/common.js Adds taxonomy.edit.synonym translation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

@SteRiccio SteRiccio merged commit f9e89d3 into master Mar 19, 2026
5 checks passed
@SteRiccio SteRiccio deleted the fix/taxonomy-import-template branch March 19, 2026 14: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