Skip to content
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

Revamp Friendly Error System's Detection of Accidentally Overridden Constants and Functions #7269

Open
1 of 21 tasks
sproutleaf opened this issue Sep 15, 2024 · 0 comments
Open
1 of 21 tasks

Comments

@sproutleaf
Copy link

sproutleaf commented Sep 15, 2024

Increasing access

As p5.js migrates to v2.0 and takes on a new technical architecture, the old way of detecting accidentally overridden constants and functions in FES would no longer work. This issue mediates the disconnect and ensures that the feature remains accessible and functional in the future.

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

Task List

  • Retrieve user's code from the browser
  • Extract functions and constants from the code
  • Identify functions and constants that are overriding the ones defined in p5
  • Generate friendly messages to users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant