Time-Travel UI Prototype (Temporal Context Layer)#16
Open
KinshukSS2 wants to merge 7 commits into
Open
Conversation
1b6ae3b to
d06a983
Compare
d06a983 to
714dd87
Compare
- Extract shared COMMITS, SNAPSHOTS, ENTITY_TYPES into data.ts - Add buildActivityBuckets() that filters by entityType, $as_of, $from_to - Activity route delegates to shared pure function - History route imports from shared module (no logic change) - Frontend passes temporal params to activity endpoint via appendTemporalParams - Add 11 unit tests covering all filter combinations (18/18 total passing) - Keep zero-count fallback for empty filter results Resolves: ISSUE_01 — History activity API ignores temporal/entity context
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Time-Travel UI Prototype (Temporal Context Layer)
Summary
This PR implements a complete time-travel prototype inside the existing istSOS4 GUI architecture.
It introduces a temporal domain model that propagates consistently through UI state, URL parameters, query generation, and temporal UX feedback.
Why
This work delivers the GSoC time-travel prototype directly in the real app structure, proving:
What Changed
1) Temporal state management with URL sync
current,as_of,from_to) in shared context.2) Temporal API query support
$as_of,$from_to) automatically.3) Temporal UX components
4) Page integrations
as_ofand navigate into Things temporal view.5) Mock temporal API and prototype coverage
6) Test coverage
Verification
Run:
npm run lint npm run test npm run buildResult:
Manual Checklist
as_of.Follow-ups