mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-20 13:52:24 +02:00
feat(photo-editor): Ajax Image Editor client (Photoshop-parity tools)
Photoshop-parity editor client: layers, selection/masking, brushes,
smart filters, LUT import, Quick Edit, mobile gestures, workspaces,
batch operations, and the service-worker versioning (v978->v1006).
Source: vendor/photocraft (ad1cff44) photo-editor client files, merged
onto upstream/dev (a8c147b2). Conflict resolution documented in
pr_work/A_conflicts.md; editor files taken from vendor/photocraft
(upstream's editor is an earlier snapshot of the same feature).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c74f475679
commit
5fac693c1c
@@ -0,0 +1,23 @@
|
||||
"""Marker test: the mobile tool-rail overflow control shows an ellipsis.
|
||||
|
||||
EVAL flagged the '<' '>' chevron; it should match the dock overflow control
|
||||
(an ellipsis '...').
|
||||
"""
|
||||
|
||||
from pathlib import Path
|
||||
import re
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
EDITOR = (ROOT / "static/js/galleryEditor.js").read_text()
|
||||
SW = (ROOT / "static/sw.js").read_text()
|
||||
|
||||
|
||||
def test_tool_rail_more_is_an_ellipsis():
|
||||
assert "toolbarMore.textContent = '\\u2026';" in EDITOR
|
||||
assert "toolbarMore.textContent = '\\u203A';" not in EDITOR
|
||||
|
||||
|
||||
def test_sw_version_is_current():
|
||||
m = re.search(r"const CACHE_NAME = '([^']+)'", SW)
|
||||
assert m, "CACHE_NAME not found"
|
||||
assert re.fullmatch(r"odysseus-v\d+-pr40-editor-precache", m.group(1)), m.group(1)
|
||||
Reference in New Issue
Block a user