[Feature request] Disable capture of Ctrl+F keyboard shortcut
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 70/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- javascript
- 领域
- frontend
调研方向
首先定位 Tasks view 中处理 Ctrl-F 的键盘快捷键处理程序,以及打开 Nextcloud Search 的代码。在 Tasks view 中复现该快捷键,然后验证 Ctrl-F 是否会改为调用浏览器的 Find in page;如果保留了其他搜索快捷键,请检查它是否仍会打开 Nextcloud Search。完成的标准是 Ctrl-F 不再被拦截。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
In Tasks view, I often want to search for a term in the task titles.
Normally, I would press Ctrl-F, which is the Find in page keyboard shortcut in most browsers. Then I would enter the search term and press Enter. This is a familiar, efficient workflow that accords with habit and muscle memory.
Nextcloud Tasks breaks that workflow, because it intercepts the Ctrl-F keyboard shortcut, so that instead of launching the browser's Find in page feature, it instead launches Nextcloud's Search dialogue.
This violates the UX/UI principle of least surprise.
Nextcloud's Search dialogue doesn't just search the contents of the page (which is what the user would expect after hitting Ctrl+F in a web browser). It instead searches the user's entire Nextcloud account, and can be quite slow about it!
This means that a Nextcloud Tasks user has to choose between two slow, unpalatable, friction-inducing options:
- Switch to the mouse (a problem in itself for some disabled users) and labouriously access the browser's Find in page function by manually clicking through the relevant browser toolbar menus.
- Wait for the Nextcloud Search to load, and then wait again for it to perform its search (which typically gives more results than the user wants, e.g. calendar events, documents, etc), and then wait yet again for it to navigate to the task of interest once selected.
Describe the solution you'd like
Ctrl-F should not be intercepted by Nextcloud Tasks.
Describe alternatives you've considered
If it is still desired to have a keyboard shortcut for Nextcloud Search from Nextcloud Tasks, then it should be something other than Ctrl-F.
For instance, it could be Ctrl-Shift-F.
Additional context
No response
- 主要语言
- JavaScript
- 星标
- 710
- 派生
- 125
- 平均合并
- 19 小时 37 分钟
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/tasks 的其他 Issue
-
enhancement
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
nextcloud/tasks#3111 · 1 条评论 ·
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 65/100
nextcloud/tasks#122 · 9 条评论 · 25 个 reaction ·
维护者通常 1 天内回复
-
1. to develop
难度 5/5 一周以上 新手友好度 39/100
维护者通常 1 天内回复
-
Calendar for selecting "end repeat" for Recurring Tasks is broken可能已有人在做 @byquanton 于 29 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 65/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 66/100
remotion-dev/remotion#13341 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
svix/svix-webhooks#2808 ·
维护者通常 1 天内回复
-
enhancement should-have ux
难度 2/5 1-3 小时 新手友好度 72/100