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

Export stopwatch times as csv

未关闭 适合新手
#492 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 7 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

首先,在 FossifyOrg/Clock 的 Android 代码库中找到秒表界面的实现。然后找到三点菜单代码,以及存储单圈时间和累计时间的数据结构(如 issue 中所述,内部以毫秒为单位存储)。实现导出功能,将这些时间按照提供的示例格式化为 CSV,然后添加分享或保存生成文件的操作。当 Export 按钮出现在秒表菜单中,并且点击后能生成格式正确的 CSV 时,此功能即告完成。

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

描述

feature request needs triage
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

On the stopwatch screen, in the three-dot menu in the top left, I would like an ‘Export’ button that exports the round numbers, lap times and cumulative times as a csv. (Just as it is displayed in the app.)

For example, an export of a 12-second 4-lap session could look like this[^1]:

round,lap_time,cumulative_time
1,2.9,2.9
2,3.2,6.1
3,3.1,9.2
4,2.8,12.0
Why do you want this feature?

The stopwatch is beautiful, but it unfortunately can’t be used for data gathering and analysisas of now.

Additional information

[^1]: Although the app displays the lap times in deciseconds (0.1 s), it’s best to use milliseconds in the export, because that’s how the times are stored internally.

主要语言
Kotlin
星标
706
派生
73
平均合并
5 天 17 小时
30 天内合并 PR
8

环境准备

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

从这里开始

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

FossifyOrg/Clock 的其他 Issue

查看 FossifyOrg/Clock 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

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