Skip to content

feat(reminder): add geofence and time-window domain triggers - #198

Draft
gac0812 wants to merge 1 commit into
1024XEngineer:mainfrom
gac0812:feat/reminder-geofence-time-window-domain
Draft

feat(reminder): add geofence and time-window domain triggers#198
gac0812 wants to merge 1 commit into
1024XEngineer:mainfrom
gac0812:feat/reminder-geofence-time-window-domain

Conversation

@gac0812

@gac0812 gac0812 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • 新增地点围栏领域规则 geofence.ts(距离、arrive/return 中心点、armed→triggered 状态机)
  • 新增时间窗领域规则 timeWindow.ts(at_time/before_start、snooze、有效触发时刻)
  • 更新 domain/index 导出上述能力;不含适配器与组合根接线

Depends on

Merge Order

Scope

  • frontend/src/features/reminder/domain/geofence.ts
  • frontend/src/features/reminder/domain/timeWindow.ts
  • frontend/src/features/reminder/domain/index.ts

Out of scope

  • LocalReminderApplication 与其它 application 实现
  • 原生定位/闹钟适配器、权限引导、createAppServices 切换
  • strengthDelivery 等后续 domain 切片

Verification

  • npm run check
  • npm ci

Add pure domain helpers for location geofence arming/triggering and
time-window / snooze trigger resolution, without adapters or DI wiring.
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
timeflow Ready Ready Preview Aug 11, 2026 8:05am

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant