feat(spreadsheet): 알약 막대를 시트 아래 · 상태줄 위로 옮김 — 자재 고르기 창은 막대 위로 엶
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6KXAabDTenEU7hrDQmCKY
This commit is contained in:
@@ -113,6 +113,16 @@ def test_links_follow_rows_cols(r):
|
||||
assert r["links"] == ["L:B7,W:D5", "L:B7", "L:B7,W:D5", "L:B5,W:D3", "D1"]
|
||||
|
||||
|
||||
def test_links_bar_sits_under_sheet():
|
||||
# 알약 막대 = 시트 아래 · 상태줄 위 · 자재 고르기 창은 막대 위로 엶
|
||||
with open(
|
||||
os.path.join(HERE, "../../../A00_Common/spreadsheet/spreadsheet_links.ts"), encoding="utf-8"
|
||||
) as f:
|
||||
src = f.read()
|
||||
assert 'insertBefore(bar, ctx.root.querySelector(":scope > .ss-statusbar"))' in src
|
||||
assert "pick.style.bottom = `${o.bottom - bar.getBoundingClientRect().top + 4}px`" in src
|
||||
|
||||
|
||||
def test_typed_format(r):
|
||||
assert r["typedFormat"] == ["0%", "0.0%", "#,##0.0", "#,##0", None, None, None]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user