Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Name the one-time signing-secret field after rotating a slash command or event subscription secret, so screen readers announce "Signing secret — visible once" instead of an unlabeled text field. Thanks @KrasimirKralev.

## 0.9.5 - 2026-11-15

**Highlights:** Reliable navigation from notifications, clearer archived-channel and CLI behavior, and a security fix for the HTTP/1 header race.
Expand Down
4 changes: 2 additions & 2 deletions apps/api/internal/webassets/dist/200.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<link href="/_app/immutable/chunks/Bbkvzshl.js" rel="modulepreload">
<link href="/_app/immutable/chunks/C6Jfgk1u.js" rel="modulepreload">
<link href="/_app/immutable/chunks/z51mP5hD.js" rel="modulepreload">
<link href="/_app/immutable/entry/app.CrwAY6JG.js" rel="modulepreload">
<link href="/_app/immutable/entry/app.BXW9GZbv.js" rel="modulepreload">
<link href="/_app/immutable/nodes/0.BGOkLFn0.js" rel="modulepreload">
<link href="/_app/immutable/chunks/DK3Fl9T5.js" rel="modulepreload">
<link href="/_app/immutable/chunks/BCyOjJiP.js" rel="modulepreload">
Expand All @@ -136,7 +136,7 @@

import("/_app/immutable/entry/start.2L4D_1Xc.js").then(async (kit) => {
kit.init(__sveltekit_375u9e);
const app = await import("/_app/immutable/entry/app.CrwAY6JG.js");
const app = await import("/_app/immutable/entry/app.BXW9GZbv.js");
kit.start(app, element);
});
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

This file was deleted.

4 changes: 2 additions & 2 deletions apps/api/internal/webassets/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<link href="./_app/immutable/chunks/Bbkvzshl.js" rel="modulepreload">
<link href="./_app/immutable/chunks/C6Jfgk1u.js" rel="modulepreload">
<link href="./_app/immutable/chunks/z51mP5hD.js" rel="modulepreload">
<link href="./_app/immutable/entry/app.CrwAY6JG.js" rel="modulepreload">
<link href="./_app/immutable/entry/app.BXW9GZbv.js" rel="modulepreload">
<link href="./_app/immutable/nodes/0.BGOkLFn0.js" rel="modulepreload">
<link href="./_app/immutable/chunks/DK3Fl9T5.js" rel="modulepreload">
<link href="./_app/immutable/chunks/BCyOjJiP.js" rel="modulepreload">
Expand All @@ -139,7 +139,7 @@

import("./_app/immutable/entry/start.2L4D_1Xc.js").then(async (kit) => {
kit.init(__sveltekit_375u9e);
const app = await import("./_app/immutable/entry/app.CrwAY6JG.js");
const app = await import("./_app/immutable/entry/app.BXW9GZbv.js");
kit.start(app, element);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,12 @@
</div>
{#if revealedSecrets[subscription.id]}
<div class="ws-intg__secret" aria-live="polite">
<span class="ws-intg__secret-label">Signing secret — visible once</span>
<label class="ws-intg__secret-label" for={`event-subscription-secret-${subscription.id}`}>
Signing secret — visible once
</label>
<div class="ws-intg__secret-row">
<input
id={`event-subscription-secret-${subscription.id}`}
class="ws-bots__reveal-input"
type="text"
readonly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,12 @@
</div>
{#if revealedSecrets[command.id]}
<div class="ws-intg__secret" aria-live="polite">
<span class="ws-intg__secret-label">Signing secret — visible once</span>
<label class="ws-intg__secret-label" for={`slash-command-secret-${command.id}`}>
Signing secret — visible once
</label>
<div class="ws-intg__secret-row">
<input
id={`slash-command-secret-${command.id}`}
class="ws-bots__reveal-input"
type="text"
readonly
Expand Down
15 changes: 14 additions & 1 deletion tests/e2e/integrations.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test, type Page } from "@playwright/test";
import { expect, test, type Locator, type Page } from "@playwright/test";

async function createWorkspace(page: Page, suffix: string, stamp: number) {
const response = await page.request.post("/api/workspaces", {
Expand All @@ -14,6 +14,17 @@ async function createWorkspace(page: Page, suffix: string, stamp: number) {
return body.workspace;
}

// Each revealed secret is named by its own row's label, so ids must stay unique per row.
async function expectLabelledSecrets(rows: Locator[]) {
for (const row of rows) {
const secret = await row.locator(".ws-bots__reveal-input").inputValue();
expect(secret).not.toBe("");
await expect(row.getByRole("textbox", { name: "Signing secret — visible once" })).toHaveValue(
secret,
);
}
}

test("installs an OpenClaw app through the wizard and uninstalls with cascade", async ({
page,
}) => {
Expand Down Expand Up @@ -600,6 +611,7 @@ test("keeps each registration busy until its own secret rotation finishes", asyn
releaseCommand?.();
await expect(firstCommandRow.locator(".ws-intg__secret")).toBeVisible();
await expect(firstCommandRow.getByRole("button", { name: "Rotate secret" })).toBeEnabled();
await expectLabelledSecrets([firstCommandRow, secondCommandRow]);

const subscriptionsPanel = page.locator(".ws-intg__panel", {
hasText: "Event subscriptions",
Expand Down Expand Up @@ -637,6 +649,7 @@ test("keeps each registration busy until its own secret rotation finishes", asyn
releaseSubscription?.();
await expect(firstSubscriptionRow.locator(".ws-intg__secret")).toBeVisible();
await expect(firstSubscriptionRow.getByRole("button", { name: "Rotate secret" })).toBeEnabled();
await expectLabelledSecrets([firstSubscriptionRow, secondSubscriptionRow]);
});

test("keeps each connected account busy until its own disconnect finishes", async ({ page }) => {
Expand Down
Loading