c8db6ce933
- Change mobile terminal CSS to use touch-action: none and overscroll-behavior: none so the custom touch handler owns swipes - Archive completed/partial OpenSpec specs to openspec/changes/archive/2026-06-14-completed-specs-archive/ - Regenerate project maps Quality gates: npm run typecheck, npm run lint (apps/web)
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
## ADDED Requirements
|
|
|
|
### Requirement: Stopping a session requires confirmation
|
|
The system SHALL display a confirmation dialog before stopping a running session.
|
|
|
|
#### Scenario: User initiates stop
|
|
- **WHEN** user clicks the "Stop" button on a running session
|
|
- **THEN** a confirmation dialog appears asking "Are you sure you want to stop this session?"
|
|
- **AND** the dialog provides "Cancel" and "Stop" options
|
|
|
|
#### Scenario: User confirms stop
|
|
- **WHEN** user clicks "Stop" in the confirmation dialog
|
|
- **THEN** the session stops
|
|
- **AND** the dialog closes
|
|
|
|
#### Scenario: User cancels stop
|
|
- **WHEN** user clicks "Cancel" in the confirmation dialog
|
|
- **THEN** the dialog closes
|
|
- **AND** the session remains running
|
|
|
|
### Requirement: Deleted sessions disappear from UI immediately
|
|
The system SHALL update the frontend state immediately after a session is successfully deleted.
|
|
|
|
#### Scenario: Delete session
|
|
- **WHEN** user deletes a session
|
|
- **AND** the delete API call returns success
|
|
- **THEN** the session is removed from the visible list
|
|
- **AND** no page reload is required
|
|
|
|
#### Scenario: Delete session failure
|
|
- **WHEN** user deletes a session
|
|
- **AND** the delete API call fails
|
|
- **THEN** the session remains in the list
|
|
- **AND** an error message is displayed
|