Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

fix: reduce orbit speed for GlobeRenderer#58

Merged
Sithumli merged 4 commits intomainfrom
fix/globespeed
Mar 20, 2026
Merged

fix: reduce orbit speed for GlobeRenderer#58
Sithumli merged 4 commits intomainfrom
fix/globespeed

Conversation

@Sithumli
Copy link
Copy Markdown
Member

@Sithumli Sithumli commented Mar 20, 2026

This pull request makes a minor adjustment to the globe animation in the GlobeRenderer component by reducing the orbit speed of the animation.

  • Animation tuning:
    • Reduced the value of ORBIT_SPEED from 0.006 to 0.003 in GlobeRenderer.tsx to slow down the orbit animation.

Summary by CodeRabbit

  • Improvements
    • Slowed orbit ring rotation for a more refined, balanced animation.
  • Style
    • Updated globe shading for richer color, adjusted glow and shininess for improved surface realism.
    • Updated label typography to bolder, modern font for better legibility.

@Sithumli Sithumli self-assigned this Mar 20, 2026
Copilot AI review requested due to automatic review settings March 20, 2026 17:26
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 20, 2026

Warning

Rate limit exceeded

@Sithumli has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 21 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b2424ad6-cda4-4e39-95c8-7f727dfe3da4

📥 Commits

Reviewing files that changed from the base of the PR and between b50a225 and 5ddb8f7.

📒 Files selected for processing (2)
  • src/components/backgrounds/Globe.stories.tsx
  • src/components/backgrounds/Globe.tsx
📝 Walkthrough

Walkthrough

GlobeRenderer visual tweaks: orbit ring angular speed reduced, globe material lighting/color values adjusted, label styling changed, and several inline comments/ESLint disables removed; no exported signatures or control-flow behavior were altered. (≤50 words)

Changes

Cohort / File(s) Summary
Renderer core
src/components/backgrounds/GlobeRenderer.tsx
Reduced ORBIT_SPEED from 0.0060.003 (slower orbit ring angular advance).
Material appearance
src/components/backgrounds/GlobeRenderer.tsx
Updated MeshPhongMaterial parameters: color changed to new THREE.Color(1.1, 0.6, 0.85), emissive to 0x1a0a30, emissiveIntensity to 0.12, and shininess to 15.
Label styling
src/components/backgrounds/GlobeRenderer.tsx
Changed label <span> class from font-medium to font-bold font-[Sora,sans-serif].
Non-functional cleanup
src/components/backgrounds/GlobeRenderer.tsx
Removed several inline ESLint-disable and descriptive comments; no runtime logic changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐇
I slowed the rings to softer beats,
Painted the globe in warmer treats,
Bold the labels, colors bright—
A quiet spin into the night. ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: reduce orbit speed for GlobeRenderer' clearly and specifically describes the main change in the changeset—reducing the ORBIT_SPEED constant from 0.006 to 0.003.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/globespeed

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 and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 20, 2026

Preview Package Published

A preview version of this package has been published to npm!

Version: 0.0.40-pr58.3
Tag: pr-preview

Install this specific commit

npm install @b3-crow/ui-kit@0.0.40-pr58.3
# or
bun add @b3-crow/ui-kit@0.0.40-pr58.3
# or
yarn add @b3-crow/ui-kit@0.0.40-pr58.3

Install latest commit from this PR

npm install @b3-crow/ui-kit@pr-preview
# or
bun add @b3-crow/ui-kit@pr-preview
# or
yarn add @b3-crow/ui-kit@pr-preview

Note: Each commit gets a unique preview version. The pr-preview tag always points to the latest preview. All preview versions for this PR will be automatically cleaned up when the PR is closed.

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

This PR adjusts the GlobeRenderer animation tuning by reducing the orbit ring/point angular velocity, making the orbiting motion slower.

Changes:

  • Reduced ORBIT_SPEED constant from 0.006 to 0.003, slowing the orbit progression used by orbitConfigs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 20, 2026

Deploying ui-kit with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5ddb8f7
Status: ✅  Deploy successful!
Preview URL: https://5a8cf716.ui-kit-d46.pages.dev
Branch Preview URL: https://fix-globespeed.ui-kit-d46.pages.dev

View logs

@Sithumli Sithumli merged commit 51bd205 into main Mar 20, 2026
3 checks passed
prdai pushed a commit that referenced this pull request Mar 23, 2026
fix: reduce orbit speed for GlobeRenderer
prdai pushed a commit that referenced this pull request Mar 23, 2026
fix: reduce orbit speed for GlobeRenderer
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants