Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pull Request] 优化设备页面显示, 新增设备服务状态控制, 等其它改进 #29

Merged
merged 48 commits into from Apr 18, 2023

Conversation

Dynesshely
Copy link
Member

What does this PR do?

Features:

  • 现可以运行时修改显示语言, 并记住选项, 在下次启动时切换到对应语言
  • 现可以手动关闭或是重启设备服务, 在设备管理页面右上角会实时显示设备服务状态
  • 退出传感器数据测试页面时, 停止捕获陀螺仪传感器数据并停止绘图, 以提升性能
  • 设备姿态实时解算部分现支持单击暂停, 重置操作变更为长按触发
  • 设备管理页面优化横屏显示, 支持自主选择列数 (目前支持 2 列 和 3 列的配置)
  • 优化设备管理页面显示效果, 添加返回顶部按钮, 设备卡片增加进入动画并支持拖拽排序
  • Native 层通信, MAC 地址有关改进, 设备卡片更新
  • 每十分钟自动导出并清理日志, 以提高软件稳定性

Breaking changes:

  • 更改包 id 从 com.crequency.kitx.kitx_mobilecom.crequency.kitx.mobile

Related issues

…, the restore function assigned to long press.
Squashed commit of the following:

commit f381274
Author: Dynesshely <catrol@qq.com>
Date:   Mon Mar 27 15:02:00 2023 +0800

    💾 Feat(DevicePage): 横屏模式下可以选择列数了

commit d414435
Author: Dynesshely <catrol@qq.com>
Date:   Mon Mar 27 14:37:44 2023 +0800

    💾 🧩 Feat, Refactor(DevicesPage): 横屏模式改用 Wrap 来组织卡片; 进行了 const 优化, SizedBox 优化
Changes:

1. Removed `mac_address` package because it has no iOS version.
2. Updated some config files of XCode.
3. Updated .gitignore for XCode related.

Squashed commits:

- 96aaddf
- 40db225
- 1d24724
- fa96b6a
- 7d3dfa7
- 3e97749
- 0f515de
- bb25d4c
- 6a1320f
Changes:

1. 新增 Android Native 代码 (Kotlin), 通过 channel 与 flutter 通信
2. Android Native 新增获取 MAC 地址方法
3. Android Native 新增显示通知文字方法
4. 引入 `badges` 包用于显示徽章
5. 引入 `crypto` 包用于进行加解密运算 (主要使用了 MD5 算法)
6. 设备卡片进入动画现可适用全局额外动画选项关闭
7. 当应用无法获取真实 MAC 地址时, 伪造一个用于设备识别 (`FO` 开头)
8. 设备结构信息改变时, 为显示卡片重建更多信息
9. 设备卡片新增 MAC 地址显示, 在线插件数用徽章显示在右侧

Squashed commits:

- 82340ac
- eab7a05
- 2710d28
- 5f9c004
- e02813c
- 055d48d
- ecfd92b
- 86bf109
- 570ea85
- cb2fc5a
- 83b69d7
- f961b83
- 965185b
- e29e09d
- 06432ea
# <emoji> <types>(<scope>): <subject>
# <emoji>: 💾/🔧/📄/🎇/🧩/✅/❌/📝/📦/🐛
# <types>: Feat/Fix/Docs/Style/Refactor/Test/Test/Chore/Struct/Bug
# demo: 💾 📝 📦 Feat, Chore, Struct(Scope): issue or changelog

# <body>

# <footer> (Breaking Changes)

# Date:
# Author:
# <emoji> <types>(<scope>): <subject>
# <emoji>: 💾/🔧/📄/🎇/🧩/✅/❌/📝/📦/🐛
# <types>: Feat/Fix/Docs/Style/Refactor/Test/Test/Chore/Struct/Bug
# demo: 💾 📝 📦 Feat, Chore, Struct(Scope): issue or changelog

# <body>

# <footer> (Breaking Changes)

# Date:
# Author:
- Imported package `sliding_up_panel`
- Open panel by tapping device card
- Now device card widget accept `onTap` parameter

Squashed commits:

- dff6df7df9fe1106b44bd5e9719bf437ac5bcf62
- 4ab1d27eff8709a0e4a4592a32e73a3082f1e513
- 20ae31471cd1910ba60adc3198249a253e9854e3
- abe16cefee73a1bd16fad83fb484b8d920fb102b
@Dynesshely Dynesshely added the enhancement New feature or request label Apr 18, 2023
@Dynesshely Dynesshely merged commit e0a78d4 into main Apr 18, 2023
1 check failed
@Dynesshely Dynesshely added the merged Pull Request had been merged label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request merged Pull Request had been merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant