Skip to content

为 Linux 加上 Deadline 桌面小组件和应用代理 - #148

Closed
reisa531 wants to merge 1 commit into
HeZeBang:masterfrom
reisa531:codex/linux-deadline-widgets-proxy
Closed

reisa531 wants to merge 1 commit into
HeZeBang:masterfrom
reisa531:codex/linux-deadline-widgets-proxy

Conversation

@reisa531

@reisa531 reisa531 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

具体改动

feat: 为 Linux 添加 Deadline 桌面小组件,
feat: 应用代理设置
fix: Linux下登录窗口修复

具体AI总结:

  • GNOME 支持桌面卡片和顶栏入口,KDE Plasma 支持桌面卡片和面板入口。显示作业、考试、课程、截止时间和倒计时,点击后打开应用的 Deadlines 页面。
  • 小组件只读取应用生成的本地快照,不接收账号凭据。隐藏、完成、换号和退出登录时会同步更新展示数据;Settings 中可以关闭共享。
  • 卡片按内容调整尺寸。剩余时间在 12 小时内用红色提示,超过 12 小时至 36 小时使用强调色。
  • Settings 增加代理地址和启用开关。Dart HTTP 请求与 Linux 登录窗口读取该设置,关闭代理时明确直连。
  • Linux UniAuth 使用 GTK/WebKit 窗口,避免原先关闭登录弹窗时主程序崩溃的问题。
  • Linux 发布包带上小组件、用户级安装器和项目图标。

Caution:
在PR#135中存在部分依赖,需要维护者合并。

Closes #146

关联 #147:这次先提交 Linux 部分和共享的 Dart HTTP 代理配置。

支持 GNOME 桌面卡片、顶栏入口和 KDE Plasma 小组件,
使用应用生成的本地快照,点击后打开 Deadlines 页面。

补充共享开关、账号切换时的数据清理、临期提示和按内容调整尺寸。
增加可启用或关闭的应用代理,并改用原生 WebKit 登录窗口,
处理 Linux 登录弹窗加载和关闭时的问题。

Linux 发布包同时带上小组件、安装器和项目图标。

Closes HeZeBang#146
Refs HeZeBang#147(Linux 部分)
@github-project-automation github-project-automation Bot moved this to Backlog in TechPie Oct 26, 2026
monkeycode-ai Bot pushed a commit to steven42121/TechPie-RCCE that referenced this pull request Oct 26, 2026
Takes the Linux desktop widgets (GNOME card + top-bar entry, KDE card +
panel entry), the deadline snapshot store and the user-level installer, the
application proxy setting shared by Dart HTTP and the Linux login window,
and the GTK/WebKit login window that stops the crash on close.

Integration choices on this fork:
- keep the RCCE island/glance/band/wear wiring: the new deadline widget
  service is registered next to wearEngineService and disposed with the app;
- the update prompt keeps RCCE's navigator-context form;
- deadline widget launch asks the shell to select the Deadlines destination
  through appShellPendingDeadlines, next to the campus-card pending entry.
Co-authored-by: monkeycode-ai <monkeycode-ai@chaitin.com>
reisa531 added a commit to reisa531/TechPie-flutter that referenced this pull request Oct 28, 2026
支持 GNOME 桌面卡片、顶栏入口和 KDE Plasma 小组件,
使用应用生成的本地快照,点击后打开 Deadlines 页面。

补充共享开关、账号切换时的数据清理、临期提示和按内容调整尺寸。
增加可启用或关闭的应用代理,并改用原生 WebKit 登录窗口。

(原 PR HeZeBang#148,现并入本分支)
@reisa531

Copy link
Copy Markdown
Contributor Author

Linux 小组件与代理改动已并入 PR #135(分支 codex/watch-feedback-upstream),此 PR 关闭,分支保留。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Linux 桌面截止日期小组件支持(KDE Plasma / GNOME)

1 participant