Skip to content

Dead code cleanup - #1268

Open
grosbouddha wants to merge 6 commits into
masterfrom
more-deadcode-1
Open

grosbouddha wants to merge 6 commits into
masterfrom
more-deadcode-1

Conversation

@grosbouddha

Copy link
Copy Markdown
Collaborator

Remove several layers of dead code and obsolete feature remnants. No behavior change for any supported browser:

  • Delete empty src/js/snippets.js
  • Drop Function.prototype.bind and Uint32Array.prototype.fill polyfills; both native in every browser
  • Remove gallery stuff*: pskl.app.isLoggedIn() always returned false. Remove it plus the dead chain it gated: GalleryStorageService, StorageService.saveToGallery, the .save-public-section UI, SaveController.isPublic_(), and `Descriptor.isPublic
  • Remove last bits of app engine integration
  • Delete RELEASE.md (described a Google AppEngine Launcher workflow no longer in use and the rest is obsolete or incorrect)

NOTE: I excluded tests from the husky precommit (tests are not passing the lint) by using "npm run lint" in the precommit hook (which only runs on src/ for now).

@juliandescottes juliandescottes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the cleanup

Comment thread .husky/pre-commit
@@ -1 +1 @@
npx biome check --staged --write --no-errors-on-unmatched
npm run lint

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same comment as on the other PR, is this intentional?

This branch has not been deployed

No deployments
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