-
Notifications
You must be signed in to change notification settings - Fork 4
ADE-115: real machine-level Chats tab + projectless chats redesign #781
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
arul28
merged 9 commits into
main
from
ade-115-fix-navigation-and-redesign-the-projectless-chats-experience
Jul 10, 2026
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2cb5e48
ADE-115: real machine-level Chats tab + projectless chats redesign
arul28 d7c1e02
ADE-115 quality pass: verified review fixes + ShellNavTab extraction
arul28 e0e0e00
ADE-115 test pass: pin quality fixes, docs parity for the new tab model
arul28 6e43f48
ship: iteration 1 — Chats tab opens from project visits too (codex P2)
arul28 012591b
ship: iteration 2 — codex P2 + 4 coderabbit findings
arul28 5eecffb
ship: fix test type annotation (typecheck)
arul28 416f560
ship: iteration 3 — await catalog-resolved accent before contrast ass…
arul28 b2e2c95
ship: iteration 4 — preserve project routes from Chats, settle empty …
arul28 d0c74b2
ship: iteration 5 — Enter falls through to newline during an active t…
arul28 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
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,74 @@ | ||
| import type { CSSProperties, ReactNode } from "react"; | ||
| import { X } from "@phosphor-icons/react"; | ||
|
|
||
| import { cn } from "../ui/cn"; | ||
|
|
||
| type ShellNavTabProps = { | ||
| active: boolean; | ||
| label?: string; | ||
| onActivate?: () => void; | ||
| onClose: () => void; | ||
| closeTitle: string; | ||
| closeDisabled?: boolean; | ||
| children: ReactNode; | ||
| className?: string; | ||
| }; | ||
|
|
||
| export function ShellNavTab({ | ||
| active, | ||
| label, | ||
| onActivate, | ||
| onClose, | ||
| closeTitle, | ||
| closeDisabled = false, | ||
| children, | ||
| className, | ||
| }: ShellNavTabProps) { | ||
| return ( | ||
| <div | ||
| role="button" | ||
| tabIndex={0} | ||
| aria-label={label} | ||
| className={cn( | ||
| "ade-shell-project-tab group inline-flex w-[clamp(128px,16vw,220px)] max-w-[220px] min-w-0 items-center gap-1.5 px-2.5", | ||
| "cursor-pointer font-semibold transition-[background-color,color,border-color,box-shadow] duration-150", | ||
| className, | ||
| )} | ||
| data-state={active ? "active" : undefined} | ||
| style={{ WebkitAppRegion: "no-drag" } as CSSProperties} | ||
| onClick={onActivate} | ||
| onKeyDown={(event) => { | ||
| if ( | ||
| onActivate && | ||
| (event.key === "Enter" || event.key === " ") | ||
| ) { | ||
| event.preventDefault(); | ||
| onActivate(); | ||
| } | ||
| }} | ||
| > | ||
| {children} | ||
| <button | ||
| type="button" | ||
| className={cn( | ||
| "ade-shell-control ml-auto inline-flex h-4 w-4 shrink-0 items-center justify-center text-current", | ||
| "opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100", | ||
| )} | ||
| data-variant="ghost" | ||
| disabled={closeDisabled} | ||
| onClick={(event) => { | ||
| event.stopPropagation(); | ||
| onClose(); | ||
| }} | ||
| onKeyDown={(event) => { | ||
| // Enter/Space on the focused close button must not bubble into the | ||
| // wrapper's activate handler. | ||
| event.stopPropagation(); | ||
| }} | ||
| title={closeTitle} | ||
| > | ||
| <X size={12} weight="regular" /> | ||
| </button> | ||
| </div> | ||
| ); | ||
| } | ||
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.