Extract icon from folder if it's the only one present in it

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

The payload names no files, so begin by locating the folder code in the Kotlin Android launcher and checking how a folder's item count is handled when an app is removed. Reproduce by putting two apps in a folder, removing one, and confirming the folder stays a folder. Done means a folder left with one app is shown as that app's normal icon, and the change is covered by a test or a manual check described in the PR.

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

描述

feature request
Checklist
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
Feature description

I'd like for a single icon in a folder to automatically turn into a normal icon.

Why do you want this feature?

It's a minor UX improvement: since a folder is a way to group multiple apps in a tile, it doesn't really make sense to have a folder with a single icon in it.

Also good first issue for those who are interested.

Additional information

Flow:

  1. I have two app icons in a folder
  2. I remove one of them
  3. The folder with the single icon in it automatically turns back into the normal icon
主要语言
Kotlin
星标
703
派生
85
平均合并
14 小时 44 分钟
30 天内合并 PR
10

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

FossifyOrg/Launcher 的其他 Issue

查看 FossifyOrg/Launcher 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

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