🐛 Fix mission timestamp showing creation time instead of last activity#4093
🐛 Fix mission timestamp showing creation time instead of last activity#4093clubanderson merged 1 commit intomainfrom
Conversation
The mission sidebar was displaying `createdAt` for each mission's timestamp. When a user sent a new chat message to an older mission, the mission correctly moved to the top of the list (sorted by `updatedAt`) but still showed the original creation time, making it look stale. Switch MissionListItem to render `mission.updatedAt` so the displayed timestamp reflects the most recent activity. Fixes #4078 Signed-off-by: Andrew Anderson <andy@clubanderson.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
👋 Hey @clubanderson — thanks for opening this PR!
This is an automated message. |
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Fixes the mission sidebar timestamp display so it reflects the mission’s most recent activity (matching the list’s updatedAt-based ordering), rather than always showing the original creation time.
Changes:
- Updated
MissionListItemto rendermission.updatedAtinstead ofmission.createdAtfor the displayed timestamp.
Summary
mission.createdAtas the timestamp for each mission entryupdatedAt) but the displayed timestamp still showed the original creation timeMissionListItemto rendermission.updatedAtso the timestamp reflects the most recent activity (message sent, status change, etc.)Fixes #4078
Test plan