Skip to content

Sleepy v1.0.69

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 14:22
· 5 commits to main since this release
eb4d699

Sleepy v1.0.69

Liquid Glass controls now use Glasmio across the app, "nearest day with classes" is unified with granular controls, courses support picking individual weeks, and school timetable imports add diagnostic export and parser fixes.

What's New

Liquid Glass controls now use Glasmio

In Liquid Glass mode, the floating bottom bar, the top-bar buttons, the icon buttons on subpages, and all floating controls on the school import page (including the school name chip, address bar, and bottom hint card) use Glasmio glass components. The Manage and Mine pages adopt the iOS 27 layout geometry.

Secondary pages—including settings, About, Create/Edit Timetable, Add/Edit Course, Course List, Period Tables, Widget Gallery and Edit, Export, Daily Agenda, and Import—now use a transparent Glasmio top bar at rest that transitions to a soft translucent fade as content scrolls behind it. Settings typography in Liquid Glass mode matches Material Design's text scale while continuing to scale with the system font size.

On the school import page, tapping expand springs the toggle button down to the second row while launching the address bar and action buttons from right to left with uniform spacing. Each glass control can be long-pressed and dragged with a short vibration, stays where you release it inside the safe area, and lets taps on its former position reach the web page underneath.

Settings pages now share one grouped-list layout, with consistent row heights, dividers, and section titles.

Unified "nearest day with classes" controls

"Show nearest day with classes when today has none" is now supported consistently across the main schedule, Today page (including the tablet split pane), Today and Two-Day widgets, Week Grid widgets (including 4x2 horizontal and vertical), and Week List widgets.

Inside a single card under Schedule Settings, you can choose when automatic jumping triggers—either after today's classes finish or only when today has zero classes—and turn each of the six surfaces on or off independently. Changes apply immediately without restarting the app, and Today and Schedule pages refresh automatically when you return after your last class ends.

Individual week selection for courses

When creating or editing a course time slot, you can pick and save an explicit set of individual weeks from a week list instead of being limited to a contiguous start–end range with all, odd, or even week parity.

School import diagnostics export and conflict details

On the school import success page, you can export a diagnostic bundle and view or report detailed course conflict information when imported courses overlap.

Same-name course prompts

When you create a course whose name matches a course already in the current timetable, Sleepy shows a red prompt under the name field with two choices: rename the new course, or edit the existing course. The save button stays disabled while the name still matches. Choosing rename moves the cursor back into the name field and opens the keyboard.

Name matching ignores letter case, leading and trailing spaces, and repeated spaces. Spaces between words still count, so two names that differ only by a space between words are different courses. Only the current timetable is checked.

Choosing the edit option opens the existing course with its saved name and alias. The time slots and group color you set on the new course page move to the existing course and come after its current slots. Blank slot cards you did not change are not moved.

School list update

Nine schools that have a portal entry are now listed as unverified. They are not marked as supported. If an import from one of them does not match your timetable, add the courses manually.

