Skip to content

feat: add asset downloads + change soda for sparc -> SODA#683

Merged
aaronm-2112 merged 3 commits into
mainfrom
updated-soda-page
Jun 9, 2025
Merged

feat: add asset downloads + change soda for sparc -> SODA#683
aaronm-2112 merged 3 commits into
mainfrom
updated-soda-page

Conversation

@aaronm-2112
Copy link
Copy Markdown
Member

@aaronm-2112 aaronm-2112 commented Jun 9, 2025

Summary by Sourcery

Add asset downloads display and update impact metrics, rebrand the application from “SODA for SPARC” to “SODA,” refresh site copy to reflect the broader PNS data focus, and expand the development timeline with Phases V and VI.

New Features:

  • Add asset downloads metric to the Impact component
  • Introduce Phase V and VI development entries in the project timeline

Enhancements:

  • Update Impact component counts for files, datasets, and data volumes
  • Rebrand UI labels and headings from “SODA for SPARC” to “SODA” across multiple pages
  • Refresh hero, carousel, and SEO copy to emphasize peripheral nervous system data support and FAIR SDS workflows

Documentation:

  • Revise About and Info sections with updated product description, installation stats, and scope

@aaronm-2112 aaronm-2112 requested a review from megasanjay as a code owner June 9, 2025 18:51
@fairdataihub-bot
Copy link
Copy Markdown

Thank you for submitting this pull request! We appreciate your contribution to the project. Before we can merge it, we need to review the changes you've made to ensure they align with our code standards and meet the requirements of the project. We'll get back to you as soon as we can with feedback. Thanks again!

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Jun 9, 2025

Reviewer's Guide

This PR enhances the Impact component by updating and extending its metrics display, renames all UI references from “SODA for SPARC” to “SODA” across the app, and refreshes descriptive content, SEO metadata, and timeline entries to reflect the new branding and upcoming development phases.

Updated Class Diagram for the Impact Component

classDiagram
  class Impact {
    <<Functional Component>>
    - filesNum: Number
    - datasetsNum: Number
    - dataNum: Number
    - assetDownloads: Number
    + render(): void
  }
Loading

Class Diagram for SodaForSparcPage Timeline Update

classDiagram
  class TimelineEntry {
    +longDate: String
    +title: String
    +content: String
  }
  class SodaForSparcPage {
    <<Page Component>>
    - timelineList: TimelineEntry[]
    + renderPageContent(): void
  }
  SodaForSparcPage "1" -- "0..*" TimelineEntry : has
Loading

File-Level Changes

Change Details Files
Update Impact metrics and UI structure
  • Updated filesNum, datasetsNum, and dataNum constant values
  • Added assetDownloads constant and corresponding metric block
  • Relabeled metrics for files, datasets, and downloads
  • Adjusted id attributes for metric spans
src/components/sodaforsparc/impact.js
Rename branding from “SODA for SPARC” to “SODA”
  • Replaced “SODA for SPARC” in headings and titles
  • Updated project card and carousel component titles
  • Adjusted call-to-action text across pages
src/pages/index.tsx
src/pages/projects.tsx
src/components/sodaforsparc/hero.tsx
src/components/home/projectsCarousel.tsx
src/components/sodaforsparc/about.tsx
src/components/sodaforsparc/info.tsx
Refresh content copy, timeline entries, and SEO metadata
  • Rewrote About section with updated description and usage stats
  • Extended timelineList with Phase V and VI development entries
  • Updated SEO templateDescription to match refreshed copy
  • Refined Info section paragraphs for license and funding details
src/components/sodaforsparc/about.tsx
src/pages/sodaforsparc.tsx
src/components/sodaforsparc/info.tsx

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fairdataihub-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 9, 2025 6:52pm

@fairdataihub-bot
Copy link
Copy Markdown

Thanks for making updates to your pull request. Our team will take a look and provide feedback as soon as possible. Please wait for any GitHub Actions to complete before editing your pull request. If you have any additional questions or concerns, feel free to let us know. Thank you for your contributions!

