├── .nvmrc
├── .yarnrc.yml
├── .gitattributes
├── public
├── logo192.png
├── logo512.png
├── diff-viewer-2-up.jpg
└── diff-viewer-combined.jpg
├── .yarn
└── sdks
│ ├── eslint
│ ├── package.json
│ ├── lib
│ │ └── api.js
│ └── bin
│ │ └── eslint.js
│ ├── prettier
│ ├── package.json
│ └── index.js
│ ├── integrations.yml
│ └── typescript
│ ├── package.json
│ ├── bin
│ ├── tsc
│ └── tsserver
│ └── lib
│ ├── tsc.js
│ ├── typescript.js
│ ├── tsserver.js
│ └── tsserverlibrary.js
├── src
├── github-injection.d.ts
├── components
│ ├── Loading.test.tsx
│ ├── viewer
│ │ ├── RecenterButton.tsx
│ │ ├── ErrorMessage.tsx
│ │ ├── RecenterButton.test.tsx
│ │ ├── ErrorMessage.test.tsx
│ │ ├── Controls.tsx
│ │ ├── Viewer3D.tsx
│ │ ├── SourceRichToggle.test.tsx
│ │ ├── Legend.tsx
│ │ ├── Camera.tsx
│ │ ├── BaseModel.tsx
│ │ ├── WireframeModel.tsx
│ │ ├── SourceRichToggle.tsx
│ │ ├── CombinedModel.tsx
│ │ ├── CadBlob.tsx
│ │ ├── CadDiffPage.tsx
│ │ ├── CadBlobPage.tsx
│ │ └── CadDiff.tsx
│ ├── Loading.tsx
│ └── settings
│ │ ├── Settings.test.tsx
│ │ ├── UserCard.test.tsx
│ │ ├── TokenForm.test.tsx
│ │ ├── UserCard.tsx
│ │ ├── TokenForm.tsx
│ │ └── Settings.tsx
├── index.tsx
├── index.css
├── chrome
│ ├── storage.test.ts
│ ├── storage.ts
│ ├── diff.test.ts
│ ├── types.ts
│ ├── web.ts
│ ├── diff.ts
│ ├── content.ts
│ ├── background.ts
│ └── web.test.ts
├── setupTests.ts
└── utils
│ ├── three.ts
│ └── three.test.ts
├── tests
├── extension.spec.ts-snapshots
│ ├── blob-preview-with-a-step-file-1-chromium-linux.png
│ ├── blob-preview-with-an-obj-file-1-chromium-linux.png
│ ├── blob-preview-with-an-stl-file-1-chromium-linux.png
│ ├── commit-diff-with-an-added-step-file-1-chromium-linux.png
│ ├── commit-diff-with-a-modified-dae-file-as-LFS-1-chromium-linux.png
│ ├── commit-diff-with-a-modified-dae-file-as-LFS-2-chromium-linux.png
│ ├── pull-request-diff-with-a-modified-obj-file-1-chromium-linux.png
│ ├── pull-request-diff-with-a-modified-obj-file-2-chromium-linux.png
│ ├── pull-request-diff-with-a-modified-step-file-1-chromium-linux.png
│ ├── commit-diff-within-pull-request-with-a-modified-stl-file-1-chromium-linux.png
│ └── commit-diff-within-pull-request-with-a-modified-stl-file-2-chromium-linux.png
├── fixtures.ts
└── extension.spec.ts
├── tsconfig.node.json
├── index.html
├── .gitignore
├── tsconfig.json
├── playwright.config.ts
├── vite.config.ts
├── manifest.json
├── .github
├── workflows
│ └── ci.yml
└── dependabot.yml
├── package.json
└── README.md
/.nvmrc:
--------------------------------------------------------------------------------
1 | v18
--------------------------------------------------------------------------------
/.yarnrc.yml:
--------------------------------------------------------------------------------
1 | yarnPath: .yarn/releases/yarn-3.6.0.cjs
2 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | /.yarn/releases/** binary
2 | /.yarn/plugins/** binary
--------------------------------------------------------------------------------
/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KittyCAD/diff-viewer-extension/HEAD/public/logo192.png
--------------------------------------------------------------------------------
/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KittyCAD/diff-viewer-extension/HEAD/public/logo512.png
--------------------------------------------------------------------------------
/public/diff-viewer-2-up.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KittyCAD/diff-viewer-extension/HEAD/public/diff-viewer-2-up.jpg
--------------------------------------------------------------------------------
/public/diff-viewer-combined.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KittyCAD/diff-viewer-extension/HEAD/public/diff-viewer-combined.jpg
--------------------------------------------------------------------------------
/.yarn/sdks/eslint/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "eslint",
3 | "version": "8.43.0-sdk",
4 | "main": "./lib/api.js",
5 | "type": "commonjs"
6 | }
7 |
--------------------------------------------------------------------------------
/.yarn/sdks/prettier/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "prettier",
3 | "version": "2.8.8-sdk",
4 | "main": "./index.js",
5 | "type": "commonjs"
6 | }
7 |
--------------------------------------------------------------------------------
/src/github-injection.d.ts:
--------------------------------------------------------------------------------
1 | // npm module that doesn't have TS types, used for proper injection timing on github.com
2 | declare module 'github-injection'
3 |
--------------------------------------------------------------------------------
/.yarn/sdks/integrations.yml:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by @yarnpkg/sdks.
2 | # Manual changes might be lost!
3 |
4 | integrations:
5 | - vscode
6 |
--------------------------------------------------------------------------------
/.yarn/sdks/typescript/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "typescript",
3 | "version": "4.9.5-sdk",
4 | "main": "./lib/typescript.js",
5 | "type": "commonjs"
6 | }
7 |
--------------------------------------------------------------------------------
/src/components/Loading.test.tsx:
--------------------------------------------------------------------------------
1 | import { render } from '@testing-library/react'
2 | import { Loading } from './Loading'
3 |
4 | it('renders welcome message', () => {
5 | render(