cc-continuity 0.3.74__tar.gz → 0.3.76__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/PKG-INFO +1 -1
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/README.md +2 -3
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/__init__.py +1 -1
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/transcript.py +10 -4
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity.egg-info/PKG-INFO +1 -1
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/pyproject.toml +1 -1
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_transcript.py +23 -1
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/LICENSE +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/__main__.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/atomic.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/blink.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/blink_watch.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/bootstrap.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/checkpoint.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/cli.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/config.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/daemon_supervisor.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/doctor.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/gitsnap.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/__init__.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/common.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/pre_compact.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/pre_tool_use.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/session_end.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/session_start.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/stop.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/task.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/tool_use.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hooks/user_prompt.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/hosting.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/install.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/launch.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/ledger.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/lock.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/managed.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/naming.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/notify.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/overflow.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/paths.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/power_plug.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/progress_pane.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/project.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/redact.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/rotator.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/settings_merge.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/skills.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/state.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/statusline.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/thresholds.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/validate.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/watchdog.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/watchdog_digest.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity/watchdogd.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity.egg-info/SOURCES.txt +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity.egg-info/dependency_links.txt +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity.egg-info/entry_points.txt +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/cc_continuity.egg-info/top_level.txt +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/setup.cfg +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_atomic.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_blink.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_blink_watch.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_bootstrap.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_changelog_notes.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_checkpoint.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_cli.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_cli_ledger.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_cli_log.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_config.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_daemon_supervisor.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_doctor.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_gitsnap.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_common.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_pre_compact.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_pre_tool_use.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_session_end.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_session_start.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_stop.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_task.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_tool_use.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hooks_user_prompt.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hosting.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_hygiene.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_install.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_integration_phase5.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_integration_phase6.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_integration_phase7.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_launch.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_ledger.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_lock.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_managed.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_naming.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_notify.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_notify_integration.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_overflow.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_paths.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_power_plug.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_progress_pane.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_project.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_readme_badges.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_readme_gif.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_redact.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_rotator.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_settings_merge.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_skills.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_state.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_status.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_statusline.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_statusline_cache.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_thresholds.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_tmux_host.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_transcript_finalize.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_uninstall.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_validate.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_watchdog.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_watchdog_digest.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_watchdog_integration.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_watchdogd.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_wsl_doctor.py +0 -0
- {cc_continuity-0.3.74 → cc_continuity-0.3.76}/tests/test_wsl_install.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cc-continuity
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.76
|
|
4
4
|
Summary: Zero-touch session rotation for Claude Code (local large-context model)
|
|
5
5
|
Classifier: Development Status :: 5 - Production/Stable
|
|
6
6
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -41,12 +41,11 @@ The five most recent updates, newest first. Each line links to its
|
|
|
41
41
|
commit, so you can see what changed lately without digging through the
|
|
42
42
|
log:
|
|
43
43
|
|
|
44
|
+
- **2026-11-27**: The split-view page badge advances with natural scroll gestures and counts pages by the pane's visible viewport. The floor(scrollTop/clientHeight)+1 counter only moved after a full scrolled-away screen, so on large panes (measured 2581 px) ordinary wheel notches and flicks kept it frozen on the first page; the page unit is now the pane's visible height measured per scroll event from its on-screen rect intersected with the viewport (no zoom or header assumptions) and the current page is the screenful under its center, so half a screen advances the counter while the bottom clamp still shows the last page and the global sequence, offsets, fade and independent scrolling are untouched, with one test written first ([commit](https://github.com/pqant/claude-continuity/commit/2c4f0b5)).
|
|
45
|
+
- **2026-11-27**: The split-view page badge numbers one global sequence and always reaches the last page. v0.3.74 numbered each pane's own pages so the right half restarted at 1 while visually continuing the left, and when a pane's content height was not an exact multiple of its client height the floor(scrollTop/clientHeight)+1 formula never produced the final page, leaving the counter frozen near the bottom of short panes; the badge now adds each pane's page-count offset over one shared total (left reads 1/N..k/N, right continues k+1/N..N/N) and treats reaching the bottom (scrollTop+clientHeight >= scrollHeight-2) as the pane's last page so the right pane at bottom always reads N/N, independent scrolling, the one-second fade and every viewer control untouched, with two tests written first ([commit](https://github.com/pqant/claude-continuity/commit/744bea7)).
|
|
44
46
|
- **2026-11-27**: The transcript split view scrolls left and right independently and shows an ephemeral page badge. The 2-column view was one CSS multi-column flow where the whole document scrolled as a unit; it is now two flex panes with their own scroll positions, reading order preserved by a text-length weighted split (image data URIs excluded from the weight), and scrolling a pane flashes a bold page counter (screenful pages: floor(scrollTop/clientHeight)+1 over ceil(scrollHeight/clientHeight)) in that pane's top-right corner which fades out about a second after scrolling stops, an absolute overlay with no layout cost; pane height tracks the viewport minus header and padding across toggles, header collapse and resize, existing viewer controls are untouched, with eight tests written first ([commit](https://github.com/pqant/claude-continuity/commit/073b810)).
|
|
45
47
|
- **2026-11-26**: A hyphenated template heading no longer degrades a handoff draft. The template's seventh heading contains an em dash (U+2014) in its middle; a model obeying a no-em-dash writing rule retypes it with a plain hyphen, and strict matching called the section both missing and unexpected, throwing away a complete nine-section draft and finalizing a deterministic-only (degraded) checkpoint; template matching now folds em and en dashes to the hyphen at every comparison site, the draft text and the printed template stay verbatim, and four tests were written first ([commit](https://github.com/pqant/claude-continuity/commit/4b10570)).
|
|
46
48
|
- **2026-11-26**: The hard-limit brick self-heal now fires in production. v0.3.71 admitted HANDOFF_REQUESTED to the context-400 recovery gates, but the watchdog tick loop only dispatched the scan for sessions its classifier judged ALIVE, TURN_DEAD, STALLED or FROZEN, and the classifier SKIPs everything outside ACTIVE/WARNED, so the hard-limit brick never reached the gate and the fix stayed unreachable code; the SKIP branch now carries HANDOFF_REQUESTED into recovery next to CHECKPOINT_VERIFIED, with one test written first ([commit](https://github.com/pqant/claude-continuity/commit/9e550f1)).
|
|
47
|
-
- **2026-11-26**: A hard-limit context-400 brick now self-heals. The hard-limit gate parks the session in HANDOFF_REQUESTED and the model writes the handoff draft, but when the next API call 400s (input plus requested output over the window) the turn dies without a Stop hook and nothing finalized the draft: the deterministic context-400 recovery refused to run for exactly this state although its own route starts from it; both state gates now include HANDOFF_REQUESTED so the watchdog verifies the draft and restarts the pane on its own, two tests written first ([commit](https://github.com/pqant/claude-continuity/commit/2091404)).
|
|
48
|
-
- **2026-11-26**: An adopted successor no longer keeps the off marking of its abandoned startup. When Claude Code native auto-resume abandons a fresh startup the SessionEnd hook marks that record off (by design, so dead startups stop posing as live); the same record can later be revived as the live session by successor adoption, which refreshed the session id and state but not the off flag, so hooks, the rotator and the watchdog all ignored a real attached pane and the status line showed off instead of the usage segment; both adoption branches now clear off in the same write, abandoned startups stay off exactly as before, and two tests were written first ([commit](https://github.com/pqant/claude-continuity/commit/d61820a)).
|
|
49
|
-
- **2026-11-24**: A claim no longer skips a successor that died after attaching. The dead ACTIVE record used to force a fresh `max(counter)+1` name while the corpse kept looking live in the session list; the claim now probes the candidate's recorded pane (`tmux_session` against `tmux list-sessions`) and, only when that pane is gone, adopts the record at its same index and resets it to BOOTSTRAPPING so the SessionStart hook drives it like a fresh claim; the probe is conservative by construction (no recorded pane, tmux missing or any error means the candidate is treated as live), so a live pane is never hijacked, with eight tests written first ([commit](https://github.com/pqant/claude-continuity/commit/fa9b972)).
|
|
50
49
|
## How it works
|
|
51
50
|
|
|
52
51
|
The whole flow in one picture: the automatic session loop, the optional
|
|
@@ -418,12 +418,18 @@ function fitPanes(){if(!spOn){for(var k=0;k<panes.length;k++)panes[k].style.heig
|
|
|
418
418
|
var cs=getComputedStyle(mn),pt=parseFloat(cs.paddingTop)||0,pb=parseFloat(cs.paddingBottom)||0;
|
|
419
419
|
var hh=hdEl.offsetHeight||0,h=Math.max(200,(window.innerHeight-hh-pt-pb)/0.75);
|
|
420
420
|
for(var k=0;k<panes.length;k++)panes[k].style.height=h+'px';}
|
|
421
|
-
function
|
|
422
|
-
var
|
|
421
|
+
function visH(pn){var r=pn.getBoundingClientRect();var sc=r.height/(pn.clientHeight||1)||1;
|
|
422
|
+
var t0=Math.max(r.top,0),b0=Math.min(r.bottom,window.innerHeight||1e9);return Math.max(160,(b0-t0)/(sc||1));}
|
|
423
|
+
function panePages(pn){return Math.max(1,Math.ceil(pn.scrollHeight/visH(pn)));}
|
|
424
|
+
function wireBadge(pn,k){var t;pn.addEventListener('scroll',function(){var ch=visH(pn),all=0,off=0,mine=1;
|
|
425
|
+
for(var j=0;j<panes.length;j++){var v=panePages(panes[j]);all+=v;if(j<k){off+=v;}else if(j===k)mine=v;}
|
|
426
|
+
var cur=Math.min(mine,Math.floor((pn.scrollTop+ch/2)/ch)+1);
|
|
427
|
+
if(pn.scrollTop+ch>=pn.scrollHeight-2)cur=mine;
|
|
428
|
+
var g=Math.min(all,Math.max(1,cur+off));
|
|
423
429
|
if(!pn._pb){pn._pb=document.createElement('div');pn._pb.className='pagebadge';pn.appendChild(pn._pb);}
|
|
424
|
-
var b=pn._pb;b.textContent=
|
|
430
|
+
var b=pn._pb;b.textContent=g+'/'+all;b.style.opacity='1';clearTimeout(t);
|
|
425
431
|
t=setTimeout(function(){b.style.opacity='0'},1000);},{passive:true});}
|
|
426
|
-
for(var k=0;k<panes.length;k++)wireBadge(panes[k]);
|
|
432
|
+
for(var k=0;k<panes.length;k++)wireBadge(panes[k],k);
|
|
427
433
|
window.addEventListener('resize',fitPanes);
|
|
428
434
|
fitPanes();
|
|
429
435
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cc-continuity
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.76
|
|
4
4
|
Summary: Zero-touch session rotation for Claude Code (local large-context model)
|
|
5
5
|
Classifier: Development Status :: 5 - Production/Stable
|
|
6
6
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -903,11 +903,33 @@ def test_page_badge_js_computes_pages_and_fades():
|
|
|
903
903
|
assert "pagebadge" in js
|
|
904
904
|
assert "Math.floor(" in js and "Math.ceil(" in js
|
|
905
905
|
assert "scrollTop" in js and "clientHeight" in js and "scrollHeight" in js
|
|
906
|
-
assert "
|
|
906
|
+
assert "g+'/'+all" in js
|
|
907
907
|
assert "1000" in js # fade about 1s after the last scroll
|
|
908
908
|
assert "passive:true" in js
|
|
909
909
|
|
|
910
910
|
|
|
911
|
+
def test_page_badge_js_numbers_one_global_sequence():
|
|
912
|
+
# issue #103: both panes share a single page sequence, so the right pane
|
|
913
|
+
# continues the left instead of restarting at 1.
|
|
914
|
+
d = transcript.render_html([("user", "x", None)], META)
|
|
915
|
+
js = d[d.index("<script>"):]
|
|
916
|
+
assert "panePages" in js # per-pane page counts feed one shared total
|
|
917
|
+
assert "off+=" in js # a pane offsets by the page counts before it
|
|
918
|
+
assert "scrollHeight-2" in js # bottom clamp makes the last page reachable
|
|
919
|
+
assert "g+'/'+all" in js # badge text is the global page over the total
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
def test_page_badge_js_sizes_pages_by_visible_viewport():
|
|
923
|
+
# issue #104: pages are measured by the pane's actually visible height
|
|
924
|
+
# (on-screen rect ∩ viewport), and the counter advances on natural
|
|
925
|
+
# gestures because the current page is the screenful under its center.
|
|
926
|
+
d = transcript.render_html([("user", "x", None)], META)
|
|
927
|
+
js = d[d.index("<script>"):]
|
|
928
|
+
assert "getBoundingClientRect" in js # real on-screen geometry, no fitPanes guess
|
|
929
|
+
assert "visH" in js # measured visible height drives every page computation
|
|
930
|
+
assert "scrollTop+ch/2" in js # current page = screenful under the center
|
|
931
|
+
|
|
932
|
+
|
|
911
933
|
def test_pane_sizing_wired_to_split_toggle():
|
|
912
934
|
d = transcript.render_html([("user", "x", None)], META)
|
|
913
935
|
js = d[d.index("<script>"):]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|