Repository navigation
(janitor/comments) remove noise comments from apps/storybook - #8891
kilo-code-bot[bot] wants to merge 1 commit into
Conversation
Delete banner separators, JSX section narration, prop/state group labels that restate names, and 'Wrapper component to handle state' captions that restate the function below them. Comment-only change; no directives, public contracts, or behavior touched.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryComment-only deletion across 12 Assumptions: Files Reviewed (12 files)
Reviewed by deepseek-flash-latest · Input: 39.5K · Output: 3.2K · Cached: 265.7K Review guidance: REVIEW.md from base branch |
Package or topic area cleaned
apps/storybook— the Storybook app package:stories/(root,cloud-agent/,shared/) andsrc/mockData/. Selected after ranking comment-dense areas across the repo; the storybook package had the largest concentration of low-confidence-value comments (banners and restatement), while every other candidate area inspected (kilo-* services, gastown, mobile, cloud-agent-sdk, web-shared, integrations) contains carefully curated "why" comments that were left alone.Files touched (12)
apps/storybook/stories/SignInForm.stories.tsxapps/storybook/stories/cloud-agent/ProfileVarEditor.stories.tsxapps/storybook/stories/cloud-agent/ProfilesListDialog.stories.tsxapps/storybook/stories/cloud-agent/ProfileSelector.stories.tsxapps/storybook/stories/cloud-agent/SaveProfileDialog.stories.tsxapps/storybook/stories/cloud-agent/SetupCommandsDialog.stories.tsxapps/storybook/stories/cloud-agent/EnvVarsDialog.stories.tsxapps/storybook/stories/shared/ModelCombobox.stories.tsxapps/storybook/stories/UpgradeTrialDialog.stories.tsxapps/storybook/stories/FreeTrialWarningBanner.stories.tsxapps/storybook/src/mockData/constants.tsapps/storybook/src/mockData/providers.tsComment lines removed
68 comment lines (78 total deletions including 10 directly resulting whitespace collapses).
Categories of noise removed
// ====... STATE NAME ====...) duplicating the adjacent story export names{/* Tab navigation */},{/* Variables Tab */},// Edit mode,// View mode,{/* Add new variable form */},{/* Summary of what will be saved */})// Add variable state,// Edit variable state,// Loading states)// Wrapper component to handle state,// Interactive wrapper to control dialog state)// Anthropic,// OpenAI, … vendor labels over model ids;// Owner-specific examples for specific statesoverOwner_*story names)// Constant data used in our stories.,// Ensure all required fields have defaults)Important comments intentionally retained
orderNewAccountProvidersdiscovery)// no vision support = no icon, the google-first ordering notes in SignInForm)random.tsusage contract ("Stories should import and use this instead of creating their own RNG instances")ModeCombobox/ModelComboboxcompact-variant usage context (chat footer toolbar)Suppressions
None touched. No lint/type directives existed among the removed lines.
Follow-up refactor candidates
None. No deleted comment was load-bearing for understanding; no symbol needs refactoring.
Validation performed
pnpm typecheckinapps/storybook(tsgo --noEmit) — passesoxlint apps/storybook/stories apps/storybook/src— clean (exit 0)oxfmt --checkon touched directories — all files correctly formatted