Skip to content

Allow editing ongoing meetings without dropping them from the list [WPB-27894] - #22281

Merged
thisisamir98 merged 7 commits into
mainfrom
fix/meeting-edit-ongoing-WPB-27894
Aug 25, 2026
Merged

Allow editing ongoing meetings without dropping them from the list [WPB-27894]#22281
thisisamir98 merged 7 commits into
mainfrom
fix/meeting-edit-ongoing-WPB-27894

Conversation

@thisisamir98

@thisisamir98 thisisamir98 commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator
BugWPB-27894 [Web] Meeting host editing a future meeting removes the ongoing meeting from the Meetings list

Summary

  • Prefill and submit today’s in-progress occurrence when editing a meeting, so the current row stays in the list instead of jumping to the next instance (WPB-27894).
  • Keep Edit available until the occurrence ends, skip client past-time checks on update, and leave create validation unchanged.
  • Add meetings e2e coverage and group those tests by capability (Schedule, Edit, Participants, Delete, Notifications, Call).

Depends on backend WPB-28080 (24h past start_time on update).

Test plan

  • Edit an ongoing recurring meeting (title-only): it stays under Today / Attending
  • Edit an ongoing one-off meeting: save succeeds with today’s (past) start, no “start must be in the future” error
  • Edit is available while a meeting is in progress and hidden after it has ended
  • Creating a meeting still cannot pick a start date in the past
  • Existing meetings e2e: yarn playwright test --config apps/webapp/playwright.config.ts apps/webapp/test/e2e_tests/specs/Meetings/meetings.spec.ts

Use today's in-progress occurrence as the edit anchor instead of the
next upcoming instance, allow edit until occurrence end, and skip client
past-time validation on update while create keeps existing checks.
Lock in WPB-27894: edit stays available until the occurrence ends,
today's slot is submitted instead of the next instance, and create still
rejects past start times.
Replace CRUD and ticket-based names with Schedule, Edit, Participants,
Delete, Notifications, and Call, and keep all cases in one spec.
The create mapper still omitted mode after validation started requiring
it, which failed type-check. Create continues to reject past start times.
Stop synthesizing a post-until occurrence as the edit anchor, lock
edit-mode validation that must still fail closed, and cover title-only
edit of a future list row so today's in-progress slot stays in the list.
CI lint:format failed because the meetingTime.util import was split across lines.
zskhan
zskhan previously approved these changes Aug 24, 2026
Comment thread apps/webapp/src/script/components/meeting/selectors/getMeetingInstancesInRange.ts Outdated
Review asked for the shared helper instead of === undefined; apply it to the sibling conditions in those functions as well.
@thisisamir98
thisisamir98 added this pull request to the merge queue Aug 25, 2026
Merged via the queue into main with commit fe52ed7 Aug 25, 2026
16 checks passed
@thisisamir98
thisisamir98 deleted the fix/meeting-edit-ongoing-WPB-27894 branch August 25, 2026 09:23
@github-actions

Copy link
Copy Markdown
Contributor

First appeared in

Environment Release
Beta 2026-08-27.1-beta.1
Production Not yet deployed

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.

2 participants