mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 18:19:05 +02:00
fix(ui): clarify quota waits before account allocation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
c998a57b42
commit
ee9a0e2b12
2 files changed
+4
-4
No files matched your search
@@ -166,8 +166,8 @@ describe("IssueMonitorBanner / IssueMonitorComposerStrip rendering", () => {
|
||||
flushSync(() => root.render(<><IssueMonitorBanner issue={issue} onCheckNow={vi.fn()} /><IssueMonitorComposerStrip issue={issue} onCheckNow={vi.fn()} /></>));
|
||||
expect(container.textContent).toContain("Pool exhausted");
|
||||
expect(container.textContent).toContain("Usage recheck in 1m");
|
||||
expect(container.textContent).toContain("This task keeps its account");
|
||||
expect(container.textContent).toContain("The selected account stays pinned.");
|
||||
expect(container.textContent).toContain("Tasks with a selected account keep it while waiting.");
|
||||
expect(container.textContent).toContain("Work resumes when usage permits.");
|
||||
expect(container.textContent).not.toContain("Attempt 1");
|
||||
expect(container.querySelector("button")).not.toBeNull();
|
||||
flushSync(() => root.unmount());
|
||||
|
||||
@@ -85,8 +85,8 @@ export function buildMonitorSurfaceCopy(
|
||||
return {
|
||||
bannerTitle: "Pool exhausted",
|
||||
stripTitle: "Pool exhausted",
|
||||
bannerMeta: [`Usage recheck ${eta} · ${absolute} (your time)`, "This task keeps its account and resumes when usage permits."],
|
||||
stripMeta: [`Usage recheck ${eta} · ${absolute}`, "The selected account stays pinned."],
|
||||
bannerMeta: [`Usage recheck ${eta} · ${absolute} (your time)`, "Tasks with a selected account keep it while waiting. Work resumes when usage permits."],
|
||||
stripMeta: [`Usage recheck ${eta} · ${absolute}`, "Tasks with a selected account keep it while waiting."],
|
||||
tone: "info",
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user