Skip to content

fix: card-wrap the shared summary service section on the web config page - #2430

Merged
ranxianglei merged 4 commits into
masterfrom
2026-10-08_web-summary-card
Oct 8, 2026
Merged

ranxianglei merged 4 commits into
masterfrom
2026-10-08_web-summary-card

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Problem

The 统一摘要服务 (Shared summary service) section on the web config page rendered without a card — it was the only block on the page missing the .card wrapper (bare <section class="summary-settings"> with just a border-top), so it looked visually broken next to its carded siblings.

Fix

  • src/web/page.ts: wrap the section in the standard .card > .card-h + .card-b structure (id="summary-settings" moved to the card div)
  • src/web/styles.ts: .summary-settings rules retargeted to #summary-settings (spacing only); scoped .field-input selector follows the id change

No JS hooks change: #summary-fields, #save-summary, and the dirty-note toggle are untouched. typecheck clean.

Verification

  • Rebuilt + packed + installed locally (0.1.188 d189be5-dirty), started an isolated test proxy, curl-verified the served HTML:
<div class="card" id="summary-settings"><div class="card-h"><span data-i18n="summary.title">统一摘要服务
  • Card now renders with the same frame as every other config-page card (quick settings, config file, upstream network…).

The 统一摘要服务 (Shared summary service) block was the only section on
the config page without the .card wrapper — it rendered as a bare
section with just a border-top while every sibling used
.card > .card-h + .card-b. Wrap it accordingly and retarget the
scoped field-input selector to #summary-settings. No JS hooks change
(#summary-fields, #save-summary untouched).
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[bot] 🏷 收到,开始按 PR Review 规范审查本 PR(纯前端 web 配置页样式修复)。先核对代码与 CI,结论稍后按结构化八问给出。

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: 2026-10-08_web-summary-card (fdf4f5c)

Option A — Install this exact build (recommended)

npm install -g billion-context@0.0.2641-pr.2430.d806b8b

This exact version is immutable and reproducible. The rolling pr tag tracks the newest test build across all PRs.

Option B — Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr2430.tgz
npm install -g package

Install instructions are refreshed on each push.

ework-agent added 3 commits October 8, 2026 23:50
- refreshDirtyFlag() hard-coded [card-quick, card-file] for the orange
  unsaved border — the newly card-wrapped summary section mutates the
  same config draft but never highlighted itself. Add it to the set.
- summary.title gains an experimental note: 统一摘要服务(实验性功能)/
  Shared summary service (experimental).
…i / opencode-acp)

Siblings-only ledgers now stand down completely (#2430): bili_conflictSeverity
gains a siblingOnly flag and the overview banner stays hidden when the ledger
holds nothing but bili's own family. The session evidence card filters sibling
events server-side (sessions-data reuses isSiblingConflictDetail) so a
siblings-only session renders no conflict block. Recording and the acp_status
#2261 calm footer are unchanged — only the user-facing warnings go quiet.
Mixed ledgers kept folding the sibling family into the suspected/confirmed
warning text (#2430 follow-up): a stale [suspected] event plus a sibling event
rendered the sibling phrase again. Siblings are compatible family, so they are
dropped from the what-enumeration everywhere and conflict.what_sibling is
removed from both locales — the pure-sibling banner stays hidden as before.
@ranxianglei
ranxianglei merged commit d3be991 into master Oct 8, 2026
24 checks passed
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

📦 Merged Build Published

This merge to master was published as 0.0.160-master.d3be991 (rolling master tag).

npm install -g billion-context@0.0.160-master.d3be991  # this exact build
npm install -g billion-context@master  # always the newest merged build

npm view billion-context@master prints the current version at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant