Skip to content

Preserve calendar event duration when start changes - #1974

Open
keilogic wants to merge 2 commits into
runbox:masterfrom
keilogic:fix/calendar-event-duration-846
Open

Preserve calendar event duration when start changes#1974
keilogic wants to merge 2 commits into
runbox:masterfrom
keilogic:fix/calendar-event-duration-846

Conversation

@keilogic

Copy link
Copy Markdown
Contributor

Fixes #846

Summary

  • add regression coverage for preserving an event's duration when the start date/time changes
  • shift the current end date/time by the same delta as the edited start value in the event editor

Tests

  • npx ng test --include src/app/calendar-app/event-editor-dialog.component.spec.ts --watch=false --browsers=FirefoxHeadless on the test-only commit before the fix: fails with 2 FAILED
  • npx ng test --include src/app/calendar-app/event-editor-dialog.component.spec.ts --watch=false --browsers=FirefoxHeadless: 2 SUCCESS
  • npx tsc -p src/tsconfig.app.json --noEmit
  • npx tsc -p src/tsconfig.spec.json --noEmit
  • npm run lint -- --quiet
  • npm run policy (new commits pass; the script still reports pre-existing upstream commit-message warnings)
  • $env:SKIP_CHANGELOG='1'; node src/build/pre-build.js
  • npx ng build runbox7 --configuration production --base-href=/app/
  • node src/build/post-build.js

AI Disclosure

AI assistance used: OpenAI Codex in the local development workspace. The agent was used for code edits, tests, validation commands, commit splitting, and PR text preparation.

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.

Calendar: event time update

1 participant