Skip to content

added an extra column to the table and changed styling of numbers - #6

Merged
ajayjagan2511 merged 1 commit into
mainfrom
pages
Jul 29, 2026
Merged

added an extra column to the table and changed styling of numbers#6
ajayjagan2511 merged 1 commit into
mainfrom
pages

Conversation

@ajayjagan2511

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 29, 2026 20:19
@ajayjagan2511
ajayjagan2511 merged commit fc2bb5a into main Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the RADeNet datasets table to display an additional “Images” field and replaces the previous dataset-size heatmap badge with a richer numeric-cell visualization.

Changes:

  • Introduces a FancyNumericCell component for rendering numeric values with color + bar styling.
  • Adds a new “Images” column to the table and includes it in CSV export output.
  • Extends XLSX parsing to read a “Processed Images” field into the dataset model.

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

Comment thread radeonet.html
<FancyNumericCell valStr={row.datasetSize} allSizes={numericSizes} />
</td>
<td className="whitespace-nowrap py-5 px-8 text-sm">
<FancyNumericCell valStr={row.images} allSizes={numericImages} />
Comment thread radeonet.html
Comment on lines +266 to 274
// If there are no valid sizes (all sizes are zero/empty array), logMin and logMax might be invalid
const validSizes = allSizes.filter(x => x > 0);
let t = 0.5;
if (validSizes.length > 0) {
const logN = Math.log10(n);
const logMin = Math.log10(Math.max(1, Math.min(...validSizes)));
const logMax = Math.log10(Math.max(...validSizes));
t = logMin === logMax ? 0.5 : Math.max(0, Math.min(1, (logN - logMin) / (logMax - logMin)));
}
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