question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reduce require submit times needed to show reset the code button

See original GitHub issue

Is your feature request related to a problem? Please describe.

In forum, people come frustrated, I think when they have the ability to reset their steps early, it will reduce that frustration.

Describe the solution you’d like

Show reset button after one click.

Seeing reset button showing after one click, will make it look like we are offering tools if they need them, instead of blocking them.

Pressing reset button will reset the counter, which should need to be changed, as well.

Describe alternatives you’ve considered

Show reset button right away, although easier, it will make people feel, we are blocking need for help button, because you can’t access it unless you have submitted three times.

Additional context

If you would like to fix this issue, please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in Discord server) or the forum if you need help contributing, our moderators will guide you through this.

Sometimes we may get more than one pull requests. We typically accept the most quality contribution, followed by the one that is made first.

You can try to take inspiration from this pull request 😉 if you want to tackle it https://github.com/freeCodeCamp/freeCodeCamp/pull/46641

Happy contributing.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

3reactions
bbsmoothcommented, Jul 27, 2022

I’ll just add that the words “tooltip” and “accessibility” almost never go together. So if we are going to use icon buttons for restart and help then we need to pick icons that are very obvious.

2reactions
Jagrutiticommented, Jul 31, 2022

I find this issue interesting and would like to take this up. The thing is I am a noob in React.

I read the React documentation but will need help from time to time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I prevent refresh of page when button inside form is ...
On clicking the button, the function gets called with page refreshed, which resets all my previous request which affects the current page which...
Read more >
How to Prevent a Form from Clearing Fields on Submit
This video is a sample from Skillsoft's video course catalog. In JavaScript, you can use HTML forms for all sorts of purposes but...
Read more >
How to create a Reset Button in form using HTML
In this article, we will learn how to create a Reset Button in HTML forms. Basically, the reset button is used to reset...
Read more >
better form submissions with event.preventdefault and ...
Two tools to keep in your tool belt when adding forms to your website should be: Event.preventDefault(); HTMLFormElement.reset().
Read more >
reset value of actionButton? · Issue #167 · rstudio/shiny - GitHub
I have this code inside an observeEvent to save every time I make changes to a map, the problem is that as soon...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found