Changed to include just the datasets used in the curated datset#4
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the RADEO-Net datasets page to load and display only the datasets from the curated BioVFM spreadsheet, while refreshing the UI styling and adding richer visual indicators (badges, heatmap, animated header background).
Changes:
- Switched the XLSX source to
BioVFM Datasets.xlsx, reading from theWebsitesheet and mapping BioVFM-specific columns (notablyLinkandModality). - Added animated floating header images and updated typography/styling (Inter font support, refreshed table/header styles).
- Improved dataset presentation with hashed badge colors (Body Part / Anatomical Area) and a dataset-size heatmap; updated modality parsing to support
;delimiters.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
715
to
+719
| <span | ||
| key={i} | ||
| className={`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-semibold border transition-all duration-150 cursor-help ${badgeClass}`} | ||
| className={`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-semibold border ${badgeClass}`} | ||
| /* | ||
| // Broad modality hover preview commented out for future use: |
Comment on lines
+702
to
+704
| {row.modality.split(/[;,]/).map((mod, i) => { | ||
| const m = mod.trim(); | ||
| // Revert to original modality rendering style for standard Modality column values: |
Comment on lines
+260
to
+265
| const n = parseFloat(String(sizeStr).replace(/,/g, '')); | ||
| if (isNaN(n) || n <= 0) return { background: '#f1f5f9', color: '#475569', border: '1px solid rgba(203,213,225,0.6)' }; | ||
| const logN = Math.log10(n); | ||
| const logMin = Math.log10(Math.max(1, Math.min(...allSizes.filter(x => x > 0)))); | ||
| const logMax = Math.log10(Math.max(...allSizes.filter(x => x > 0))); | ||
| const t = logMin === logMax ? 0.5 : Math.max(0, Math.min(1, (logN - logMin) / (logMax - logMin))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.