@megasanjay
Copy link
Copy Markdown
Member

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 9, 2025

Running Lighthouse audit...

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey @aaronm-2112 - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 4 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

<p className="my-1 text-center font-lato text-5xl font-bold sm:text-4xl md:text-5xl lg:text-6xl">
<span id="dataNum">{dataNum}</span>
<span>+ TB</span>
<span id="datasetsNum">{assetDownloads}</span>
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.

suggestion: Use a unique id for the assetDownloads span to avoid collisions

Rename the id from datasetsNum to something like assetDownloads for clarity and to prevent potential DOM id conflicts.

Comment on lines +55 to +57
templateDescription="SODA is a cross-platform desktop software that helps researchers
prepare and share FAIR peripheral nervous system (PNS) related data
and models using the SPARC Data Structure (SDS) and the SPARC Portal."
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.

suggestion: Avoid unintended whitespace from multiline JSX string

This prop will render with unwanted line breaks and spaces; use a single line or adjust formatting to avoid extra whitespace.

Suggested change
templateDescription="SODA is a cross-platform desktop software that helps researchers
prepare and share FAIR peripheral nervous system (PNS) related data
and models using the SPARC Data Structure (SDS) and the SPARC Portal."
templateDescription="SODA is a cross-platform desktop software that helps researchers prepare and share FAIR peripheral nervous system (PNS) related data and models using the SPARC Data Structure (SDS) and the SPARC Portal."

Comment on lines +37 to +41
{
longDate: `Sept 2023 - Aug 2024`,
title: `Phase V development`,
content: `The SODA team improved the user interfaces of SODA and enhanced workflows to further simplify data submission for non-SPARC users and worked with the MBF team for integrated MicroFile+ and Biolucida with SODA (and more).`,
},
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.

suggestion: Tighten and clarify Phase V timeline description

Update the phrase to 'to integrate MicroFile+ and Biolucida with SODA' and remove '(and more)' for clarity.

Suggested change
{
longDate: `Sept 2023 - Aug 2024`,
title: `Phase V development`,
content: `The SODA team improved the user interfaces of SODA and enhanced workflows to further simplify data submission for non-SPARC users and worked with the MBF team for integrated MicroFile+ and Biolucida with SODA (and more).`,
},
{
longDate: `September 2023 – August 2024`,
title: `Phase V development`,
content: `The SODA team improved the user interfaces of SODA and enhanced workflows to further simplify data submission for non-SPARC users and worked with the MBF team to integrate MicroFile+ and Biolucida with SODA.`,
},

Comment on lines +11 to +13
SODA is a cross-platform desktop software that helps researchers
prepare and share FAIR peripheral nervous system (PNS) related data
and models using the SPARC Data Structure (SDS) and the SPARC Portal.
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.

suggestion (typo): Hyphenate 'PNS-related' for better readability

As a compound adjective before 'data', 'PNS-related' should be hyphenated.

Suggested change
SODA is a cross-platform desktop software that helps researchers
prepare and share FAIR peripheral nervous system (PNS) related data
and models using the SPARC Data Structure (SDS) and the SPARC Portal.
SODA is a cross-platform desktop software that helps researchers
prepare and share FAIR peripheral nervous system (PNS)-related data
and models using the SPARC Data Structure (SDS) and the SPARC Portal.

@aaronm-2112 aaronm-2112 merged commit d8d2568 into main Jun 9, 2025
10 of 12 checks passed
@fairdataihub-bot
Copy link
Copy Markdown

Thanks for closing this pull request! If you have any further questions, please feel free to open a new issue. We are always happy to help!

github-actions Bot pushed a commit that referenced this pull request Jun 9, 2025
# [2.51.0](v2.50.0...v2.51.0) (2025-06-09)

### Features

* add asset downloads + change soda for sparc -> SODA ([#683](#683)) ([d8d2568](d8d2568))
@fairdataihub-bot
Copy link
Copy Markdown
Member

🎉 This PR is included in version 2.51.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@megasanjay megasanjay deleted the updated-soda-page branch August 21, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants