Diaeresis marks on international keyboards cause an error. A warning message might be more appropriate.

未关闭
#2,522 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

首先,在 Chromebook 上使用 Chrome 和国际键盘,通过链接的快照重现该问题。然后,跟踪学生源代码的检查或渲染方式,并将完成标准定义为:对分音符字符提供清晰的警告或高亮显示,帮助用户识别键盘映射问题。

由索引模型根据 Issue 内容生成。

描述

Describe the bug

I was working with a student today who primarily uses an international keyboard. From what I was able to discern her keyboard was mapping the quotation mark character to the Unicode diaeresis (¨) character. It took a good five minutes to figure out what was happening. From a distance, and on lower resolution laptops, diaeresis and quotation marks look incredibly similar (¨ vs "). It would be great if there was a way to detect when this was happening and warn users. I am unsure of what particular international keyboard settings were being used but I could find out if it would be helpful.

To Reproduce

Here is an example of the behavior.
https://popcode.org/?snapshot=7eb205a0-f042-4084-80b5-5b2397778c08

Expected behavior

It would be amazing if we could detect when this occurs and present users with a warning, perhaps with instructions on how to change their keyboard mapping. Simply grepping the student source code would probably be sufficient. Alternatively, highlighting diaeresis marks and similar characters could make the problem easier to spot.

Screenshots

image

  • OS: [e.g. iOS]

Chrome book

  • Browser [e.g. chrome, safari]

Google Chrome

  • Version [e.g. 22]

Version unknown

Additional context

Happy to discuss further if it would help. I would love to teach the students about the process of submitting a bug report / issue. ❤️
Thanks for you help! Popcode is great project!

主要语言
JavaScript
星标
191
派生
143
平均合并
4 天 11 小时
30 天内合并 PR
5

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

popcodeorg/popcode 的其他 Issue

查看 popcodeorg/popcode 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。