Skip to content

Error message UI rebased to 1448#1487

Draft
cocomarine wants to merge 58 commits into
mainfrom
1448-and-ui-branches-combined
Draft

Error message UI rebased to 1448#1487
cocomarine wants to merge 58 commits into
mainfrom
1448-and-ui-branches-combined

Conversation

@cocomarine

@cocomarine cocomarine commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

❗ This branch was created by rebasing #1485 to #1483.

Decisions made upon adding pfem v. 0.5.0

  • ErrorMessage now optionally includes FriendlyErrorMessage
  • Moved ErrorMessage to the bottom of input panel above Run button
  • When there are multiple Python files:
    • An error from main.py shows first.
    • When there are errors only in files other than main.py, they will show (one at a time).
    • Whatever error is shown will stay even when you select other tabs within the input panel.

Screenshots

  • When friendly_errors_enabled attribute is set to true:
    • Pyodide

    • Skulpt

@cocomarine cocomarine temporarily deployed to previews/1487/merge June 3, 2026 08:16 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 3, 2026 10:38 — with GitHub Actions Inactive
@cocomarine cocomarine mentioned this pull request Jun 3, 2026
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 3, 2026 12:02 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 5, 2026 15:39 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 5, 2026 15:52 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 8, 2026 10:30 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 8, 2026 14:57 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 9, 2026 08:55 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 9, 2026 12:16 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 9, 2026 14:15 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 9, 2026 14:33 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 9, 2026 14:43 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 10, 2026 08:33 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 10, 2026 08:34 — with GitHub Actions Inactive
…icitly

rawTraceback contains `<exec>` instead of `main.py` as the filename, for example, we can now override the filename passed to friendlyExplain()
@grega grega temporarily deployed to previews/1487/merge June 10, 2026 15:21 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 10, 2026 15:33 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1487/merge June 10, 2026 15:54 — with GitHub Actions Inactive
PFEM 0.6.0 markup has improved accessibility attributes, such as aria labels and roles.

Has no effect on the styling (since classes, and the markup as a whole, remain the same).
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.

3 participants