fix(control-ui): contain access settings fields (#77171) · openclaw/openclaw@cf03fe6
BunsDev
·
2026-05-04
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -70,6 +70,7 @@ Docs: https://docs.openclaw.ai
|
70 | 70 | - Media/images: keep HEIC/HEIF attachments fail-closed when optional Sharp conversion is unavailable instead of sending originals that still need conversion. Thanks @vincentkoc. |
71 | 71 | - Google Meet: fork the caller's current agent transcript into agent-mode meeting consultant sessions, so Meet replies inherit the context from the tool call that joined the meeting. |
72 | 72 | - iOS/mobile pairing: reject non-loopback `ws://` setup URLs before QR/setup-code issuance and let the iOS Gateway settings screen scan QR codes or paste full setup-code messages. Thanks @BunsDev. |
| 73 | +- Control UI: keep Gateway Access inputs and locale picker contained inside the card at narrow and tablet widths. |
73 | 74 | - Telegram/streaming: sanitize tool-progress draft preview backticks before shared compaction, so long backtick-heavy progress text still renders inside the safe code-formatted preview instead of collapsing to an ellipsis. |
74 | 75 | - UI/chat: remove the unsupported `line-clamp` declaration from the chat queue text rule to eliminate Firefox console noise without changing visible truncation behavior. Thanks @ZanderH-code. |
75 | 76 | - Agents/Pi: suppress persistence for synthetic mid-turn overflow continuation prompts, so transcript-retry recovery does not write the "continue from transcript" prompt as a new user turn. Thanks @vincentkoc. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5552,7 +5552,18 @@ td.data-table-key-col {
|
5552 | 5552 | .ov-access-grid { |
5553 | 5553 | display: grid; |
5554 | 5554 | gap: 12px; |
5555 | | -grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); |
| 5555 | +grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); |
| 5556 | +} |
| 5557 | + |
| 5558 | +.ov-access-grid .field { |
| 5559 | +min-width: 0; |
| 5560 | +} |
| 5561 | + |
| 5562 | +.ov-access-grid .field input, |
| 5563 | +.ov-access-grid .field select { |
| 5564 | +box-sizing: border-box; |
| 5565 | +min-width: 0; |
| 5566 | +width: 100%; |
5556 | 5567 | } |
5557 | 5568 | |
5558 | 5569 | .ov-access-grid__full { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -34,3 +34,17 @@ describe("sessions filter styles", () => {
|
34 | 34 | expect(css).toContain(".sessions-filter-bar {\n flex-direction: column;"); |
35 | 35 | }); |
36 | 36 | }); |
| 37 | + |
| 38 | +describe("overview access grid styles", () => { |
| 39 | +it("keeps access fields and native controls within the card", () => { |
| 40 | +const css = readComponentsCss(); |
| 41 | + |
| 42 | +expect(css).toContain( |
| 43 | +"grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));", |
| 44 | +); |
| 45 | +expect(css).toContain(".ov-access-grid .field {\n min-width: 0;"); |
| 46 | +expect(css).toContain(".ov-access-grid .field input,\n.ov-access-grid .field select {"); |
| 47 | +expect(css).toContain("box-sizing: border-box;"); |
| 48 | +expect(css).toContain("width: 100%;"); |
| 49 | +}); |
| 50 | +}); |
| Original file line number | Diff line number | Diff line change |
|---|
@@ -661,7 +661,7 @@ export async function createChatSession(state: AppViewState) {
|
661 | 661 | limit: 0, |
662 | 662 | includeGlobal: true, |
663 | 663 | includeUnknown: true, |
664 | | -showArchived: state.sessionsShowArchived, |
| 664 | +showArchived: state.sessionsShowArchived ?? false, |
665 | 665 | }, |
666 | 666 | ); |
667 | 667 | if ( |
@@ -692,7 +692,7 @@ async function refreshSessionOptions(state: AppViewState) {
|
692 | 692 | limit: 0, |
693 | 693 | includeGlobal: true, |
694 | 694 | includeUnknown: true, |
695 | | -showArchived: state.sessionsShowArchived, |
| 695 | +showArchived: state.sessionsShowArchived ?? false, |
696 | 696 | }); |
697 | 697 | } |
698 | 698 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -77,7 +77,7 @@ async function refreshSessionOptions(state: AppViewState) {
|
77 | 77 | limit: 0, |
78 | 78 | includeGlobal: true, |
79 | 79 | includeUnknown: true, |
80 | | -showArchived: state.sessionsShowArchived, |
| 80 | +showArchived: state.sessionsShowArchived ?? false, |
81 | 81 | }); |
82 | 82 | } |
83 | 83 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。