aboutsummaryrefslogtreecommitdiff
path: root/extensions/chrome-profile-bridge/index.ts
diff options
context:
space:
mode:
authorTianren Dong <tianrendong.dtr@gmail.com>2026-05-14 22:23:16 -0400
committerTianren Dong <tianrendong.dtr@gmail.com>2026-05-14 22:23:16 -0400
commit1ec189f8f7f137555e8ae90d6753ee226eefa457 (patch)
tree1efe4cb2d695b0598799b96c16be3ec9117017b9 /extensions/chrome-profile-bridge/index.ts
parent3416a7e78e970af8f76fc1570dfb873c749467b8 (diff)
Show Chrome connection check state
Diffstat (limited to 'extensions/chrome-profile-bridge/index.ts')
-rw-r--r--extensions/chrome-profile-bridge/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/chrome-profile-bridge/index.ts b/extensions/chrome-profile-bridge/index.ts
index 6763ad6..6f2739a 100644
--- a/extensions/chrome-profile-bridge/index.ts
+++ b/extensions/chrome-profile-bridge/index.ts
@@ -684,6 +684,7 @@ Usage rules:
};
const statusHandler = async (ctx: ExtensionContext) => {
+ ctx.ui.notify("Checking Chrome connection…", "info");
ctx.ui.notify(await statusSummary(), "info");
};
@@ -723,6 +724,7 @@ Usage rules:
const openCommandMenu = async (ctx: ExtensionContext): Promise<void> => {
while (true) {
+ ctx.ui.notify("Checking Chrome connection…", "info");
const choice = await ctx.ui.select(`pi-chrome\n${await statusSummary()}`, [
"Authorize Chrome control…",
"Lock Chrome control",