Skip to content

Download Flow#683

Open
Stefterv wants to merge 51 commits intoprocessing:mainfrom
Stefterv:download-flow-refactor
Open

Download Flow#683
Stefterv wants to merge 51 commits intoprocessing:mainfrom
Stefterv:download-flow-refactor

Conversation

@Stefterv
Copy link
Member

@Stefterv Stefterv commented Mar 23, 2026

Adds the new download flow and front page refactor to the website

@netlify
Copy link

netlify bot commented Mar 23, 2026

Deploy Preview for java-processing-faf822 ready!

Name Link
🔨 Latest commit f752af6
🔍 Latest deploy log https://app.netlify.com/projects/java-processing-faf822/deploys/69c43042317c8f0008a4629a
😎 Deploy Preview https://deploy-preview-683--java-processing-faf822.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Stefterv added 29 commits March 23, 2026 12:10
Introduces a new WhatsNew component to display release descriptions on the macOS download page. Updates GraphQL queries to fetch release descriptions and integrates the component into the platform download template for improved release information visibility.
re-organised architecture as the .mdx files where not as useful
Introduces separate instruction components for Windows MSI and Zip downloads, and updates the Windows download page to dynamically select the appropriate instructions based on available assets. Also updates MacOS DMG instructions to specify Intel architecture and cleans up unused imports.
Replaces the Selector component with a new platform guessing hook and updates the download page to use it, providing a more dynamic and user-friendly platform selection. Adds new platform-specific screenshots and icons, updates styles, and removes unused images and components. Improves the Switcher component with new styles and active state indication.
Replaced the download-linux.png and download-windows.png images in the src/images directory with updated versions.
Integrates Fathom analytics by adding unique goal IDs to each DownloadButton instance and triggering events on click. Updates DownloadButton to accept an 'id' prop and report downloads, and modifies download instruction components to pass the appropriate goal IDs.
Integrated Donorbox by adding its widget script and embed iframe to the Donate component. Also applied custom styles and padding for improved layout.
Introduces a new Architecture component and FAQ section to clarify which Processing version users should download based on their system architecture. Refactors MacOS download instructions to use the new component, updates styles for improved layout, and enhances the PreviousReleases and WhatsNew components for better usability and consistency.
Enhances the download page by updating previous releases to filter out prereleases, restructures the display of stable and all releases, and adds styled step numbers to instructions. Updates fetchReleases.js to save release notes as markdown files and include prerelease info. Adjusts layout styles for better alignment, exposes the Link component, and adds resource links to the macOS download page.
Introduces a new /download/releases page listing all previous Processing releases. Updates PreviousReleases, Switcher, and download.js to use Gatsby's Link component for internal navigation and improves the display of stable and previous releases. Refactors PreviousReleases to extract useReleasesByMajor hook and streamlines the UI for easier access to older versions.
Refactors the layout and styling of the download-related components and pages for improved clarity and consistency. Updates PreviousReleases and WhatsNew components to use new flex/grid layouts, adjusts color schemes, and modifies the releases page to use React Router Links. Also updates macOS and platform download templates to match the new structure and visual style.
Added release notes for Processing versions 4.4.8, 4.4.9, 4.4.10, and 4.5.0. Updated corresponding JSON release metadata and changed the selected release to 4.5.0 in selected.json.
…for improved code organization and reusability
…5.2, and 4.5.3; modify selected.json to include version 4.5.3
…te Switcher, and enhance CSS for improved layout and user experience
…TA, update DownloadButton to accept variant prop, and improve instruction styles
…and Donate, improve layout in Windows download page, and update instructions for MacOS and Windows installations
@SableRaf
Copy link
Collaborator

SableRaf commented Mar 23, 2026

Thanks for pushing this @Stefterv! Looks fantastic.

A few small notes:

  1. Only old versions have the last step. For now, the easier is leave it out (but make it easy to re-add later). It would need design and the proper social media accounts.
image
  1. Could we bring this module back? Just above the footer.
