)]}'
{
  "commit": "00bcaef0355aaff1daea17ac0631fd17cabb0235",
  "tree": "7b1c05bafa95d90c682af161579c93012ef22a16",
  "parents": [
    "c7cdd77f99dece73f223597263f8495c15d7f35f"
  ],
  "author": {
    "name": "Philip Zeyliger",
    "email": "philip@bold.dev",
    "time": "Fri May 30 04:21:15 2025 +0000"
  },
  "committer": {
    "name": "Autoformatter",
    "email": "bot@sketch.dev",
    "time": "Fri May 30 05:13:07 2025 +0000"
  },
  "message": "webui: remove unused diff2html-based diff view\n\nRemove the old diff view implementation that used diff2html library\nin favor of the Monaco-based diff2 view. This cleanup removes:\n\n- sketch-diff-view.ts component that used diff2html library\n- diff2html static CSS files (diff2html.min.css, diff2.css)\n- diff2html npm package dependency from package.json\n- Old diff view mode references throughout the codebase\n- Demo files for the old diff view component\n\nChanges include:\n\n1. Removed Files:\n   - webui/src/web-components/sketch-diff-view.ts\n   - webui/src/diff2html.min.css\n   - webui/src/diff2.css\n   - webui/src/web-components/demo/sketch-diff-view.demo.html\n\n2. Updated Components:\n   - sketch-app-shell.ts: Remove old diff view import, ViewMode type,\n     CSS selectors, and view switching logic\n   - sketch-view-mode-select.ts: Update type definitions to remove \u0027diff\u0027 mode\n   - sketch-terminal.ts: Fix view mode type and correct CSS loading comments\n\n3. Package Management:\n   - Removed diff2html 3.4.51 dependency from package.json\n   - Updated package-lock.json to reflect removed dependency\n\n4. Demo Cleanup:\n   - Removed reference to old diff view demo from index.html\n   - Updated timeline demo to remove diff2html from dependencies list\n\nThe Monaco-based diff2 view (sketch-diff2-view.ts) remains fully\nfunctional and is now the only diff view implementation. All file\npicker, range picker, and empty view components continue to work\nwith the new diff view.\n\nTesting confirms the diff functionality works correctly after cleanup.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: s22dd1dc722d02125k\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cbaeef331e936ba5ba5406209d576dee578bc3d9",
      "old_mode": 33188,
      "old_path": "webui/package-lock.json",
      "new_id": "9f4d326ae78bee25f19bb4d92a09b8ca335d43e9",
      "new_mode": 33188,
      "new_path": "webui/package-lock.json"
    },
    {
      "type": "modify",
      "old_id": "1b5a638463cd5cd655b2204b82f9881a68f7da05",
      "old_mode": 33188,
      "old_path": "webui/package.json",
      "new_id": "b9eac738965387ae272ef1d0c8fad4b60a2a9982",
      "new_mode": 33188,
      "new_path": "webui/package.json"
    },
    {
      "type": "delete",
      "old_id": "f716a012ad005547834843f8634fbce4f1f54c2e",
      "old_mode": 33188,
      "old_path": "webui/src/diff2.css",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "8014a134dc1c6748c85380a841478bef1e05a2cb",
      "old_mode": 33188,
      "old_path": "webui/src/diff2html.min.css",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "2dd8f18f0cd8bb29fab9158d90b36d5e47255cca",
      "old_mode": 33188,
      "old_path": "webui/src/web-components/demo/index.html",
      "new_id": "cc5697e0db6e6332608eaccd2e17cb7592b7159a",
      "new_mode": 33188,
      "new_path": "webui/src/web-components/demo/index.html"
    },
    {
      "type": "delete",
      "old_id": "6ab6e62fd7f2278b0d66300e87b6dee665b3aa62",
      "old_mode": 33188,
      "old_path": "webui/src/web-components/demo/sketch-diff-view.demo.html",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "b535fa1ac9279c954be5412bbbc3aa86a8034407",
      "old_mode": 33188,
      "old_path": "webui/src/web-components/demo/sketch-timeline.demo.html",
      "new_id": "3314ed2982ec57e21704a8cdf7d17b2bb14db831",
      "new_mode": 33188,
      "new_path": "webui/src/web-components/demo/sketch-timeline.demo.html"
    },
    {
      "type": "modify",
      "old_id": "81d2fadbd077a9a1a8d445f5e31c9f6185695fd1",
      "old_mode": 33188,
      "old_path": "webui/src/web-components/sketch-app-shell.ts",
      "new_id": "bdab955d2eec7bf1ea5301f5c6ade3684a2ff51d",
      "new_mode": 33188,
      "new_path": "webui/src/web-components/sketch-app-shell.ts"
    },
    {
      "type": "delete",
      "old_id": "d08b520b9cc365652dec71b3aa4f40444810b8a5",
      "old_mode": 33188,
      "old_path": "webui/src/web-components/sketch-diff-view.ts",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "b405657cc294dfa1fe0a6a15d2dcc1f6e59e9a05",
      "old_mode": 33188,
      "old_path": "webui/src/web-components/sketch-terminal.ts",
      "new_id": "0c3b9a7415d1f9efbdc962642b26ca581b4b2003",
      "new_mode": 33188,
      "new_path": "webui/src/web-components/sketch-terminal.ts"
    },
    {
      "type": "modify",
      "old_id": "80eb0e6afbaccbfdbe63ab3402e5ea80c4705228",
      "old_mode": 33188,
      "old_path": "webui/src/web-components/sketch-view-mode-select.ts",
      "new_id": "c83b9642f10d3ec31c2ac0a9a033af18d3b78fdb",
      "new_mode": 33188,
      "new_path": "webui/src/web-components/sketch-view-mode-select.ts"
    }
  ]
}
