Skip to content

feat: simplify dashboard controls and remove redundant metrics - #189

Merged
krishkhinchi merged 2 commits into
7-Blocks:mainfrom
Thebinary-bard:feat/simplify-dashboard-controls
Aug 14, 2026
Merged

feat: simplify dashboard controls and remove redundant metrics#189
krishkhinchi merged 2 commits into
7-Blocks:mainfrom
Thebinary-bard:feat/simplify-dashboard-controls

Conversation

@Thebinary-bard

@Thebinary-bard Thebinary-bard commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

User description

What this PR does

Closes #187.

This PR simplifies the Cesium dashboard controls and removes redundant orbital metrics to reduce visual clutter and keep the orbital visualization as the primary focus.

Changes

  • Removed the Density control from the Cesium dashboard toolbar.
  • Removed the Risk control from the Cesium dashboard toolbar.
  • Removed the bottom-left Objects Tracked, Debris, and Collision Risks metrics.
  • Preserved the existing functionality of Voice Command, Save View, Bookmarks, Legend, and Layers.
  • Reorganized the remaining controls into a compact bottom-right mission-control toolbar.
  • Reduced toolbar spacing and padding while preserving the existing Kepler visual style.
  • Removed the redundant Tracked Satellites, Debris Objects, and Pred. Collisions KPI cards from the main dashboard.
  • Retained Active Alerts, Space Weather, and Agent Runs.
  • Updated the KPI grid to use the remaining three metrics without the previous empty-column layout.

Testing

  • Verified Density and Risk controls are no longer displayed.
  • Verified the bottom-left orbital statistics are removed.
  • Verified the remaining toolbar controls are still available.
  • Verified the remaining dashboard KPI cards are displayed correctly.
  • Ran the frontend lint, typecheck, and build checks.

##Screenshot
Prev:
kepler_prev
Next:
kepler_next2

Related Issue

Closes #187


CodeAnt-AI Description

Simplify the dashboard around the most actionable space-status information

What Changed

  • Removed Density and Risk controls from the globe toolbar.
  • Removed redundant tracked-object, debris, collision-risk, satellite, debris, and predicted-collision metrics.
  • Kept Active Alerts, Space Weather, Agent Runs, voice commands, saved views, bookmarks, the legend, and layer controls.
  • Consolidated the remaining globe controls into a compact toolbar and resized the KPI layout for three metrics.

Impact

✅ Less dashboard visual clutter
✅ Faster access to essential alerts and space-weather status
✅ More compact globe controls

💡 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

  • UI Updates
    • Simplified the Earth visualization toolbar with streamlined voice, bookmark, legend, and layer controls.
    • Removed density and risk-overlay controls.
    • Updated the dashboard to show three key metrics: Active Alerts, Space Weather, and Agent Runs.
    • Improved dashboard loading and error-state layouts for the revised metric cards.

Copilot AI lite review requested due to automatic review settings August 12, 2026 16:29
@codeant-ai

codeant-ai Bot commented Aug 12, 2026

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 739c470 Aug 12, 2026 · 16:29 16:31

@codeant-ai

codeant-ai Bot commented Aug 12, 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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added frontend Frontend development size/M Medium-sized contribution. size:M This PR changes 30-99 lines, ignoring generated files type:frontend Changes frontend or client-side code. labels Aug 12, 2026
@codeant-ai codeant-ai Bot added the size:S Small size label Aug 12, 2026
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Thebinary-bard, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 50 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c6ffd509-f6ce-4775-80b9-cc554df4ed60

📥 Commits

Reviewing files that changed from the base of the PR and between 739c470 and a9eed42.

📒 Files selected for processing (1)
  • frontend/src/components/EarthTwin.tsx
📝 Walkthrough

Walkthrough

The dashboard now uses a compact EarthTwin toolbar with fewer controls. The KPI grid now displays Active Alerts, Space Weather, and Agent Runs with matching loading and error layouts.

Changes

Dashboard interface

Layer / File(s) Summary
Compact EarthTwin toolbar
frontend/src/components/EarthTwin.tsx
The HUD removes Density and Risk controls, keeps voice, Save View, Bookmark, Legend, and Layer controls, and reduces toolbar spacing. Store imports use the consolidated @/store module.
Reduced dashboard KPI grid
frontend/src/pages/Dashboard.tsx
The KPI grid removes Tracked Satellites, Debris Objects, and Predicted Collisions. Loading and error layouts now use three columns.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: thelinuxguy-ssh, sk-uruj, sohammpawarr

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the dashboard simplification and removal of redundant metrics.
Description check ✅ Passed The description covers the changes, related issue, screenshots, and testing, but omits several template sections and checkboxes.
Linked Issues check ✅ Passed The changes satisfy #187 by removing redundant controls and metrics, retaining required controls, and compacting the dashboard layout.
Out of Scope Changes check ✅ Passed All changes are limited to the dashboard controls and metrics required by #187.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 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.

