mathiasbynens / mathiasbynens/jsperf.com

Remove code snippet not working

Open
#249 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
471
Forks
53
PR merge metrics
No merged PRs in 30d

Description

according to the docs:

> Can I remove a snippet from my test case?
> Absolutely. Just edit the test case, clear the ‘title’ and ‘code’ fields for the snippet you want to remove and save your changes.

but when attempting to do so it is acting as if the title field is required for a snippet and will not let me remove it. Once I hit save it refreshes the page and get the following message next to the snippet in question

![image](https://cloud.githubusercontent.com/assets/10969408/24305389/02ba9418-107a-11e7-83cc-50f389d8be10.png)

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 by reproducing the test-case edit flow described in the issue: clear a snippet’s title and code fields, save, and observe the validation message. Compare that behavior with the documented removal procedure; done means the empty snippet can be removed without a title-required error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.