[BUG] Remove share icon from top bar in kws accounts

已关闭 适合新手
#5,008 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@joragua 已经在做这个了。

开始于 2026年10月28日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
android, kotlin
领域
mobile

调研方向

从 ownCloud Android 应用的顶栏 / 工具栏设置入手(共享工具栏或会 inflate 分享菜单项的文件列表 activity,issue 中已附截图),找到分享操作被设为可见的位置。确认应用如何区分 KWS 账户与普通账户(代码库中其他地方已使用的账户类型检查),并据此条件控制分享图标的显示。完成的标准是:KWS 账户上该图标不显示,普通服务器上仍然显示;检查现有的覆盖工具栏菜单可见性的单元测试 / UI 测试,如有则补充一个。

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

描述

Estimation - 2 (S) KW-related Sprint Type:bug

Regular servers shows a share icon on the top bar:

Image

it should be hidden for kws servers, since sharing is not an available feature (as today)

Also, take in account the following comment https://github.com/owncloud/android/pull/5022#issuecomment-6309729348: Share option should not be available in the bottom sheet.

TASKS
  • Research (if needed)
  • Create branch fix/remove_share_option_in_kws_accounts
  • Development tasks
    • Remove Share option from top bar
    • Remove Share from bottom sheet
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch fix/remove_share_option_in_kws_accounts into master
主要语言
Kotlin
星标
4.2k
派生
3.1k
平均合并
3 天 15 小时
30 天内合并 PR
19

环境准备

从这里开始

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

owncloud/android 的其他 Issue

查看 owncloud/android 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

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