Skip to content

🐛 Fix mission timestamp showing creation time instead of last activity#4093

Merged
clubanderson merged 1 commit intomainfrom
fix/mission-timestamp-display
Apr 1, 2026
Merged

🐛 Fix mission timestamp showing creation time instead of last activity#4093
clubanderson merged 1 commit intomainfrom
fix/mission-timestamp-display

Conversation

@clubanderson
Copy link
Copy Markdown
Collaborator

Summary

  • The mission sidebar list was displaying mission.createdAt as the timestamp for each mission entry
  • When a user added a chat message to an older mission, it correctly moved to the top of the list (sorted by updatedAt) but the displayed timestamp still showed the original creation time
  • Changed MissionListItem to render mission.updatedAt so the timestamp reflects the most recent activity (message sent, status change, etc.)

Fixes #4078

Test plan

  • Open the mission sidebar and start a new mission — timestamp should show the current time
  • Send a follow-up message to an older mission — the timestamp should update to the current time and the mission should move to the top of the list
  • Verify that completed/failed missions retain their last-updated timestamp

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>
Copilot AI review requested due to automatic review settings April 1, 2026 11:16
@kubestellar-prow kubestellar-prow bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Apr 1, 2026
@clubanderson clubanderson merged commit 114df20 into main Apr 1, 2026
5 checks passed
@kubestellar-prow
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign mikespreitzer for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

👋 Hey @clubanderson — thanks for opening this PR!

🤖 This project is developed exclusively using AI coding assistants.

Please do not attempt to code anything for this project manually.
All contributions should be authored using an AI coding tool such as:

This ensures consistency in code style, architecture patterns, test coverage,
and commit quality across the entire codebase.


This is an automated message.

@kubestellar-prow kubestellar-prow bot deleted the fix/mission-timestamp-display branch April 1, 2026 11:16
@kubestellar-prow kubestellar-prow bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Thank you for your contribution! Your PR has been merged.

Check out what's new:

Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for kubestellarconsole ready!

Name Link
🔨 Latest commit e6d4fee
🔍 Latest deploy log https://app.netlify.com/projects/kubestellarconsole/deploys/69ccfea08cac480008edb6df
😎 Deploy Preview https://deploy-preview-4093.console-deploy-preview.kubestellar.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 MissionListItem to render mission.updatedAt instead of mission.createdAt for the displayed timestamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates the PR's author has signed the DCO. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mission Timestamp Not Updating After New Chat Activity

2 participants