feat: inline edit — click task name → Alpine input → Enter saves via PUT /api/task/{uid}/update. fix: app.py indentation, CSS add-task/t-edit-wrap

This commit is contained in:
2026-10-24 06:15:13 +00:00
parent 22c2223840
commit c1cbd4bc46
3 changed files with 37 additions and 7 deletions
+18
View File
@@ -0,0 +1,18 @@
"""Fix indentation of lines 379-381 in app.py."""
path = "webui/app.py"
with open(path) as f:
lines = f.readlines()
# Fix lines 379-381: remove 8 leading spaces (they have 16, should have 8)
for i in range(378, 382): # 0-indexed: 378 = line 379
if i < len(lines):
stripped = lines[i].lstrip()
current_indent = len(lines[i]) - len(stripped)
if current_indent == 16:
lines[i] = " " * 8 + stripped
with open(path, "w") as f:
f.writelines(lines)
compile(open(path).read(), path, 'exec')
print("OK")