popcodeorg / popcodeorg/popcode

Runtime errors should clear when you press the Refresh button

Open
#1,196 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted
Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

Pressing the “Refresh” button should clear runtime errors.

To reproduce:

  • Write some JS code that will generate an error, e.g.

    $('body').click(function() { window.bogus.thisWillError(); });
    
  • Trigger the error

  • Click the “refresh” button in the top-left of the preview

  • Expect the error notification to disappear

  • Observe that it doesn’t

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start at the preview's Refresh button handler and reproduce the runtime error with the JavaScript example from the issue. Trace how the error notification is stored and cleared, then verify that pressing Refresh removes it while preserving the expected preview behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.