Small bug on text correction
- Dominant language
- TypeScript
- Stars
- 179
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Hi there, nice project! I really like it. This was my first try and I noticed a small bug regarding text correction. Within my 5 phrases, it was `Scaling the server infrastructure for high traffic"` and I got that right, but it counted as wrong because as you can see [here](https://github.com/arthcc/tech-ears/blob/master/components/listenConteiner/listenConteiner.tsx), there's a double space between `high` and `traffic`. This situation also happens in another sentences, such as on the phrase on line 7.
Sadly I didn't take a screenshot to attach. I tried to take a new lesson, but it was only available for tomorrow. Since it's not a relevant change, I didn't feel comfortable enough to open a PR without your knowledge.
EDIT: you made a few changes after I opened this issue, so here's the right [link](https://github.com/arthcc/tech-ears/blob/376ccae92061a767d13a2ba5285c1b5d24a8a292/src/mocks/phrases.ts#L7)
Contributor guide
Research direction
Start with src/mocks/phrases.ts at line 7, using the historical link in the issue, and compare the phrase text with the reported expected sentence. Check the corresponding listenConteiner.tsx reference for the correction path; done means the phrase no longer contains the unintended double space and is not marked wrong when entered correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100