Skip to content

Remove depreciated login components#84

Merged
AlexJSully merged 5 commits into
masterfrom
alexjsully-260218-remove-login-components
Feb 18, 2026
Merged

Remove depreciated login components#84
AlexJSully merged 5 commits into
masterfrom
alexjsully-260218-remove-login-components

Conversation

@AlexJSully
Copy link
Copy Markdown
Owner

Remove depreciated login components. Also added support for esbuild for auto-minification.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes deprecated login/account-management functionality from the client runtime, introduces a new runtime.js entrypoint for the practice flow, and updates the build/service-worker tooling (Workbox config rename + esbuild-based minification) to match the simplified app.

Changes:

  • Removed legacy login/account UI/scripts and switched the runtime page to load runtime.min.js.
  • Renamed Workbox config to workbox-config.cjs and updated the npm run workbox script accordingly.
  • Added an esbuild-powered minify script and refreshed generated service worker assets; updated docs and Sentry CDN versions.

Reviewed changes

Copilot reviewed 19 out of 25 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
workbox-config.js Removed legacy Workbox config (replaced by .cjs).
workbox-config.cjs New Workbox config file used by CLI.
package.json Adds minify script, switches Workbox CLI to use .cjs, adds esbuild.
package-lock.json Locks esbuild and platform binaries.
index.html Updates Sentry browser bundle URLs/integrity.
docs/index.md Updates runtime/login script references and account-management notes.
docs/guides/setup.md Updates script references and build instructions.
docs/guides/marking-algorithm.md Removes account-management-specific threshold docs.
docs/guides/data-structures.md Updates runtime script references.
docs/architecture/index.md Updates runtime script references and system description.
docs/api/index.md Updates “Called By” reference to runtime.js.
core/systemrun.html Removes login/account UI + scripts; loads runtime.min.js; updates Sentry bundles.
core/scripts/serviceWorker/workbox-813eeb66.js New generated Workbox runtime chunk.
core/scripts/serviceWorker/sw.js Updated generated service worker precache manifest + runtime caching.
core/scripts/serviceWorker/sw.js.map Updated service worker source map output.
core/scripts/runtime.js New runtime/practice flow entrypoint (replaces login bootstrap).
core/scripts/runtime.min.js Minified runtime bundle output.
core/scripts/runtime.test.js Adds Jest tests (currently focused on threshold logic).
core/scripts/login.js Deleted legacy login/registration logic.
core/scripts/login.min.js Deleted legacy minified login bundle.
core/scripts/login.test.js Deleted legacy login tests.
core/scripts/crispr_scripts.js Removes account-management code; factors out off-target threshold helper.
core/scripts/crispr_scripts.min.js Updated minified output matching new logic.
.prettierignore Ignores workbox-config.cjs instead of removed .js.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread core/scripts/runtime.test.js Outdated
Comment thread docs/index.md
Comment thread docs/guides/setup.md
Comment thread workbox-config.cjs Outdated
Comment thread docs/guides/setup.md Outdated
Comment thread docs/architecture/index.md Outdated
@AlexJSully AlexJSully merged commit c7ca6f4 into master Feb 18, 2026
5 checks passed
@AlexJSully AlexJSully deleted the alexjsully-260218-remove-login-components branch February 18, 2026 21:54
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.

2 participants