Refactor UI components and add NewSessionPage; replace TestPage with NewSessionPage, implement ActionsSidebarWrapper, and enhance ActionsPopover and ControlsPopover with Popover component for improved UI interactions.

This commit is contained in:
2025-10-15 17:00:30 +05:00
parent 728d727cd1
commit d4d5bf609f
8 changed files with 257 additions and 44 deletions
@@ -3,7 +3,8 @@ import clsx from "clsx";
interface FloatingActionButtonProps
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
children: React.ReactNode;
variant: "default" | "critical";
variant?: "default" | "critical";
ref?: React.RefObject<HTMLButtonElement | null>;
}
function FloatingActionButton({
@@ -11,11 +12,13 @@ function FloatingActionButton({
variant = "default",
className,
onClick,
ref,
...props
}: FloatingActionButtonProps) {
return (
<button
onClick={onClick}
ref={ref}
className={clsx(
"2xl:p-[0.833vw] p-3 rounded-full transition-all cursor-pointer disabled:!cursor-default outline-none backdrop-blur-[10px]",
variant === "default" &&