Skip to content

Add Schema CSV import/export docs for workflow taxonomy management#84

Draft
rskew wants to merge 1 commit into
mainfrom
rs/taxonomy-management
Draft

Add Schema CSV import/export docs for workflow taxonomy management#84
rskew wants to merge 1 commit into
mainfrom
rs/taxonomy-management

Conversation

@rskew
Copy link
Copy Markdown
Collaborator

@rskew rskew commented Mar 26, 2026

Document the new Schema CSV workflow for managing taxonomy structure, including CSV format reference, import/export instructions, and the recommended two-step approach (Schema CSV + taxon group CSVs). Reorganize existing content into clear sections for each approach (Schema CSV, Taxon Group CSV, JSON).

Requires updating when https://github.com/silverpond/highlighter/pull/1350 is merged, and this PR should not be merged until 1350 is released.

Document the new Schema CSV workflow for managing taxonomy structure,
including CSV format reference, import/export instructions, and the
recommended two-step approach (Schema CSV + taxon group CSVs).
Reorganize existing content into clear sections for each approach
(Schema CSV, Taxon Group CSV, JSON).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 26, 2026

Deploy Preview for highlighter-docs ready!

Name Link
🔨 Latest commit 84fc24d
🔍 Latest deploy log https://app.netlify.com/projects/highlighter-docs/deploys/69c4ce979ee33f00088dcf70
😎 Deploy Preview https://deploy-preview-84--highlighter-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 92 (🟢 up 3 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@rskew rskew self-assigned this Mar 26, 2026
@rskew rskew marked this pull request as draft March 26, 2026 06:13
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the documentation for workflow taxonomy management by introducing and detailing the use of Schema CSVs. It provides comprehensive guidance on defining taxonomy structure, importing and exporting schema definitions, and outlines a recommended two-step process combining Schema CSVs with Taxon Group CSVs. The existing content has been reorganized to offer clearer distinctions between different taxonomy management approaches.

Highlights

  • Introduced Schema CSV Documentation: Added extensive documentation for using Schema CSVs to define and manage the structural components of workflow taxonomies, including object classes and attributes.
  • Detailed Schema CSV Format and Usage: Provided a clear reference for the Schema CSV format, including required columns, data types, and an example, along with step-by-step instructions for exporting and importing Schema CSVs.
  • Recommended Two-Step Workflow: Outlined a best practice workflow that combines Schema CSVs for defining taxonomy structure and Taxon Group CSVs for populating constrained attribute values.
  • Reorganized Taxonomy Management Approaches: Structured the documentation to clearly separate and explain the three primary methods for taxonomy management: Schema CSV, Taxon Group CSV, and JSON import/export.
  • Updated Best Practices and Troubleshooting: Enhanced sections on best practices for setting up new taxonomies and managing large taxonomies, and expanded troubleshooting to cover common Schema CSV import issues.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request significantly updates the documentation for workflow taxonomy management. It introduces and details three primary methods for managing taxonomies: Schema CSVs for defining structure, Taxon Group CSVs for managing constrained attribute values, and JSON for full taxonomy snapshots. The documentation provides comprehensive instructions for accessing, importing, and exporting taxonomies using these methods, along with best practices and troubleshooting tips. Feedback includes improving the clarity and consistency of the 'Buttons' column in the taxonomy management table and adding a more prominent note to clarify that Schema CSV imports are additive and do not support deletions.

| Approach | Best for | Buttons |
|---|---|---|
| **Schema CSV** | Defining object classes and their attributes (structure) | Export Schema CSV, Import Schema CSV |
| **Taxon Group CSV** | Defining constrained attribute values (e.g., dropdown options) | Existing taxon group import/export |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

To improve clarity and consistency, the 'Buttons' column in this table should list the specific button labels for each approach. The current text 'Existing taxon group import/export' is a description, which is inconsistent with the other rows that list button names. Using the actual button labels will make this summary table more helpful for users.

Suggested change
| **Taxon Group CSV** | Defining constrained attribute values (e.g., dropdown options) | Existing taxon group import/export |
| **Taxon Group CSV** | Defining constrained attribute values (e.g., dropdown options) | Import Taxonomy, Export Taxonomy |

Comment on lines +89 to +92
- **Create** new object classes and attributes that don't already exist
- **Update** existing attributes if their settings have changed (e.g., changing `required` from `false` to `true`)
- **Preserve** existing data — the import does not remove object classes or attributes that are absent from the CSV
- **Set sort order** based on row position in the CSV
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The point that imports don't remove data is crucial. A user might incorrectly assume that providing a CSV without an attribute would delete it. To prevent this misunderstanding, this behavior should be highlighted more prominently. Consider adding a formal note after this list to explicitly state that deletions are not supported via CSV import.

For example:

> **Note:** The Schema CSV import is an additive process. It will not remove object classes or attributes that are absent from the imported file. Deletions must be performed manually through the user interface.

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.

1 participant