feat: credentials management

This commit is contained in:
Soumyadas15 2025-06-09 11:36:24 +05:30
parent 077dab8d8f
commit 0abd383c5c
1 changed files with 0 additions and 7 deletions

View File

@ -15,7 +15,6 @@ import {
SidebarGroup,
SidebarHeader,
SidebarMenuButton,
SidebarMenuItem,
SidebarRail,
SidebarTrigger,
useSidebar,
@ -53,7 +52,6 @@ export function SidebarLeft({
const customAgentsEnabled = flags.custom_agents;
const marketplaceEnabled = flags.agent_marketplace;
// Fetch user data
useEffect(() => {
const fetchUserData = async () => {
const supabase = createClient();
@ -74,16 +72,11 @@ export function SidebarLeft({
fetchUserData();
}, []);
// Handle keyboard shortcuts (CMD+B) for consistency
useEffect(() => {
const handleKeyDown = (event: KeyboardEvent) => {
if ((event.metaKey || event.ctrlKey) && event.key === 'b') {
event.preventDefault();
// We'll handle this in the parent page component
// to ensure proper coordination between panels
setOpen(!state.startsWith('expanded'));
// Broadcast a custom event to notify other components
window.dispatchEvent(
new CustomEvent('sidebar-left-toggled', {
detail: { expanded: !state.startsWith('expanded') },