@github-actions github-actions Bot added AI Artificial Intelligence and Machine Learning documentation Improvements or additions to documentation enhancement New feature or request type:documentation Improves project documentation. type:feature Introduces a new feature or enhancement. bug Something isn't working type:bug Fixes an existing bug or unexpected behavior. labels Aug 12, 2026
Comment thread frontend/src/components/EarthTwin.tsx Outdated
<div className="flex gap-1.5 md:gap-2 pointer-events-auto">
<div className="flex justify-end w-full animate-[slideUp_0.5s_ease-out]">
{/* Controls — compact mission-control toolbar */}
<div className="flex items-center gap-1 md:gap-1.5 pointer-events-auto bg-bg-deep-space/70 backdrop-blur-xl border border-border-panel/50 p-1.5 md:p-2 rounded-sm">

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: The toolbar uses a non-wrapping flex row for five text buttons, and the EarthTwin HUD clips overflow on small screens. On narrow mobile viewports, the combined minimum width of these controls exceeds the available width, so the rightmost controls can be rendered outside the clipped globe area and become inaccessible. Allow the controls to wrap or provide a responsive/mobile layout that fits within the viewport. [css layout issue]

Severity Level: Major ⚠️
- ❌ Mobile dashboard users cannot access clipped mission controls.
- ⚠️ Bookmarks, legend, or layers may become inaccessible on narrow screens.

Fix in Cursor Fix in VSCode Claude

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

**Path:** frontend/src/components/EarthTwin.tsx
**Line:** 978:978
**Comment:**
	*Css Layout Issue: The toolbar uses a non-wrapping flex row for five text buttons, and the EarthTwin HUD clips overflow on small screens. On narrow mobile viewports, the combined minimum width of these controls exceeds the available width, so the rightmost controls can be rendered outside the clipped globe area and become inaccessible. Allow the controls to wrap or provide a responsive/mobile layout that fits within the viewport.

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
👍 | 👎

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@frontend/src/components/EarthTwin.tsx`:
- Around line 1036-1042: Add aria-pressed={showLegend} to the LEGEND button in
the EarthTwin component, alongside its existing onClick and className
attributes, so assistive technologies can determine whether the legend panel is
open.
- Around line 976-983: Update the controls toolbar container in the EarthTwin
component to constrain its width on narrow viewports and allow its five controls
to wrap, while preserving the existing right alignment and styling. Adjust the
relevant toolbar className rather than the individual buttons.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 485b7e9a-f1be-42c1-97a8-640d41f6c47c

📥 Commits

Reviewing files that changed from the base of the PR and between 8b266ee and 739c470.

📒 Files selected for processing (2)
  • frontend/src/components/EarthTwin.tsx
  • frontend/src/pages/Dashboard.tsx

Comment thread frontend/src/components/EarthTwin.tsx
Comment thread frontend/src/components/EarthTwin.tsx

@krishkhinchi krishkhinchi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!!

@krishkhinchi
krishkhinchi merged commit 120b23b into 7-Blocks:main Aug 14, 2026
3 checks passed
@krishkhinchi krishkhinchi added ECSoC26 Official label for ECSoC26 event contributions. ECSoC26-L1 Level 1 contribution for the ECSoC26 event. labels Aug 14, 2026
@ecsoc-sentinel ecsoc-sentinel Bot added ECSoC26-L1 Level 1 contribution for the ECSoC26 event. and removed ECSoC26-L1 Level 1 contribution for the ECSoC26 event. labels Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Artificial Intelligence and Machine Learning bug Something isn't working documentation Improvements or additions to documentation ECSoC26-L1 Level 1 contribution for the ECSoC26 event. ECSoC26 Official label for ECSoC26 event contributions. enhancement New feature or request frontend Frontend development size/M Medium-sized contribution. size:M This PR changes 30-99 lines, ignoring generated files size:S Small size type:bug Fixes an existing bug or unexpected behavior. type:documentation Improves project documentation. type:feature Introduces a new feature or enhancement. type:frontend Changes frontend or client-side code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🎛️ Simplify Dashboard Controls & Remove Redundant Metrics

3 participants