-
Notifications
You must be signed in to change notification settings - Fork 448
feat: [ENG-2465] add web UI Configuration page + promote ByteRover provider onboarding #545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8644be6
feat: [ENG-2465] add web UI Configuration page + promote ByteRover pr…
wzlng 1136381
refactor: [ENG-2465] web UI Configuration post-review cleanup
wzlng d449491
refactor: [ENG-2465] redesign Git identity not-set row
wzlng 3f4f6ae
Merge branch 'main' into feat/ENG-2465
wzlng 0a99049
feat: [ENG-2465] tour rework, task retry, and vc remote delete
wzlng 5e462c9
fix: [ENG-2465] tour polish — slider visible-but-locked, detail close…
wzlng a2fbe54
Merge branch 'main' into feat/ENG-2465
wzlng 90e4913
fix: [ENG-2465] keep query detail open after tour submits the query
wzlng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| /** | ||
| * Resolves the OS-native command for revealing a path in the system file manager. | ||
| * Extracted so the branching can be unit-tested without spawning real processes. | ||
| */ | ||
| export type RevealCommand = { | ||
| args: string[] | ||
| command: string | ||
| } | ||
|
|
||
| export function resolveRevealCommand(platformName: NodeJS.Platform, targetPath: string): RevealCommand { | ||
| if (platformName === 'darwin') return {args: [targetPath], command: 'open'} | ||
| if (platformName === 'win32') return {args: [targetPath], command: 'explorer'} | ||
| return {args: [targetPath], command: 'xdg-open'} | ||
| } |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| import {cn} from '@campfirein/byterover-packages/lib/utils' | ||
|
|
||
| type Tone = 'amber' | 'destructive' | 'info' | 'success' | ||
|
|
||
| type Props = { | ||
| className?: string | ||
| /** When true, wrap the dot in a `ping`-animated halo to draw attention. */ | ||
| pulsing?: boolean | ||
| tone: Tone | ||
| } | ||
|
|
||
| const TONE_BG: Record<Tone, string> = { | ||
| amber: 'bg-amber-500', | ||
| destructive: 'bg-destructive', | ||
| info: 'bg-blue-500', | ||
| success: 'bg-primary-foreground', | ||
| } | ||
|
|
||
| /** | ||
| * Small colored dot for status annotations. | ||
| * | ||
| * - Default: a single solid dot — use for permanent indicators | ||
| * (e.g. "connected", "X unread"). | ||
| * - `pulsing`: dot wrapped in a `ping`-animated halo — use for exceptions | ||
| * that want attention (e.g. "configuration required"). | ||
| * | ||
| * Default size is 6px; pass `size-*` via `className` to resize. `className` | ||
| * can also add border/position utilities (e.g. overlaying as a corner badge | ||
| * on an icon). | ||
| */ | ||
| export function StatusDot({className, pulsing = false, tone}: Props) { | ||
| const bg = TONE_BG[tone] | ||
|
|
||
| if (pulsing) { | ||
| return ( | ||
| <span className={cn('relative inline-flex size-1.5 shrink-0', className)}> | ||
| <span className={cn('absolute inline-flex size-full animate-ping rounded-full opacity-75', bg)} /> | ||
| <span className={cn('relative inline-flex size-full rounded-full', bg)} /> | ||
| </span> | ||
| ) | ||
| } | ||
|
|
||
| return <span className={cn('inline-block size-1.5 shrink-0 rounded-full', bg, className)} /> | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.