Skip to content

[#3504] Add version labels for default and beta versions #3525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

A-L-A
Copy link

@A-L-A A-L-A commented Jun 17, 2025

Fixes #3504

Changes:

  • Marked 1.11.7 as '(Default)' and 2.0.3 as '(Beta)'
  • Updated p5Versions array format for both versions
  • Enhanced VersionPicker.jsx to handle both object and string version formats
  • Maintained backward compatibility with existing version switching

TESTING PERFORMED:

  1. Manual Testing:
  • Manual verification of label display for all version types
  • Confirmed version switching works between:
    • Labeled versions (default/beta)
    • Unlabeled versions
  1. Automatic Testing:
    -All existing tests pass
    -No linting errors
    -Note: No pre-existing tests for this component

Notes:

  • React lifecycle warnings shown are pre-exist

- Marked 1.11.7 as '(Default)' and 2.0.3 as '(Beta)'
- Updated version matching logic to handle object format
- Maintained backward compatibility with string versions
Copy link

welcome bot commented Jun 17, 2025

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.

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.

Resetting to p5.js default version
1 participant