processing / processing/p5.js

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

Open
#7,269 1 comment 0 reactions 1 assignee View on GitHub

@sproutleaf is already working on this.

Since Sep 15, 2024.

Enhancement Friendly Errors
Dominant language
JavaScript
Stars
24k
Forks
3.8k
Avg merge
3d 16h
Merged PRs (30d)
25

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.