Add sidebar layout with Base64 and Timestamp dev tool routes#1
Merged
Conversation
Agent-Logs-Url: https://github.com/slhmy/dev-tools-web/sessions/927cc0c7-a785-4d4d-9d52-2c1af9e5b22a Co-authored-by: slhmy <31381093+slhmy@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
slhmy
April 16, 2026 03:52
View session
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.
Bootstraps the main application shell: a collapsible shadcn
Sidebarthat routes to individual dev tool pages, replacing the placeholder content.Layout
App.tsx— wraps the app inBrowserRouter+SidebarProvider+SidebarInset; renders<Routes>in the main content areaAppSidebar— replaced documentation placeholder data with grouped nav items (Encoding,Date & Time) usingNavLinkfor active-link highlighting; header shows app name + version via VitedefineTool pages
/base64— encode/decode usingTextEncoder/TextDecoderwith copy-to-clipboard/timestamp— Unix timestamp (auto-detects seconds vs ms) ↔ ISO date string, with "Now" shortcutSupporting changes
vite.config.ts— addsAPP_VERSIONdefine fromnpm_package_versionsrc/types/globals.d.ts— ambient TypeScript declaration forAPP_VERSION