Notify the user that a file is locked (and sync does fail because of that) and remove the lock
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
The payload names no files, so start by finding where the Android app's sync failure is reported to the user and whether it receives the server's lock state. Done means a failed sync caused by a file lock shows a notice that the file is locked, and the design choice for unlocking (own lock versus someone else's) is settled first, since the issue lists several options and the maintainers have not picked one.
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
Currently, if a file is locked on the server side (which can happen, even if only e.g. the android notes app is used for editing, which is porbably another bug), the user does not get notified. This is one cause for a failed sync, but the user does not get a hint towards this cause, just an error message.
Describe the solution you'd like
Minimum: Notify the user that the file is locked, instead of just failing to sync. Probably it is useful to use the same icon and tell the user how he can remove the lock, e.g. in the web interface.
Expected: Do not allow to edit a locked file since this is likely to cause data loss.
Ideally: Allow the user to unlock the file, with a hint that this may cause data loss. DEfinitely if the file is locked by the person itself. Maybe more restrictive if somebody else locked it.
Perfect: Merge differences in case there are any between the server side and the app.
Describe alternatives you've considered
No response
Additional context
No response
- 主要语言
- Java
- 星标
- 1.1k
- 派生
- 170
- 平均合并
- 2 小时 39 分钟
- 30 天内合并 PR
- 23
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/notes-android 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
nextcloud/notes-android#3367 ·
维护者通常 1 天内回复
-
0. Needs triage bug
难度 2/5 1-3 小时 新手友好度 74/100
nextcloud/notes-android#3353 · 1 条评论 ·
维护者通常 1 天内回复
-
App not syncing未关闭0. Needs triage bug
难度 4/5 3-5 天 新手友好度 15/100
nextcloud/notes-android#3388 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
nextcloud/notes-android#3386 ·
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
nextcloud/notes-android#3385 ·
维护者通常 1 天内回复
查看 nextcloud/notes-android 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
apache/rocketmq-dashboard#6331 ·
维护者通常 5 天内回复
-
status: team-only type: dependency-upgrade
难度 2/5 1-3 小时 新手友好度 68/100
spring-projects/spring-boot#52143 · 1 条评论 ·
维护者通常 1 天内回复
-
area/frontend good first issue kind/cooldown
难度 2/5 1-3 小时 新手友好度 78/100
kestra-io/kestra#20704 · 1 条评论 ·
维护者通常 1 天内回复