Repository navigation
Conversation
ymichael
force-pushed
the
bb/fix-empty-environment-variables-card-when-loadin-thr_nnq5kyykq2
branch
from
October 7, 2026 17:54
9ef067f to
e1db7d2
Compare
## What was wrong The real settings component hid its automatic GH_TOKEN row whenever the variables response was absent, even though the switch's setting comes from system config. A failed request left an empty card with the error below an unused gap. The Ladle failed-load fixture correctly reproduced this behavior; its hint described the intended row visibility. ## What changed Render the automatic row when the variables request fails as well as when variables are available. Keep variable editing gated on a loaded response and preserve the loading state. ## How you verified - Served apps/app Ladle with pnpm exec turbo run storybook --filter=@bb/app -- --port 6193. - Reviewed before/after screenshots of Settings / Machine environment > Section (could not load) at 390px and 1280px. Isolated the story row and adapted only Ladle's surrounding layout to fit each viewport. - Confirmed the failed state displays GH_TOKEN, the config-backed switch, and the error, without editing buttons or horizontal overflow. Checked the loading state and successful story sections retain their behavior. - pnpm exec turbo run typecheck lint --filter=@bb/app passed; lint reported 250 existing warnings and no errors. - git diff --check passed. > AGENT GENERATED
ymichael
force-pushed
the
bb/fix-empty-environment-variables-card-when-loadin-thr_nnq5kyykq2
branch
from
October 7, 2026 18:09
e1db7d2 to
761c83b
Compare
ymichael
deleted the
bb/fix-empty-environment-variables-card-when-loadin-thr_nnq5kyykq2
branch
October 7, 2026 18:12
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
The real settings component hid its automatic GH_TOKEN row whenever the
variables response was absent, even though the switch's setting comes from
system config. A failed request left an empty card with the error below an
unused gap. The Ladle failed-load fixture correctly reproduced this behavior;
its hint described the intended row visibility.
What changed
Render the automatic row when the variables request fails as well as when
variables are available. Keep variable editing gated on a loaded response
and preserve the loading state.
How you verified
Served apps/app Ladle with pnpm exec turbo run storybook --filter=@bb/app -- --port 6193.
Reviewed before/after screenshots of Settings / Machine environment >
Section (could not load) at 390px and 1280px. Isolated the story row and
adapted only Ladle's surrounding layout to fit each viewport.
Confirmed the failed state displays GH_TOKEN, the config-backed switch,
and the error, without editing buttons or horizontal overflow. Checked
the loading state and successful story sections retain their behavior.
pnpm exec turbo run typecheck lint --filter=@bb/app passed; lint reported
250 existing warnings and no errors.
git diff --check passed.
Rebased onto current main, including the SDK guard fix that builds declarations
before packing, and repeated app typecheck/lint successfully.
All 18 selected PR checks passed. Full CI on the preceding rebase also
passed all 44 jobs.