Conversation
Settings was still modeled as a separate Electron window, which made provider focus, section spacing, and app-level navigation harder to keep coherent. The hub now owns settings as a scrollable in-window page with anchored tabs, Application first, Browser Sync split out, and provider loading skeletons that preserve row height. Constraint: Preserve unrelated dirty session persistence work in the worktree Rejected: Keep settings:browsercode:focus-provider IPC | settings focus now travels in the open-settings payload Rejected: Push current main directly | main already had an unrelated local commit ahead of origin/main Confidence: high Scope-risk: moderate Directive: Keep SettingsSectionId, SETTINGS_TABS, and rendered settings sections in the same order Tested: git diff --cached --check; task typecheck; npm run test -- ConnectionsPane BrowserCodeModelPicker EnginePicker SettingsPane; task lint Not-tested: Live Electron visual pass
There was a problem hiding this comment.
1 issue found across 20 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="app/src/renderer/hub/hub.css">
<violation number="1" location="app/src/renderer/hub/hub.css:3274">
P2: Respect reduced-motion preferences for the new settings scroller; `scroll-behavior: smooth` should be disabled for users with `prefers-reduced-motion: reduce`.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.
| min-width: 0; | ||
| min-height: 0; | ||
| overflow-y: auto; | ||
| scroll-behavior: smooth; |
There was a problem hiding this comment.
P2: Respect reduced-motion preferences for the new settings scroller; scroll-behavior: smooth should be disabled for users with prefers-reduced-motion: reduce.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At app/src/renderer/hub/hub.css, line 3274:
<comment>Respect reduced-motion preferences for the new settings scroller; `scroll-behavior: smooth` should be disabled for users with `prefers-reduced-motion: reduce`.</comment>
<file context>
@@ -3182,272 +3253,191 @@ button:focus:not(:focus-visible) {
+ min-width: 0;
+ min-height: 0;
+ overflow-y: auto;
+ scroll-behavior: smooth;
+ scroll-padding-top: 96px;
}
</file context>
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.
Settings was still modeled as a separate Electron window, which made provider focus, section spacing, and app-level navigation harder to keep coherent. The hub now owns settings as a scrollable in-window page with anchored tabs, Application first, Browser Sync split out, and provider loading skeletons that preserve row height.
Constraint: Preserve unrelated dirty session persistence work in the worktree
Rejected: Keep settings:browsercode:focus-provider IPC | settings focus now travels in the open-settings payload
Rejected: Push current main directly | main already had an unrelated local commit ahead of origin/main
Confidence: high
Scope-risk: moderate
Directive: Keep SettingsSectionId, SETTINGS_TABS, and rendered settings sections in the same order
Tested: git diff --cached --check; task typecheck; npm run test -- ConnectionsPane BrowserCodeModelPicker EnginePicker SettingsPane; task lint
Not-tested: Live Electron visual pass
Summary by cubic
Moved Settings into the Hub as a scrollable in-window page with anchored tabs, replacing the separate Electron window. This simplifies navigation and provider focus, adds a dedicated Browser Sync tab, and prevents layout shift with loading skeletons.
New Features
electronAPI.settings.open({ focusBrowserCodeProvider: '...' }).Migration
SettingsWindow.ts.settings:browsercode:focus-provider; use theopenpayload instead.settings-providers,settings-connections,settings-shortcuts,settings-privacy,settings-application).Written for commit 17e2c21. Summary will update on new commits.