diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 00000000..ffd11553 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-07-03 - Add ARIA Labels to Diff View Buttons +**Learning:** Adding descriptive aria-label attributes to buttons that contain text (e.g., Undo, Keep) can provide more specific context for screen reader users (e.g., Undo changes, Keep changes) in critical interaction areas like a diff viewer. +**Action:** Consistently evaluate action buttons for screen reader context and add aria-label attributes where the visible text might be too brief or ambiguous out of context. diff --git a/.vscode/import threading.py b/.vscode/import threading.py new file mode 100644 index 00000000..077361cb --- /dev/null +++ b/.vscode/import threading.py @@ -0,0 +1,27 @@ +import threading +import time + +def createAndRunTask(name: str, delay: float, action): + """Create a background task that waits `delay` seconds then runs `action`. + + Returns the Thread object. + """ + + def wrapper(): + time.sleep(delay) + try: + action() + except Exception as e: + print(f"Task '{name}' raised: {e}") + + t = threading.Thread(target=wrapper, name=name, daemon=True) + t.start() + return t + +if __name__ == '__main__': + # example usage + def my_action(): + print('Task executed') + + task = createAndRunTask('example', 1.0, my_action) + task.join(timeout=2.0) diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..ae712450 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,77 @@ +{ + "configurations": [ + { + "name": "Python Debugger: Current File", + "type": "debugpy", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal" + }, + { + "name": "Attach", + "port": 9229, + "request": "attach", + "skipFiles": [ + "/**" + ], + "type": "node" + }, + { + "name": "Launch Chrome", + "request": "launch", + "type": "chrome", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + }, + { + "type": "msedge", + "name": "Launch Microsoft Edge", + "request": "launch", + "runtimeArgs": [ + "--remote-debugging-port=9222" + ], + "url": "c:\\Users\\cbavi\\.vscode-insiders\\extensions\\ms-edgedevtools.vscode-edge-devtools-2.1.10\\out\\startpage\\index.html", // Provide your project's url to finish configuring + "presentation": { + "hidden": true + } + }, + { + "type": "msedge", + "name": "Launch Microsoft Edge in headless mode", + "request": "launch", + "runtimeArgs": [ + "--headless", + "--remote-debugging-port=9222" + ], + "url": "c:\\Users\\cbavi\\.vscode-insiders\\extensions\\ms-edgedevtools.vscode-edge-devtools-2.1.10\\out\\startpage\\index.html", // Provide your project's url to finish configuring + "presentation": { + "hidden": true + } + }, + { + "type": "vscode-edge-devtools.debug", + "name": "Open Edge DevTools", + "request": "attach", + "url": "c:\\Users\\cbavi\\.vscode-insiders\\extensions\\ms-edgedevtools.vscode-edge-devtools-2.1.10\\out\\startpage\\index.html", // Provide your project's url to finish configuring + "presentation": { + "hidden": true + } + } + ], + "compounds": [ + { + "name": "Launch Edge Headless and attach DevTools", + "configurations": [ + "Launch Microsoft Edge in headless mode", + "Open Edge DevTools" + ] + }, + { + "name": "Launch Edge and attach DevTools", + "configurations": [ + "Launch Microsoft Edge", + "Open Edge DevTools" + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..37572f6f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "python-envs.defaultEnvManager": "ms-python.python:system", + "python.testing.unittestArgs": [ + "-v", + "-s", + "./PackageAssets", + "-p", + "*test.py" + ], + "python.testing.pytestEnabled": true, + "python.testing.unittestEnabled": false, + "python.testing.pytestArgs": [ + "." + ] +} \ No newline at end of file diff --git a/Server/src/diffView/diffView.html b/Server/src/diffView/diffView.html index de32b013..7940d914 100644 --- a/Server/src/diffView/diffView.html +++ b/Server/src/diffView/diffView.html @@ -19,8 +19,8 @@
- - + +
diff --git a/index.html b/index.html new file mode 100644 index 00000000..583c09cc --- /dev/null +++ b/index.html @@ -0,0 +1,43 @@ + + + + + + To-Do List + + + +

To-Do List

+ + + + + \ No newline at end of file