Yaak Proxy: HTTPS decryption UI, and Info and Body in the card's tabs

The strip, quiet encrypted rows, warning rows for refused handshakes, the
encrypted card with named actions, trust at the first Decrypt, the toast
with Undo and Reconnect, the pill's Decrypt everything switch, Settings'
Decryption section, the Encrypted sidebar row, and two-step setup. Both
body tabs read Body with a type badge; Info leads the request half with
the timeline folded in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Gregory SchierandClaude Opus 5.5 authored and Stetta task tk_mwb56agvne2hw21h committed 2026-11-10 22:30:40 -07:00
1 parent 5148b0f0ba
commit b0425069f4
43 files changed
+3019 -586

No files matched your search

+5 -2
View File
@@ -98,6 +98,8 @@ export interface DropdownProps {
fullWidth?: boolean;
hotKeyAction?: HotkeyAction;
onOpen?: () => void;
/** The menu closed, however it was closed */
onClose?: () => void;
}
export interface DropdownRef {
@@ -117,7 +119,7 @@ const openAtom = atom<string | null>(null);
const openStore = createStore();
export const Dropdown = forwardRef<DropdownRef, DropdownProps>(function Dropdown(
{ children, items, hotKeyAction, fullWidth, onOpen }: DropdownProps,
{ children, items, hotKeyAction, fullWidth, onOpen, onClose }: DropdownProps,
ref,
) {
const id = useRef(generateId());
@@ -129,9 +131,10 @@ export const Dropdown = forwardRef<DropdownRef, DropdownProps>(function Dropdown
const newIsOpen = globalOpenId === id.current;
if (newIsOpen !== isOpen) {
setIsOpen(newIsOpen);
if (!newIsOpen) onClose?.();
}
});
}, [isOpen]);
}, [isOpen, onClose]);
// const [isOpen, _setIsOpen] = useState<boolean>(false);
const [defaultSelectedIndex, setDefaultSelectedIndex] = useState<number | null>(null);