Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 27, 2026

sha1.js is not referenced anywhere in the codebase and can be safely removed.

Investigation:

  • No script includes in JSP, HTML, or XML files
  • No usage of Sha1.* namespace outside the file itself
  • Only external reference was in WEB_UI_ANALYSIS.md documentation

Changes:

  • Delete treebase-web/src/main/webapp/scripts/sha1.js
  • Remove corresponding entry from WEB_UI_ANALYSIS.md JavaScript files table
Original prompt

Is sha1.js used anywhere or can it be removed?


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Investigate usage of sha1.js for potential removal Remove unused sha1.js Jan 27, 2026
Copilot AI requested a review from rvosa January 27, 2026 22:26
@rvosa rvosa marked this pull request as ready for review January 27, 2026 22:31
@rvosa rvosa merged commit fe65e6a into master Jan 27, 2026
3 checks passed
@rvosa rvosa deleted the copilot/check-sha1-js-usage branch January 27, 2026 22:31
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