upgrade: adopt V8.31.1 (theme 1.3/1.4 redesigns, editor deep-canvas, guided launch, component library)
Overlay 190 upstream items (V8.22→8.31) preserving trade-pro theme, registry tests, and design docs. Re-applied full patch set on identical anchors (discovery/env_for/blocks.css/type-mapping/locale-override/ theme_color/frontend entries/test_theme_pro_v3 mods) plus compose pins. Verified: theme suites 35/35; dual-baseline full run 415 passed vs pristine 386+29 ours, FAILED-set diff EMPTY (same 10 Windows env fails). Live: container 8.31.1-dev.1 healthy, hesupipe 192 entries intact, trade-pro build 203 pages 0 errors. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -18,8 +18,9 @@ def test_editor_add_and_direct_canvas_selection():
|
||||
api=(ROOT/'app/main.py').read_text()
|
||||
for method in ('toggleLibrary(force)','updateGuidance()','showHelp()','select(i)','arrayEditor(field,value,type)','itemField(field,index,key,value)','addItem(field)','removeItem(field,index)','moveItem(field,index,by)'):
|
||||
assert method in js
|
||||
assert "siteforge-select-block" in js
|
||||
assert "siteforge-select-block" in api
|
||||
assert "siteforge-studio-canvas" in js
|
||||
assert "studio-canvas-bridge.js" in api
|
||||
assert "safeCanvasCommand" in js
|
||||
assert 'event.source!==frame.contentWindow' in js
|
||||
assert "studio-draft/publish" in js
|
||||
assert 'expected_revision' in js
|
||||
@@ -30,4 +31,4 @@ def test_no_change_to_block_blueprint_or_database_schema():
|
||||
assert demo.exists()
|
||||
assert '演示操作不会修改正式网站' in demo.read_text()
|
||||
from app.version import VERSION
|
||||
assert VERSION.startswith('8.21.') and VERSION.endswith('-dev.1')
|
||||
assert VERSION.startswith('8.') and VERSION.endswith('-dev.1')
|
||||
|
||||
Reference in New Issue
Block a user