feat(webui): add a compact composer workspace toolbar (#6256)
* feat(webui): add a compact composer workspace toolbar * refactor(webui): simplify composer workspace access control * feat(webui): add a draggable workspace access capsule * refactor(webui): simplify composer permission controls * fix(webui): align mobile workspace permissions and stabilize CI test
This commit is contained in:
1 parent
0254bf1217
commit
cf0a0276a7
34 files changed
+528
-267
No files matched your search
@@ -13,6 +13,7 @@ export function HoverHint({ content, children, enabled = true, side = "top", ali
|
||||
contentClassName?: string;
|
||||
}) {
|
||||
const [open, setOpen] = React.useState(false);
|
||||
React.useEffect(() => { if (!enabled) setOpen(false); }, [enabled]);
|
||||
return (
|
||||
<TooltipProvider>
|
||||
<Tooltip open={enabled && open} onOpenChange={(next) => setOpen(enabled && next)}>
|
||||
|
||||
Reference in new issue
Block a user