Integrate thinking orbs for enhanced loading animations - #633
Integrate thinking orbs for enhanced loading animations#633harshil-2096 wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: 59a1577 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 59a1577. Configure here.
| > | ||
| <Spinner size={28} className="text-text-primary" /> | ||
| <span className="sr-only">Loading</span> | ||
| <ThinkingOrb state="connecting" size={64} speed={1} theme="auto" paused={false} aria-hidden /> |
There was a problem hiding this comment.
Unthemed orb can lose contrast
Low Severity
ServerInitLoader pins ThinkingOrb to theme="auto", which falls back to prefers-color-scheme when no ancestor has data-theme or a dark/light class. The same loader is the withRouter Suspense fallback outside ThemeProvider, so a dark OS preference on a light host page can render light ink on a light background.
Reviewed by Cursor Bugbot for commit 59a1577. Configure here.


Summary
Screencast.from.2026-09-08.16-49-10.webm
Changes
How was this tested?
Checklist
pnpm build,pnpm test,pnpm typecheck,pnpm lint:ci, andpnpm format:checkpass locallypackages/trueforge-sdk,.github/fern/openapi/openapi.json,docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge.env.exampleupdated if configuration or behavior changedNote
Low Risk
Cosmetic loading UX and a small new UI dependency; no changes to auth, APIs, or data handling.
Overview
Replaces plain “Loading application…” text and the
Spinnerin server initialization with thethinking-orbsThinkingOrbanimation (connectingstate) during session checks, app boot, and while the TrueFoundry agent UI server resolves.Adds
thinking-orbs@^0.3.1tofrontendand@truefoundry/trueforge-ui, introduces a sharedLoaderinApp.tsx, and updatesServerInitLoaderaccessibility (aria-label="Loading"on the status region). Tests mock the package and assert the orb appears during pendingtruefoundryserver init. Patch changeset entries cover@truefoundry/trueforgeand@truefoundry/trueforge-ui.Reviewed by Cursor Bugbot for commit 59a1577. Bugbot is set up for automated code reviews on this repo. Configure here.