Skip to content

Move Chrome extension into its product directory - #7

Merged
patrickschiller merged 1 commit into
mainfrom
codex/chrome-extension-sourcebraid-layout
Aug 1, 2026
Merged

Move Chrome extension into its product directory#7
patrickschiller merged 1 commit into
mainfrom
codex/chrome-extension-sourcebraid-layout

Conversation

@patrickschiller

Copy link
Copy Markdown
Owner

What changed

  • Move the Manifest V3 extension from the repository root to chrome-extension/sourcebraid.
  • Update tests, release packaging, contributor guidance, and English/German installation documentation for the new path.
  • Keep the unpacked extension self-contained by bundling the PDF-support payload inside its directory, with a regression test that verifies those copies match the canonical repository files.
  • Preserve the Chrome Web Store ZIP layout, including manifest.json at the archive root.

Why

The Chrome client now follows the same explicit product-directory layout as ios/ and codex-plugin/sourcebraid/, while remaining loadable without a build step.

Impact

Developers should select chrome-extension/sourcebraid when using Chrome's Load unpacked action. There are no changes to browser permissions, GitHub scopes, network endpoints, storage formats, deletion behavior, or credential handling.

Validation

  • node --test tests/capture-utils.test.js (15 passed)
  • python3 -m unittest discover -s tests -p "test_*.py" (35 passed)
  • python3 scripts/build_chrome_package.py --output /private/tmp/sourcebraid-chrome-layout-test.zip
  • Inspected the generated ZIP: 15 allowlisted files, with manifest.json at its root.

Signed-off-by: Patrick Schiller <p@trickschiller.de>
@patrickschiller
patrickschiller marked this pull request as ready for review August 1, 2026 11:33
@patrickschiller
patrickschiller merged commit 41ac7e5 into main Aug 1, 2026
1 check passed
@patrickschiller
patrickschiller deleted the codex/chrome-extension-sourcebraid-layout branch August 1, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant