feature/ display timestamps on feed and details page - #58
Open
irenecancode wants to merge 2 commits into
Open
irenecancode wants to merge 2 commits into
irenecancode wants to merge 2 commits into
Conversation
oldtopos
force-pushed
the
feature/feed-datetime-display
branch
from
August 16, 2026 16:47
a71d24f to
20fe824
Compare
This branch has not been deployed
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.
Summary
humanizenaturaltimefilter; AJAX-loaded ("Load More") cards use a matching JS helper so both look identical.Dependency
This PR only adds the display logic. It depends on a companion backend change (not yet submitted) that adds a
createdfield to the feed/post API responses. Until that backend change ships,post.createdwill be empty and the calendar icon will still render blank -- same as today, just no regression. Nothing will look different in production from merging this alone.Test plan
This PR only adds display logic; it has no visible effect until the companion backend PR (adds
createdto the API response) also merges. Testing splits into two parts:Verifiable now, against current
main(no backend change yet):/feed/and confirm no errors/crashes -- cards render exactly as before (calendar icon still blank, sincepost.createdis still absent)Requires a backend change (not yet started -- pending engineer sign-off), to add a
createdfield to the feed/post API responses:createdfield, feed cards correctly showed absolute + relative time (e.g. "Jul 9, 2026, 4:09 PM (5 hours ago)")main: feed cards and detail page both show the timestamp correctlyTimestamp display shown above ("Jul 9, 2026, 4:09 PM (5 hours ago)") was captured with a local, uncommitted backend patch adding the
createdfield included here as a preview of the intended result once the companion backend PR ships. Not reproducible againstmainyet.The broken image icon is unrelated to this PR — a local-dev-only issue caused by missing GCS credentials on this machine, not something this PR introduces or fixes.