97: Configure separate TEST and PROD instances of EvelynPerpsService
This commit is contained in:
@@ -37,7 +37,7 @@ The Perps view SHALL explicitly label its data as sample data and explain that P
|
||||
- **AND** displaying and interacting with the prototype uses only the service's local sample snapshot
|
||||
|
||||
### Requirement: Asynchronous polling follows window visibility
|
||||
EMC SHALL request the current Perps snapshot immediately on opening and every three seconds while visible, without blocking the UI thread. UI updates SHALL occur only on the JavaFX thread. Hiding the window SHALL stop polling; reopening SHALL create only one active polling loop and ignore results belonging to an earlier window session. Poll failures SHALL preserve the current view and allow subsequent attempts.
|
||||
EMC SHALL request the current Perps snapshot from each environment's own service immediately on opening and every three seconds while visible, without blocking the UI thread. UI updates SHALL occur only on the JavaFX thread. Hiding the window SHALL stop polling; reopening SHALL create only one active polling loop and ignore results belonging to an earlier window session. Poll failures SHALL preserve the current view and allow subsequent attempts.
|
||||
|
||||
#### Scenario: Read takes time or fails
|
||||
- **WHEN** a snapshot read is delayed or fails
|
||||
@@ -48,6 +48,11 @@ EMC SHALL request the current Perps snapshot immediately on opening and every th
|
||||
- **WHEN** the owner hides and reopens EMC repeatedly
|
||||
- **THEN** each visible session has only one polling loop and obsolete results cannot update its views
|
||||
|
||||
#### Scenario: Environment data stays separate
|
||||
- **WHEN** TEST and PROD return different snapshots
|
||||
- **THEN** each tab displays only its own service's data
|
||||
- **AND** a failure reading one service does not prevent attempting the other service
|
||||
|
||||
### Requirement: Polling preserves Perps view state
|
||||
The Perps table SHALL retain matching wallet, venue and position identities across snapshots. Repeated unchanged snapshots SHALL leave existing rows, expansion, selection and formatting untouched without flicker. New groups SHALL be expanded by default, and future added or removed positions SHALL be reconciled by identity without resetting retained groups.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user