TimeMachine - Views
Read Model View
Section titled “Read Model View”Displays the state of the read model at each version as interactive cards.
Features
Section titled “Features”- Property-by-property display
- Change highlighting
- Nested object navigation
- Timeline integration
- Hover preview
Property Display
Section titled “Property Display”Properties are shown in a table format:
| Property | Value |
|---|---|
| name | Product A |
| price | $89.99 |
| status | active |
| category | Electronics |
Change Highlighting
Section titled “Change Highlighting”When hovering over a timeline point or transitioning between versions, changed properties are highlighted:
- Green highlight: Value increased/added
- Red highlight: Value decreased/removed
- Yellow highlight: Value changed
Nested Objects
Section titled “Nested Objects”Click object or array properties to drill down:
Properties: name: "Product A" price: 89.99 metadata: [Object] → ← Click to expandNavigating into metadata:
metadata: created: "2024-01-01" updated: "2024-01-10" version: 3Use breadcrumb navigation to return to parent level.
Array Display
Section titled “Array Display”Arrays show item count and are expandable:
tags: [Array of 3] →Expanded view shows array items:
tags: [0]: "electronics" [1]: "sale" [2]: "featured"Card Navigation
Section titled “Card Navigation”- Click nested objects/arrays to navigate deeper
- Use breadcrumbs to navigate back up
- Scroll within cards for long content
- Cards prevent version changes while scrolling
Events View
Section titled “Events View”Shows all events across all versions in chronological order.
Event List
Section titled “Event List”Event Type Timestamp───────────────── ──────────────ProductCreated 2024-01-01 10:00PriceUpdated 2024-01-05 14:30ProductPublished 2024-01-10 09:15StockUpdated 2024-01-12 16:45Event Details
Section titled “Event Details”Click any event to expand its full payload:
PriceUpdated - 2024-01-05 14:30:00
Event Data:{ "oldPrice": 99.99, "newPrice": 89.99, "reason": "promotional discount"}Filtering Events
Section titled “Filtering Events”Search or filter events by:
- Event type
- Date range
- Property changes
- Event payload content
Event Timeline
Section titled “Event Timeline”Events are displayed chronologically, making it easy to:
- See the sequence of changes
- Identify patterns
- Find specific events
- Understand causality
Event Correlation
Section titled “Event Correlation”Related events are grouped or linked:
ProductCreated └─ PriceSet └─ CategoryAssigned └─ InitialStockSetView Switcher
Section titled “View Switcher”Toggle between views using the switcher:
[📦 Read Model] | [📋 Events]Read Model View
Section titled “Read Model View”- Focus on current state
- Navigate through time
- See property changes
- Interactive exploration
Events View
Section titled “Events View”- Focus on what happened
- Chronological list
- Event details
- Audit trail
Comparison View
Section titled “Comparison View”(If implemented) Compare two versions side-by-side:
Version 1 (2024-01-01) | Version 3 (2024-01-10)─────────────────────── | ───────────────────────name: Product A | name: Product Aprice: 99.99 | price: 89.99 ⚠️status: draft | status: active ⚠️Best Practices
Section titled “Best Practices”Read Model View
Section titled “Read Model View”- Start at beginning: View initial state first
- Progress forward: Watch evolution chronologically
- Focus on changes: Pay attention to highlighted properties
- Explore nested data: Drill into complex objects
- Use hover preview: Quickly check nearby versions
Events View
Section titled “Events View”- Filter strategically: Narrow down to relevant events
- Expand details: Review event payloads for context
- Follow sequences: Track related events
- Export if needed: Save event history for analysis
General
Section titled “General”- Switch views: Use both for complete understanding
- Take notes: Document important changes
- Screenshot states: Capture evidence for audits
- Test scenarios: Replay events to validate logic