Skip to content

feat(webapp): add handover confirmation modal component - #453

Merged
WinterYukky merged 1 commit into
aws-samples:mainfrom
WinterYukky:feature/handover-modal-1785861826
Aug 24, 2026
Merged

feat(webapp): add handover confirmation modal component#453
WinterYukky merged 1 commit into
aws-samples:mainfrom
WinterYukky:feature/handover-modal-1785861826

Conversation

@WinterYukky

Copy link
Copy Markdown
Contributor

Summary

Add a confirmation modal in the webapp session view for handing the current
session over to a fresh successor session, with i18n copy (en / ja).

Changes

  • packages/webapp/src/app/sessions/[workerId]/component/HandoverModal.tsx: the
    modal component (confirm / cancel, success + already-handed-over states).
  • packages/webapp/src/messages/en.json, ja.json: modal copy for both locales.

Testing

  • webapp typecheck (tsc) and prettier format:check pass. This is a presentational
    component wired to the existing successor flow; no new unit test added
    (consistent with sibling webapp components).

Notes

  • Depends on the create-session role-enum PR (the successor/handover flow it
    triggers). Please merge the role-enum PR first.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add HandoverModal component that displays a confirmation dialog when a
user requests session handover (引き継ぎ). The modal explains what will
happen: todo list and context carry over to the new session, current
session and its children become children of the successor, and the
current session is marked as completed.

Includes i18n translation keys for English and Japanese.
@WinterYukky
WinterYukky merged commit 4ef84a1 into aws-samples:main Aug 24, 2026
1 check passed
@WinterYukky
WinterYukky deleted the feature/handover-modal-1785861826 branch August 24, 2026 06:54
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