Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 3, 2025

Files can exist without associated participants or biospecimens. When users filter to such files, the summary shows 0 Cases or 0 Biospecimens with >0 Files, which can be confusing.

Changes

  • ExploreSummary.tsx: Detect when fileCount > 0 but caseCount === 0 or biospecimenCount === 0, and display a Bootstrap info alert explaining the data gap
  • exploreSummary.module.scss: Add styling for the banner

Banner Messages

Condition Message
0 cases "Note: Some files are missing associated participant information."
0 biospecimens "Note: Some files are missing associated biospecimen information."
Both 0 "Note: Some files are missing associated participant or biospecimen information."

Example

{missingInfoMessage && (
    <div className={`alert alert-info ${styles.missingInfoBanner}`}>
        {missingInfoMessage}
    </div>
)}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • dl96orhu96.us-east-1.aws.clickhouse.cloud
    • Triggering command: /usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/htan-portal/htan-portal/node_modules/next/dist/server/lib/start-server.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Files without associated participants or biospecimens</issue_title>
<issue_description>There are cases where a file doesn't have an associated participant or biospecimen. Could we add some info banner when that situation occurs on the explore page? I.e. check whether the user is seeing 0 associated particpants or biospecimens but >0 files, then add a note that the file is missing participant or biospecimen info</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Dec 3, 2025
@vercel
Copy link

vercel bot commented Dec 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
htan-portal-nextjs Ready Ready Preview Comment Dec 3, 2025 11:55pm

@netlify
Copy link

netlify bot commented Dec 3, 2025

Deploy Preview for htan-portal failed. Why did it fail? →

Name Link
🔨 Latest commit b553ae8
🔍 Latest deploy log https://app.netlify.com/projects/htan-portal/deploys/6930cd84563e3e0008c098bf

…ions

Co-authored-by: inodb <1334004+inodb@users.noreply.github.com>
…n outside component

Co-authored-by: inodb <1334004+inodb@users.noreply.github.com>
Copilot AI changed the title [WIP] Add info banner for files without participants or biospecimens Add info banner for files missing participant or biospecimen associations Dec 3, 2025
Copilot AI requested a review from inodb December 3, 2025 23:55
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.

Files without associated participants or biospecimens

2 participants