Skip to content

[codex] Disable schedule editing after preparation starts#372

Merged
jjoonleo merged 2 commits into
mainfrom
codex/disable-schedule-edits-after-start
May 5, 2026
Merged

[codex] Disable schedule editing after preparation starts#372
jjoonleo merged 2 commits into
mainfrom
codex/disable-schedule-edits-after-start

Conversation

@jjoonleo

@jjoonleo jjoonleo commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Hide the calendar schedule edit swipe action after a schedule's preparation window has started.
  • Include early-started schedules in the edit lock by passing the active ScheduleBloc early-start state into schedule detail rows.
  • Add widget coverage for edit visibility before preparation, after calculated preparation start, and during early start.

Impact

Users can no longer modify a schedule once preparation is already underway, which prevents changing timing data while active preparation progress may exist.

Validation

  • flutter test test/presentation/calendar/component/schedule_detail_test.dart
  • git diff --check

flutter analyze was attempted but is currently blocked by existing repository issues in Widgetbook generated/helper files, including missing widgetbook/lib/main.directories.g.dart and package:widgetbook_workspace/dialog_story_helpers.dart.

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 2bcd92b):

https://ontime-c63f1--pr372-codex-disable-schedu-6sh0xi49.web.app

(expires Tue, 12 May 2026 16:01:47 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 2bcd92b):

https://on-time-front-widgetbook--pr372-codex-disable-schedu-ga4o0qox.web.app

(expires Tue, 12 May 2026 16:02:31 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e53128a376fed0209d449279de9c0d94c83cdd8b

…e-edits-after-start

# Conflicts:
#	lib/presentation/calendar/screens/calendar_screen.dart
@jjoonleo jjoonleo marked this pull request as ready for review May 5, 2026 15:58
@jjoonleo jjoonleo merged commit ca4e8e6 into main May 5, 2026
3 checks passed
@jjoonleo jjoonleo deleted the codex/disable-schedule-edits-after-start branch May 6, 2026 18:04
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