Skip to content

Small fixes to the taxa view - #1480

Merged
mihow merged 3 commits into
mainfrom
fix/taxa-row-faded-when-verified
Oct 7, 2026
Merged

mihow merged 3 commits into
mainfrom
fix/taxa-row-faded-when-verified

Conversation

@mihow

@mihow mihow commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

On the Taxa page's table view, every taxon with at least one verified occurrence was drawn at half opacity: the name, the last-seen date, the count bubbles, the images and the links all looked greyed out. That is backwards for the people using the page, because the taxa curators have already confirmed are usually the ones they care about most, and sorting by Verified put a block of faded rows at the top of the list. This change renders those rows normally. It also removes the shield icon next to the verified count, which repeated what the count already says: a verified count above zero means the taxon has verified occurrences.

The dimming came from a miscommunication during #1365, which added tools to help reviewers confirm which species are present. That review aid ended up changing how the Taxa page looks for everyone, even though most people use the page to browse and compare a project's species, not to review them. Styling meant for the review workflow should not change the page's general-purpose view, so the dimming and the extra icon are removed rather than adjusted.

Two default sort orders also change, since both were small and annoying enough not to merit their own PR. The Taxa page now opens with the most frequently observed taxa first (by direct occurrences) instead of alphabetically, and the Sessions page now opens with the most recent session first instead of the session with the most occurrences. Choosing a different sort still works as before.

List of Changes

# Change (what users see) How
1 Taxa with verified occurrences are no longer faded in the table; their names, dates, counts, images and links render at full strength. Removed the rowClassName callback in the taxa page that applied opacity-50 when numVerified > 0.
2 The Verified column shows only the count, without a shield icon beside it. Restored the column's cell to the plain count bubble it had before #1365.
3 The Taxa page opens sorted by direct occurrences, most first. Default useSort on the taxa page changed from name ascending to occurrences_count descending.
4 The Sessions page opens with the most recent session first. Default useSort on the sessions page changed from occurrences_count descending to start descending.
5 (internal) No behaviour change elsewhere. Removed the optional rowClassName prop from the shared table component, since the taxa page was its only user.

Screenshots

Taxa table sorted by Verified, local copy of the database.

Before: verified rows render at 50% opacity.

Before

After: the same rows at full opacity, with the verified count shown on its own.

After

How to test

  1. Open a project's Taxa page in table view and sort by Verified, descending.
  2. Rows with a verified count should look the same as unverified rows, and the Verified column should show only the count.
  3. Open the Taxa page with no sort chosen: the taxa with the most direct occurrences come first.
  4. Open the Sessions page with no sort chosen: the most recent session comes first.

Checks run: tsc --noEmit, eslint and prettier --check on the changed files, and the UI jest suite (11 suites, 52 tests passing).

🤖 Generated with Claude Code

https://claude.ai/code/session_01DurLKiG8bGASzdgs6BtxRq

The taxa table set opacity-50 on every row with at least one verified
occurrence, which dimmed the name, dates, counts, images and links of
exactly the taxa curators have reviewed most. The shield marker in the
Verified column already flags these rows, so the dimming is removed along
with the per-row class hook on the shared Table that only it used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DurLKiG8bGASzdgs6BtxRq
Copilot AI balanced review requested due to automatic review settings October 6, 2026 22:26
@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for antenna-preview ready!

Name Link
🔨 Latest commit 9083664
🔍 Latest deploy log https://app.netlify.com/projects/antenna-preview/deploys/6ac579cd8f805300083c31ee
😎 Deploy Preview https://deploy-preview-1480--antenna-preview.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: 57 (🔴 down 8 from production)
Accessibility: 81 (🔴 down 8 from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 92 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

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

@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for antenna-ssec ready!

Name Link
🔨 Latest commit 9083664
🔍 Latest deploy log https://app.netlify.com/projects/antenna-ssec/deploys/6ac579cde98ca00007f0a8f3
😎 Deploy Preview https://deploy-preview-1480--antenna-ssec.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 34 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ef3e572a-039e-4ad1-8cb5-016ac333c41f
📥 Commits

Reviewing files that changed from the base of the PR and between 8cf7122 and 9083664.

📒 Files selected for processing (4)
  • ui/src/nova-ui-kit/components/table/table/table.tsx
  • ui/src/pages/sessions/sessions.tsx
  • ui/src/pages/species/species-columns.tsx
  • ui/src/pages/species/species.tsx
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

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.

Copilot review overview

🟢 Approval recommended

The focused changes fully implement the described behavior without leaving stale usages.

Review effort: Balanced
Findings: None

What changed in this PR

Removes misleading fading from verified taxa while simplifying the shared table API.

Changes:

  • Verified taxa now render at full opacity.
  • Removed the unused per-row class callback from Table.
File Description
ui/​src/​pages/​species/​species.tsx Stops applying reduced opacity to verified taxa.
ui/​src/​nova-ui-kit/​components/​table/​table/​table.tsx Removes the now-unused rowClassName prop.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

A verified count above zero already shows that a taxon has verified
occurrences, so the extra icon repeated the same information.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DurLKiG8bGASzdgs6BtxRq
@mihow mihow changed the title Stop fading taxa that have verified occurrences in the taxa table Stop fading verified taxa and drop the extra verified icon in the taxa table Oct 6, 2026
The taxa list opened in alphabetical order, which puts rarely seen taxa
first. It now opens with the most frequently observed taxa at the top.
The sessions list opened sorted by occurrence count; it now opens with the
most recent session first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DurLKiG8bGASzdgs6BtxRq
@mihow mihow changed the title Stop fading verified taxa and drop the extra verified icon in the taxa table Small fixes to the taxa view Oct 6, 2026
@mihow
mihow merged commit f283392 into main Oct 7, 2026
7 checks passed
@mihow
mihow deleted the fix/taxa-row-faded-when-verified branch October 7, 2026 19:51
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