fix(ui): match measured empty-chat prompt geometry
Use the actual 22px glyph and secondary-pane contrast background. Packaged dark/en captures at1553x998 and880x800 completed without harness errors; wide chat region passes. Whole-screen parity still fails bookmark/tree and narrow residuals.
This commit is contained in:
1 parent
ceecbb790a
commit
33721aee7b
3 files changed
+10
-2
No files matched your search
@@ -20,6 +20,8 @@
|
||||
restore the localized empty-chat prompt with real draft/send-state visibility. Narrow composer tools
|
||||
now overflow into working ordered menus rather than clipping. Settings categories occupy the original
|
||||
narrow-sidebar position below Servers/New Connection, with source-sized previews and server columns.
|
||||
- Correct empty-chat prompt geometry with the measured 22px glyph and the secondary-pane contrast
|
||||
background. The focused dark/en wide-screen chat region passes; the whole screen still fails other regions.
|
||||
- Run both sides of visual QA with Electron's normal acceleration policy. Earlier reference captures
|
||||
forced software rendering while the product did not; those comparisons remain historical evidence,
|
||||
not directly comparable pixel baselines for the corrected capture policy.
|
||||
|
||||
@@ -1087,8 +1087,8 @@ body.stream-popout-window { margin: 0; padding: 0; overflow: hidden; background:
|
||||
.chat-log { flex: 1; min-height: 0; margin: 0; padding: 1px max(0px, calc(var(--tsv-padding-h-small) - var(--chat-scrollbar-width, 0px))) var(--composer-height, 87px) 0; list-style: none; overflow-y: auto; user-select: text; }
|
||||
.chat-log:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--tsv-tint2); }
|
||||
.chat-empty { padding: 8px 20px 0; color: var(--tsv-font-subtitle-color); font-size: var(--tsv-font-size-small); text-align: center; }
|
||||
.chat-start-prompt { position: absolute; bottom: calc(100% - var(--tsv-padding-v)); left: 0; display: flex; align-items: center; max-width: 100%; margin-bottom: var(--tsv-padding-v-large); padding: var(--tsv-padding-v) var(--tsv-padding-h); border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-header-bg); pointer-events: none; }
|
||||
.chat-start-prompt .icon { flex: 0 0 16px; width: 16px; height: 16px; margin-right: var(--tsv-padding-h-small); }
|
||||
.chat-start-prompt { position: absolute; bottom: calc(100% - var(--tsv-padding-v)); left: 0; display: flex; align-items: center; max-width: 100%; margin-bottom: var(--tsv-padding-v-large); padding: var(--tsv-padding-v) var(--tsv-padding-h); border-radius: var(--tsv-border-radius-xxlarge); background: var(--tsv-contrast-bg); pointer-events: none; }
|
||||
.chat-start-prompt .icon { flex: 0 0 var(--tsv-icon-size); width: var(--tsv-icon-size); height: var(--tsv-icon-size); margin-right: var(--tsv-padding-h-small); }
|
||||
.chat-start-prompt span { flex: 1 1 auto; color: var(--tsv-font-color); font-size: var(--tsv-font-size-small); line-height: var(--tsv-line-height-small); }
|
||||
/* detailed message: 15px inset, 16/19 bold sender, 13px uppercase light time, remote bubble with 12×14 tail */
|
||||
.msg { --chat-timestamp-width: calc(var(--tsv-icon-size-large) + 2 * var(--tsv-padding-h) - 1.5 * var(--tsv-padding-h-small)); position: relative; display: flex; flex-direction: column; padding-left: calc(1.5 * var(--tsv-padding-h-small)); white-space: normal; }
|
||||
|
||||
@@ -28,6 +28,12 @@ zero page errors/capture attempts. `commit-chat/result.json`: packaged history p
|
||||
scope isolation and hostile-text safety passed. Complete Node suite passed after integration.
|
||||
The native core was reused unchanged; no fresh native/ARM compatibility proof is claimed.
|
||||
|
||||
Focused follow-up `prompt-final/`: app.asar
|
||||
`36bb4126c10f524101ef286ac9c82c11ef4158790baf5aac6bec350ec2b9b1d3`, 22px prompt icon and
|
||||
secondary-pane `--tsv-contrast-bg`. At dark/en/1553×998 the empty-chat region passes and whole-image
|
||||
difference is 0.3%; bookmark/tree regions still fail. At 880×800 the whole-image difference is 1.1%.
|
||||
Both captures completed without page/harness errors; this is not full visual acceptance.
|
||||
|
||||
|
||||
The reconstructed reference described below is historical. The owner's rejection led to
|
||||
`scripts/official-pair-capture-offscreen.mjs`, which compares the actual product with the installed
|
||||
|
||||
Reference in new issue
Block a user