Skip to content

UpdateCollisionDashboard - #222

Merged
krishkhinchi merged 1 commit into
7-Blocks:mainfrom
krishkhinchi:UpdateCollisionDashboard
Sep 16, 2026
Merged

krishkhinchi merged 1 commit into
7-Blocks:mainfrom
krishkhinchi:UpdateCollisionDashboard

Conversation

@krishkhinchi

@krishkhinchi krishkhinchi commented Sep 16, 2026

Copy link
Copy Markdown
Member

User description

Summary

Related Issue

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 📚 Documentation update
  • 🚀 Performance improvement
  • 🎨 UI/UX enhancement
  • 🔧 Refactoring
  • 🧹 Chore / Maintenance
  • 🔒 Security improvement

Screenshots / Screen Recordings

Testing Performed

  • Tested locally
  • Tested relevant functionality
  • Checked for linting errors
  • Checked for TypeScript/build errors
  • Tested responsive behavior (if applicable)

Breaking Changes

Checklist

  • I have read and followed the contributing guidelines.
  • My code follows the project's coding standards and guidelines.
  • I have completed testing of my changes.
  • I have updated documentation where applicable.
  • I have checked that my changes do not introduce unintended regressions.

ECSoC26 Submission

ECSoC26 contributors only — select your difficulty level by checking exactly one box below.
Leaving all boxes unchecked, or checking more than one, will cause the automation to fail.

  • ECSoC26-L1 – Beginner
  • ECSoC26-L2 – Intermediate
  • ECSoC26-L3 – Advanced

CodeAnt-AI Description

Show live conjunction risks directly on the dashboard

What Changed

  • The dashboard now displays up to five live conjunction events from the event stream alongside catalog collision results
  • Live cards show the satellite pair, event time, severity, collision probability, and miss distance
  • Loading and empty states account for live events, so active updates appear without waiting for collision data to finish loading

Impact

✅ Faster visibility into active collision risks
✅ Clearer collision probability and miss-distance details
✅ Fewer blank dashboard states during live updates

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Summary by CodeRabbit

  • New Features

    • Dashboard collision timelines now include live conjunction events alongside API collision results.
    • Newly detected conjunction events appear before existing collision cards.
    • Event miss distances are displayed in meters or kilometers for easier interpretation.
  • Bug Fixes

    • Loading and empty states now accurately reflect available live events and collision data.

@codeant-ai

codeant-ai Bot commented Sep 16, 2026

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 7877fa1 Sep 16, 2026 · 05:48 05:50

@codeant-ai

codeant-ai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@krishkhinchi krishkhinchi left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done

@krishkhinchi
krishkhinchi merged commit b2bd1c1 into 7-Blocks:main Sep 16, 2026
4 of 6 checks passed
@codeant-ai codeant-ai Bot added the size:L Large size label Sep 16, 2026
@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 1a8b034f-39e8-4093-b3ba-350e1fc2ec6d

📥 Commits

Reviewing files that changed from the base of the PR and between 7497a93 and 7877fa1.

⛔ Files ignored due to path filters (1)
  • frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • frontend/src/pages/Dashboard.tsx

📝 Walkthrough

Walkthrough

The Dashboard now combines live conjunction events from useEventTimeline() with API collision results. It formats miss distances, renders up to five live event cards first, and updates loading and empty-state conditions.

Changes

Live conjunction timeline

Layer / File(s) Summary
Timeline cards and collision states
frontend/src/pages/Dashboard.tsx
The Dashboard derives up to five CONJUNCTION events, formats miss distances, renders event cards before API collision cards, and updates loading and empty-state logic.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Suggested reviewers: thelinuxguy-ssh

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment on lines +139 to +142
const liveConjunctionEvents = useMemo(
() => eventTimeline.events.filter((event) => event.category === 'CONJUNCTION').slice(0, 5),
[eventTimeline.events]
);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggestion: eventTimeline.events is already filtered by shared user settings, so selecting another category or search can make this dashboard falsely show no conjunction risks. [api mismatch]

Assessment: 🟠 Major · 🔁 Occurrence: Sometimes

Use CodeAnt Skill Fix in Cursor Fix in VSCode Claude

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** frontend/src/pages/Dashboard.tsx
**Line:** 139:142
**Comment:**
	*Api Mismatch: `eventTimeline.events` is already filtered by shared user settings, so selecting another category or search can make this dashboard falsely show no conjunction risks.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
👍 | 👎

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

Labels

size:L Large size

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant