From 64a9b2cd1d9a370f4f5c73a148d79d44b7e60772 Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Tue, 25 Aug 2026 22:53:20 +0000
Subject: [PATCH] refactor(ui): Redesign and consolidate sessions and passes
drawer
- Removed the dual top buttons from SessionsPage.tsx.
- Removed the `#eventDrawer` and wrapped its fields, buttons, and modal under `
- {/* Label Input */}
-
-
-
-
-
- {/* Direct 1-Click Destination (App Selection) */}
-
-
-
-
- Selecting an app scopes the pass and automatically redirects the
- recipient to that app upon 1-click redemption.
-
-
-
- {/* Lifespan Presets */}
-
-
-
+
+
+
+ Create New Pass / Session
+
-
-
-
-
-
- {/* Access Mode Presets */}
-
-
-
+
- {isAdmin && (
+
+
+
+
+
+
+ Mint an isolated, scoped child session for 1-click magic links, CLI
+ tools, team members, or AI assistants without exposing your primary
+ passkeys.
+
+
+
+ {/* Label Input */}
+
+
+
+
+
+ {/* Direct 1-Click Destination (App Selection) */}
+
+
+
+
+ Selecting an app scopes the pass and automatically redirects the
+ recipient to that app upon 1-click redemption.
+
+ Select which subsidiary microservices and IAM capabilities
+ this delegated token is permitted to access:
+
+
+
+
- ))}
+
+
+ {apps.map((app) => (
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+ {/* Hand-Off Card (Revealed upon generation) */}
+
+
+
+ 🔑
+
+ Session Delegated Successfully!
+
+
+ Active Now
+
+
+
+ Copy this token, 1-click magic link, or CLI export string. You can
+ revoke or extend this session anytime from the active session
+ cards below.
+
+
+
+ {/* 1-Click Magic Link */}
+
+
+
+
+
+
+
+
+
+ {/* 1-Tap Copy CLI */}
+
+
+
+
+
+
+
+
+
+ {/* 1-Tap Copy cURL Header */}
+
+
+
+
+
+
+
-
-
-
-
+
- {/* Hand-Off Card (Revealed upon generation) */}
-
-
-
- 🔑
-
- Session Delegated Successfully!
-
-
- Active Now
-
-
-
- Copy this token, 1-click magic link, or CLI export string. You can
- revoke or extend this session anytime from the active session cards
- below.
+
+
+ Generate a shared event pass with a universal 6-digit PIN, vanity
+ link (/e/slug), and CLI
+ 1-liner for workshops, hackathons, and multi-user kiosks.
+ Share the 6-digit PIN, 1-click link, or CLI 1-liner with
+ attendees. You can monitor live claimed seats and trigger the
+ master kill switch from the Event Cockpit below.
+