[GUI] 0.2.24's liquid.css widens replies to 88ch, so app/host's measure check fails at 107 characters per line
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- bun, css, javascript
Research direction
Read app/host/src/styles/liquid.css around lines 2598 and 4864, then inspect app/host/scripts/measure.mjs and the Reply width choices from #5066 to establish the intended width. Run bun run measure in app/host to reproduce the failure. Done when the intended reply width and measure check agree, with the reported character counts passing the configured band.
Written by the indexing model from the issue text.
Description
Area
[GUI] (the desktop app)
Desktop app, Terminal or source?
Source (START-HERE.bat, setup.sh or a build)
What happened
On 0.2.24, bun run check in app/host stops at its measure step: a line of assistant prose is 107 characters wide, and scripts/measure.mjs requires 45–75.
reading measure (target 45–75 characters per line)
10px · normal 107 chars/line at 10px FAIL
10px · focus 107 chars/line at 10px FAIL
16px · normal 107 chars/line at 16px FAIL
16px · focus 107 chars/line at 16px FAIL
22px · normal 78 chars/line at 22px FAIL
22px · focus 107 chars/line at 22px FAIL
reading measure: 6 failure(s)
The width comes from two rules that 0.2.24 adds to app/host/src/styles/liquid.css. They load after app.css and replace its reply widths:
- line 2598, in the
:rootblock:--st-measure: 88ch;(app.css:56ch, the Comfortable choice of Settings > Reply width from #5066) - line 4864:
:root[data-measure='wide'] { --st-measure: 112ch; }(app.css:72ch)
With those two rules removed and nothing else changed, the same run gives 68 characters per line at every size and both modes, and all five steps of bun run check pass.
I could not tell which side is intended. If the wider reply is the new design, measure.mjs's band and the Reply width choices from #5066 no longer describe it. If it is not, the two overrides are what changed it.
Smallest steps or command that reproduce it
- In
app/hoston v0.2.24:bun install, thenbun run devwithSTRATA_HOMEpointed at an empty folder. - Dismiss setup:
curl -X POST -H 'Content-Type: application/json' -d '{"step":1,"flowVersion":2,"dismissed":true}' http://127.0.0.1:8791/api/setup/step - Load the simulated model:
curl -X POST http://127.0.0.1:8791/api/models/qwen38-q2_k/install, wait about 10 s, thencurl -X POST http://127.0.0.1:8791/api/models/qwen38-q2_k/load bun run measure
Reproduction status
Reproduced locally
Strata version
Strata 0.2.24 · app/host/src as tagged v0.2.24 (70ac2f246)
Graphics card, memory and system
Not involved: the dev server's simulated engine, headless Chromium at 1512 × 1110 · Debian sid
- Dominant language
- C++
- Stars
- 11.6k
- Forks
- 1k
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 21
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Niko1221/Strata
-
needs-format
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Niko1221/Strata#7719 · 1 comment ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Niko1221/Strata#7684 · 2 comments ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Niko1221/Strata#7670 · 3 comments ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Niko1221/Strata#7537 · 3 comments ·
Maintainers usually reply within 4 days
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#735 · 1 comment ·
Maintainers usually reply within 1 day
-
area:tests kind:test
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
BabylonJS/BabylonNative#2138 ·
Maintainers usually reply within 1 day