Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Notify the user that a file is locked (and sync does fail because of that) and remove the lock

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
android, java
领域
mobile

调研方向

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 内容生成。

描述

enhancement
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

环境准备

从这里开始

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

nextcloud/notes-android 的其他 Issue

查看 nextcloud/notes-android 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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