Pressing left and right arrows in a text field in the prep view does navigation
On https://programming.codeyourfuture.io/data-groups/sprints/3/prep/#character-limit type something in the textarea, then press left or right to move the cursor so you can edit the content.
See that instead of interacting with the textarea, you end up navigating to a different prep section.
Our nav shouldn't interfere with browser-native controls like this.
Oh it's probably listening to the window, yeah. Definitely something to fix 💯
Can you assign this to me
Hi, I'm not sure how to start, and the contributing README wasn't very helpful. Could you provide more guidance or point me to the right docs? Thanks!
Hi there 😀. There is a docs site right over here: common.codeyourfuture.io
Hi there,
I'm interested in contributing to this issue, but I'm having trouble locating the page referenced at /data-groups/sprints/3/prep/#implementing-a-character-limit.
I've already: Reviewed the README and contributing guidelines. Run the project locally. When I navigate to http://localhost:1313/data-groups/sprints/3/prep/#implementing-a-character-limit, I get a 404 error.
Could you kindly point me to the correct location or provide any guidance on where this part of the project is defined? I'd appreciate your help.
Thanks!
Hi there,
I'm interested in contributing to this issue, but I'm having trouble locating the page referenced at /data-groups/sprints/3/prep/#implementing-a-character-limit.
I've already: Reviewed the README and contributing guidelines. Run the project locally. When I navigate to http://localhost:1313/data-groups/sprints/3/prep/#implementing-a-character-limit, I get a 404 error.
Could you kindly point me to the correct location or provide any guidance on where this part of the project is defined? I'd appreciate your help.
Thanks!
Hi @ionesosa-encora . Welcome! I think this file is still here on the site
https://programming.codeyourfuture.io/data-groups/sprints/3/prep/#implementing-a-character-limit
Some diagnostic questions: can you access any pages on your local? Is it only this page that is blocked? Can you describe how you are navigating to thie location?
Hi, thanks for your response! I was able to locate the relevant files: The page is defined at: org-cyf-itp/content/data-groups/sprints/3/prep/index.md. The associated module for "Implementing a character limit" is located at: common-content/en/module/js2/character-limit/index.md. However, I’m running into issues when trying to run the project locally:
When I run npm run start:dev inside the org-cyf/ directory, the project starts, but I can’t navigate properly. Some links redirect me to the production site, and others return a 404 error. When I try to run npm run start:dev from org-cyf-itp/, it doesn’t work at all. I’ve already set up a .env file at the root of the project with a valid HUGO_CURRICULUM_GITHUB_BEARER_TOKEN. Could you provide guidance on how to properly run the project and navigate these specific routes?
Thanks for your help!
Sounds pretty weird! I asked around and nobody has encountered this issue. Thanks for updating us. Are you on a Windows machine?
Hi! I would like to work on this issue. I noticed that pressing the left and right arrow keys inside a text field triggers navigation instead of moving the cursor. I can add a check to prevent arrow key navigation when typing inside input or textarea fields. Could you please assign this issue to me?