Conversation
There was a problem hiding this comment.
🟡 Changes recommended
UrlParser no longer re-parses after param edits, which can leave displayed URL components out of sync with the updated URL text.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Release 0.6.0 update that expands the toolset and improves UX/accessibility across multiple tools, while refactoring a few internals (Base64 MIME detection, TOML parsing, cubic-bezier easing) and updating release metadata/docs.
Changes:
- Added new tools: Crontab Generator and Chmod Calculator, including icons and tool registration/metadata.
- Improved keyboard accessibility by auto-focusing primary inputs across many tool components.
- Refactored internals: Base64 MIME detection extracted to a shared utility; TOML conversion moved to
smol-toml; cubic-bezier easing no longer depends onbezier-easing.
File summaries
| File | Description |
|---|---|
| src/tools/toolComponents.ts | Registers newly added tool components. |
| src/tools/components/url-parser/UrlParser.ts | Input focus + refactor of input element naming; param update behavior changed. |
| src/tools/components/url-encoder/UrlEncoder.ts | Mode-specific preserve/decode toggles + autofocus + default example input. |
| src/tools/components/unix-path-convertor/UnixPathConvertor.ts | Autofocus on initial input. |
| src/tools/components/unicode-inspector/UnicodeInspector.ts | Adds query + autofocus on input. |
| src/tools/components/slug-generator/SlugGenerator.ts | Input/output element refs + autofocus + textarea sizing updates. |
| src/tools/components/signature-verifier/SignatureVerifier.ts | Autofocus on input. |
| src/tools/components/sha-hashing/ShaHashing.ts | Autofocus on input. |
| src/tools/components/rsa-encryption/RsaEncryption.ts | Autofocus on input. |
| src/tools/components/qr-code-generator/QrCodeGenerator.ts | Adds query + autofocus on input. |
| src/tools/components/number-base-convertor/NumberBaseConvertor.ts | Input element refactor + autofocus + reset behavior update. |
| src/tools/components/markdown-table-builder/MarkdownTableBuilder.ts | Renames output element reference. |
| src/tools/components/jwt-inspector/JwtInspector.ts | Input/secret element refactor + autofocus + reset updates. |
| src/tools/components/escape-html-entities/EscapeHtmlEntities.ts | Adds query + autofocus. |
| src/tools/components/data-unit-convertor/DataUnitConvertor.ts | Adds query + autofocus; adds missing input id. |
| src/tools/components/data-format-convertor/tomlUtils.ts | Removes custom TOML stringify implementation. |
| src/tools/components/data-format-convertor/DataFormatConvertorLogic.ts | Switches TOML parsing/stringifying to smol-toml; improves typing + error handling. |
| src/tools/components/cubic-bezier/cubicBezierUtils.ts | Adds internal cubic-bezier easing solver implementation. |
| src/tools/components/cubic-bezier/CubicBezier.ts | Replaces bezier-easing dependency with internal easing solver. |
| src/tools/components/crontab-generator/CrontabGenerator.ts | New Crontab Generator tool implementation. |
| src/tools/components/chmod-calculator/ChmodCalculator.ts | New Chmod Calculator tool implementation. |
| src/tools/components/base64-encoder/mimeUtils.ts | New shared MIME detection helper. |
| src/tools/components/base64-encoder/Base64Encoder.ts | Uses shared MIME detection; improves data URI validation and file encoding logic; autofocus. |
| src/tools/components/ascii-encoder/AsciiEncoder.ts | Adds query + autofocus. |
| src/tools/components/aes-encryption/AesEncryption.ts | Focuses password input on load. |
| src/providers/SidePanelProvider.ts | Bumps displayed version to 0.6.0 beta. |
| src/constants/tools.ts | Updates tool versions; adds new tools and marks them as new; updates “isNew” flags. |
| README.md | Updates tool list/statuses/versions for 0.6.0 release. |
| package.json | Bumps extension version; swaps toml -> smol-toml; removes bezier-easing. |
| package-lock.json | Lockfile updates aligned with dependency changes/version bump. |
| media/tools/light/id-card-lanyard.svg | New icon for Chmod Calculator (light). |
| media/tools/light/alarm-clock.svg | New icon for Crontab Generator (light). |
| media/tools/dark/id-card-lanyard.svg | New icon for Chmod Calculator (dark). |
| media/tools/dark/alarm-clock.svg | New icon for Crontab Generator (dark). |
Review details
- Files reviewed: 29/34 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
331
to
335
| url.searchParams.append(param.key, param.value); | ||
| } | ||
|
|
||
| this.input = url.toString(); | ||
| this.parseUrl(); | ||
| this.alert = null; |
Comment on lines
+25
to
+29
| // Known brands (not exhaustive but robust for mp4/audio mp4/quicktime) | ||
| const videoMp4Brands = new Set([ | ||
| 'isom', 'iso2', 'iso3', 'iso4', | ||
| 'mp41', 'mp42', | ||
| 'avc1', 'dash', |
Comment on lines
15
to
+20
| @state() private isCopied = false; | ||
| @state() private preserveUrl = true; | ||
| @state() private encodePreserveUrl = true; | ||
| @state() private decodePreserveUrl = true; | ||
|
|
||
| @query('#output') outputTextarea!: HTMLTextAreaElement; | ||
| @query('#input') inputElement!: HTMLTextAreaElement; | ||
| @query('#output') outputElement!: HTMLTextAreaElement; |
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.
New Tools and Features:
Crontab GeneratorandChmod Calculatortools, each with their own metadata and marked as new in both the UI and documentation.Base64 Encoder Refactor and Bug Fixes:
detectMimeTypeutility, improving maintainability and accuracy of MIME type detection. The detection logic was moved out of the component and improved error handling for malformed data URIs was added.Dependency and Build Updates:
tomldependency tosmol-tomlfor TOML parsing, and removed unusedbezier-easingdependency.Other Minor Improvements: