Enhance UI components and routing for hashing and tools#18
Merged
Conversation
…on to support additional file types
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds a new "Text Hashing" tool to the Programming section of the app. The tool allows users to generate hashes for their text using a wide range of SHA (including SHA3 variants) and MD (MD4, MD5) algorithms, all running locally in the browser. The implementation includes new UI components for tabbed navigation between algorithm families, form handling with validation, and integration with the
hash-wasmlibrary for fast, client-side hashing. It also introduces supporting UI primitives and updates dependencies accordingly.The most important changes are:
Feature: Text Hashing Tool
/programming/text-hashingthat allows users to hash text using SHA (SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-224, SHA3-256, SHA3-384, SHA3-512) and MD (MD4, MD5) algorithms, with a tabbed interface to switch between algorithm families. (app/routes/programming/text-hashing.tsx,app/components/pages/programming/hashing-tab.tsx,app/components/pages/programming/hashing/sha-hashing.tsx,app/components/pages/programming/hashing/md-hashing.tsx) [1] [2] [3] [4]UI Components
Tabs,TabsList,TabsTrigger,TabsContent) and textarea input, enhancing consistency and accessibility across the app. (app/components/ui/tabs.tsx,app/components/ui/textarea.tsx) [1] [2]Navigation and Structure
app/routes/programming/index.tsx,app/routes.ts) [1] [2]Dependencies
hash-wasmfor hashing algorithms,react-hook-formand@hookform/resolversfor form state and validation, andzodfor schema validation. (package.json,pnpm-lock.yaml) [1] [2] [3]These changes together provide a robust, privacy-friendly hashing tool for developers, with a modern UI and support for both legacy and modern hash algorithms.