Fixes

  • Horizontal 3-day widget nearest busy day. Anchored the horizontal 4x2 3-day week grid renderer on the resolved nearest busy date so both day labels and course cards display the upcoming busy day instead of staying on today's empty range.
  • School import glass toolbar alignment and spacing. Prevented un-dragged glass controls from being clamped to a negative horizontal offset during the spring expand animation, keeping the address bar from overlapping the Back button and giving the address bar and action buttons uniform spacing across the full row.
  • Course list teacher and classroom differences. When a course has multiple time slots with different teachers or classrooms, the course list shows each slot's differing teacher and location instead of displaying only one (contributor @jim139129, PR #504).
  • Selected week sync when shortening a semester. Shortening a timetable's total weeks now updates the top bar's selected week so it stays within the new week range (contributor @jim139129, PR #502).
  • Kingo (#kbDiv) multi-course cells and week parity. Fixed truncation when multiple courses share one #kbDiv cell on Kingo portals and preserved trailing odd/even week parity across week segments.
  • Single-digit hour end times for after-classes jump. Flexible H:mm and HH:mm time parsing ensures courses ending at single-digit hours (such as 9:50) are recognized as finished when checking whether today's classes have ended.
  • Group color changes save with the course. Changing a course's group color on the edit page takes effect when you tap Save Course. Leaving the page without saving discards the change. Before this fix, the new color was written to the database as soon as you confirmed it. Saving then wrote the old color back, so the change did not show after saving. Leaving without saving could still keep the new color.
  • New time slots follow the course color. A time slot added while editing a course now follows the course's group color after saving, and its number continues from the existing slots. Before this fix, the new slot could keep an unset color and show a different color on the timetable.
  • Blank slot cards are no longer copied by mistake. When you edit an existing same-name course from the prompt, a blank slot card you never filled in is not copied into it. Before this fix, that could add an empty Monday 1-2 slot to the course.
  • Same-name prompt text. The red prompt uses one font size and consistent spacing.
  • Liquid Glass bottom bar edge. In Liquid Glass mode, the top highlight of the attached bottom bar no longer breaks. Before this fix, the flat bar showed a visible kink along its top edge.
  • Widget gallery presses. Repeated quick presses on a widget gallery card no longer register more than once, and the pressed state clears as soon as you lift your finger.
  • Renamed script variables. Some school timetable scripts that rename variables, use non-ASCII identifiers, or write member paths with spaces are now recognized. On classic EAMS portals, course positions are no longer affected by menu assignments that appear later in the script. On legacy Shuwei portals, a course name is no longer replaced by an unrelated page title when several title variables appear.
  • ECUPL timetable and periods. Timetable and class-period detection now follow the activities the page actually binds, so other tables on the same page no longer affect period selection.
  • Undergraduate timetable import. The course table is chosen from the page's actual structure. Conflicting table layouts are rejected instead of combined, which keeps duplicate, decorative, or split tables from being read as course data.

Known Limitations

  • The nine schools listed in this release are unverified. Their import results have not been checked with real accounts.
  • The school import parser changes are covered by automated tests. No live import through an authenticated school account is recorded for these changes in this release.

Verification

  • Mainline baseline includes PR #502, #504, #506, #507, #508, #511, #512, #513, #514, #515, #516, and #517.
  • The tag-triggered Release workflow reruns full unit tests, builds production-signed APKs, verifies their signing certificates against the release keystore, and attaches sha256sums.txt.
  • Release version: versionName 1.0.69, versionCode 10069, derived from tag v1.0.69.
  • APK SHA-256 values are listed in sha256sums.txt attached to this release.
  • Contributors this release: @jim139129 (selected week sync PR #502, course list slot details PR #504, manual PR debug APK workflow PR #506, bilingual README updates PR #507).

Sleepy v1.0.69

液态玻璃控件已全端改用 Glasmio,「最近有课的一天」完成统一与细化控制,课程支持按单个周次点选,教务导入新增排错包导出并修复多项解析问题。

新增功能

液态玻璃控件改用 Glasmio

液态玻璃模式下,悬浮底栏、顶栏按钮、子页面图标按钮,以及教务导入页的全部悬浮玻璃控件(含学校名胶囊、地址栏和底部提示卡片)现已统一改用 Glasmio 玻璃组件。管理页和我的页采用 iOS 27 布局几何。

全仓二级页面(设置、关于、新建与编辑课表、添加与编辑课程、课程列表、作息表、小组件画廊与编辑、导出、每日日程、导入页)在静止时顶部栏保持透明,上滑时内容从顶栏下方穿过并平滑过渡出柔和的半透明渐变。液态玻璃模式下的设置字号已与 Material Design 保持一致,同时继续随系统字体大小缩放。

教务导入页点击展开时,展开按钮以弹簧动效落至第二行右侧,地址栏与操作按钮从右上角自右向左依次弹出并保持均匀间距。每个玻璃控件仍支持长按震动后自由拖动、松手停靠安全区,移开后原位置点击可穿透到底层网页。

设置页现在共用一套分组列表布局,行高、分隔线和分组标题保持一致。

统一并细化「最近有课的一天」控制

「没课时显示最近有课的一天」现已在主课表页、今日页(含平板分栏)、今日小组件、双日小组件、周网格小组件(含 4x2 横竖排)和周列表小组件全端统一实现。

在「课表设置」的同一张卡片内,可以设置触发时机(「今天上完课后」或「仅全天无课时」),并按需分别开关上述 6 个生效范围。修改设置后无需重启立即生效;当天最后一节课下课后切回今日页或课表页也会自动刷新跳转。

课程支持按周次点选

新建或编辑课程时段时,现在可以直接在周次列表中点选并保存任意独立的周次集合,不再局限于连续起止周加全/单/双周。

教务导入支持导出排错包与冲突详情

教务导入成功页支持导出排错诊断包,并在导入课程存在时间冲突时查看与上报冲突详情。

同名课程提示

新建课程时,如果课名与当前课表中已有的课程相同,课名输入框下方会出现红字提示,并给出两个选择:改名,或在同名课程基础上修改。课名仍然相同时,保存按钮不可点。选择「改名」后,光标回到课名输入框,键盘随之弹出。

判断同名时忽略大小写、首尾空格和连续空格的数量。两个词之间有没有空格仍然算不同的名字。只与当前课表中的课程比较。

选择「在同名课程基础上修改」后,页面会切换到那门已有课程的编辑页,保留它已保存的课名和别名。你在新建页面上设置的时段和组色会移入已有课程,排在它原有时段之后。没有动过的空白时段卡不会移入。

教务学校列表更新

有教务入口的九所学校现已列入,状态为「未验证」,没有标记为已支持。如果从其中一所学校导入的结果与实际课表不符,可以手动添加课程。

修复

  • 周网格横向三天小组件显示最近有课的一天。 4x2 横向三天周网格渲染布局改为优先锚定已解析的最近有课日期,使左侧日期栏与课程卡片同步切到最近有课的连续三天,不再停留在今日空日程。
  • 教务导入页玻璃工具栏对齐与间距。 修复展开弹簧动效过程中未拖拽控件被误钳制并写入负横向偏移的问题,展开后地址栏不再遮挡返回按钮,并与编辑、适配器、UA、刷新按钮以均匀间距占满整行。
  • 课程列表展示有差异的老师和地点。 当同一门课的不同时段有不同老师或教室时,课程列表按上课安排分别展示差异,不再只显示一条(贡献者 @jim139129,PR #504)。
  • 学期缩短时同步课表顶栏选中周。 缩短课表总周数后,顶栏当前选中周会同步回落到新的有效周范围内(贡献者 @jim139129,PR #502)。
  • 新青果(#kbDiv)同格多课与周次单双周传播。 修复新青果课表单个 #kbDiv 单元格内多门课被截断的问题,并正确向后传播周次尾标的单双周标记。
  • 单数字小时下课时间触发课后跳转。 兼容 H:mm 与 HH:mm 时间格式,避免 9:50 这类单数字小时下课时间解析失败导致无法触发「今天上完课后」跳转。
  • 组色改动随保存生效。 编辑课程页中修改组色后,点「保存课程」才会生效;不保存直接离开,改动会丢弃。修复前,新颜色在确认后就写入了数据库,保存时又被写回旧色,保存后看不到变化;不保存直接离开时,新颜色也可能被保留。
  • 编辑时新增的时段跟随组色。 编辑已有课程时新增的时段,保存后会跟随课程组色,编号接着已有时段往下排。修复前,新时段可能保留「未设置」的颜色,在课表上显示成另一种颜色。
  • 不再误加空白时段。 从同名提示进入已有课程的编辑页时,没有填过的空白时段卡不会被复制进去。修复前,这种情况可能给课程添加一个空白的周一 1-2 节时段。
  • 同名提示的文字统一。 红字提示使用同一字号和间距。
  • 贴底液态玻璃底栏边缘连续。 液态玻璃模式下,贴底底栏顶部的高光不再断开。修复前,扁宽的底栏顶边会出现明显的折线。
  • 小组件画廊的快速重复按压。 快速重复按压同一张画廊卡片时,只会登记一次;松手后按压状态立即恢复。
  • 脚本变量改名后的解析。 部分学校的课表脚本会改名变量、使用非 ASCII 标识符,或在成员路径中包含空格,现在可以正确识别课程。经典 EAMS 的课程位置不再受脚本后面菜单赋值的影响。旧树维(Shuwei)教务页面在出现多个标题变量时,课程名不再被无关的页面标题替换。
  • ECUPL 课表与节次。 课表和节次的识别改为按页面实际绑定的活动取数,同一页面里的其他表格不再影响节次选择。
  • 本科课表导入。 本科课表按页面的实际结构选择课表容器。遇到互相冲突的表格布局时拒绝合并,避免把重复、装饰性或拆分的表格误读为课程数据。

已知限制

  • 本版列出的九所学校状态为未验证,导入结果尚未用真实账号检查。
  • 教务解析的改动已有自动化测试覆盖。本版本没有记录通过真实登录账号完成的导入测试。

验证

  • 主线包含 PR #502、#504、#506、#507、#508、#511、#512、#513、#514、#515、#516、#517。
  • 标签触发的 Release 工作流会重新运行全量单元测试,构建正式签名的 APK,核对签名证书,并附带 sha256sums.txt。
  • 版本号:versionName 1.0.69,versionCode 10069,由标签 v1.0.69 派生。
  • 各 APK 的 SHA-256 写在随本版本附带的 sha256sums.txt 中。
  • 本版贡献者:@jim139129(学期缩短同步选中周 PR #502、课程列表按时段展示老师地点 PR #504、手动 PR 调试包工作流 PR #506、双语 README 更新 PR #507)。