refactor: remove redundant comments and docstrings (#6527)

* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-30 13:07:03 +08:00
1 parent cb3ba45317
commit a4d2430140
922 files changed
+406 -7738

No files matched your search

@@ -5,7 +5,6 @@ import { cn } from "@/lib/utils";
export function ControlChevron({ className }: { className?: string }) {
return (
<ChevronDown
// Keep the horizontal viewBox around the artwork, including its stroke.
viewBox="5 0 14 24"
width={14}
height={24}
@@ -1,6 +1,5 @@
import { useLayoutEffect, useRef, useState } from "react";
/** Animate a line-limited preview without swapping or duplicating its text. */
export function ExpandableText({
children, expanded, lines, className, id,
}: {
@@ -2,7 +2,6 @@ import type { ReactNode } from "react";
import { cn } from "@/lib/utils";
/** L→R sheen on the glyphs themselves; inactive labels stay solid muted text. */
export function StreamingLabelSheen({
children,
active,