image
  1. Let's make the warning sticky at the top (just under the menu) so it remains visible.
image
  1. Linux install instructions for older versions would need to the install script.
image
  1. Step 1 should include the version name for clarity (e.g. “Download Processing 4.5.1”):
image
  1. This link (edit: every /download link) seems to go to the homepage instead of the main download page:
image

…ion checks, and add MoreInfoLinks component for improved user guidance
@Stefterv
Copy link
Member Author

Done

@SableRaf
Copy link
Collaborator

Thanks for the fixes @Stefterv. Looking good!

Small issues remain:

  1. At smaller breakpoints, the logo is visible but the editor is not, so the module is not functional. This matches the current behavior, but the added “Try it” text implies that it is interactive. The text block should be hidden at smaller breakpoints.
image
  1. The warning "No ___ distribution is available for this version." is hard to see, and it should say "No ___ distribution is available for Processing {{versionNumber}}" Note: let's also hide the donation and release notes modules which are distracting in that particular edge case.
image
  1. The PreviousReleases-module has too small a max width. It should be allowed to take the full width available.
image
  1. For the version warning, let's make the copy more positive and informative: "You’re viewing an older version of Processing. For the latest release: [Go to 4.5.2]"
image
  1. The layout gets rather messy on mobile. The OS toggles and download buttons could be stacked. The instructions text and step numbers can be smaller.
image image
  1. RPi portable download button gets secondary color even though it's the only button. It should have the default dark blue button style.
image

@SableRaf
Copy link
Collaborator

SableRaf commented Mar 24, 2026

@Stefterv Also, let's add this copy for the logo and examples:

image

…, improve layout, and modify messaging for clarity
@Stefterv
Copy link
Member Author

Done, thanks for the review!

@SableRaf
Copy link
Collaborator

SableRaf commented Mar 24, 2026

Great!

Just one small thing. The clicked state of the donate button is not legible.

image

The examples copy is not included yet

image

Should be

image

@SableRaf SableRaf closed this Mar 24, 2026
@SableRaf
Copy link
Collaborator

@Stefterv Also, loading the home page causes some jumping around and the image fades in from black.

Screen Recording 2026-03-24 at 15 39 47

@Stefterv Stefterv reopened this Mar 24, 2026
@Stefterv
Copy link
Member Author

Stefterv commented Mar 24, 2026

@Stefterv Also, loading the home page causes some jumping around and the image fades in from black.

Looks like this only happens when navigating the page with cache disabled, so the only thing to fix would be the first time black square

@Stefterv
Copy link
Member Author

I removed the black fade at least

@SableRaf
Copy link
Collaborator

Looks much better! Thanks @Stefterv

I noticed one more thing. The donate button in the top menu is not actually clickable, only the word Donate is.

@SableRaf
Copy link
Collaborator

SableRaf commented Mar 24, 2026

Ah and the background one the homepage is still using the old wallpaper which lacks contrast with the white text. I've made a separate frame in Figma and tagged you there so you can export the correct asset.

image

…ackground-darker.svg for improved aesthetics
…ved navigation and update donate button styles for consistency
@SableRaf
Copy link
Collaborator

@Stefterv will this PR be is blocked by the Linux install script?

@Stefterv
Copy link
Member Author

Yeah, but it is also easy to write a quick snap tutorial for now

@SableRaf
Copy link
Collaborator

SableRaf commented Mar 25, 2026

@Stefterv It looks like the menu's styling randomly breaks. The Donate button shows as a regular menu item and some other items are not styled and not interactive. It doesn't happen systematically but I couldn't figure out what causes it.

image

@Stefterv
Copy link
Member Author

For me its permanent, looks like a hydration issue between the SSR and SPA

…or improved navigation and update donate button styles for consistency"

This reverts commit 0af8ac8.
@Stefterv
Copy link
Member Author

Different dumber solution :)

@SableRaf
Copy link
Collaborator

Different dumber solution :)

Indeed 🤭

image

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