Skip to content

Final rev#2

Merged
yehezkielgunawan merged 8 commits intomainfrom
final-rev
Jan 15, 2026
Merged

Final rev#2
yehezkielgunawan merged 8 commits intomainfrom
final-rev

Conversation

@yehezkielgunawan
Copy link
Owner

Description

Linked Issues

Preview or Screenshot

- Bump versions for @tailwindcss/vite, hono, tailwindcss, and related packages.
- Update devDependencies including @cloudflare/vite-plugin, vite, vite-ssr-components, and wrangler.
- Add new script "up-latest" to package.json for updating dependencies.
- Adjust optional dependencies and their versions in pnpm-lock.yaml.
- Update main structure in index.tsx to use semantic HTML elements and improve accessibility with ARIA roles.
- Add skip link for keyboard navigation in renderer.tsx.
- Implement countdown feature in RedirectPage for better user experience during redirects.
- Refactor ShortenForm to include ARIA attributes and improve screen reader support.
- Enhance styling in style.css for better focus visibility and accessibility compliance.
- Introduce vitest.config.ts for configuring Vitest with jsdom environment and coverage settings.
- Add new testing scripts in package.json: "test", "test:ci", and "test:coverage".
- Update dependencies in package.json to include vitest and related packages for testing support.
- Create a new workflow in pull-request.yaml to automate the build and testing process on pull requests to the main branch.
- Configure steps for checking out code, setting up pnpm and Node.js, installing dependencies, building the project, and running unit tests.
- Include the coverage/ directory in .gitignore to prevent test coverage files from being tracked in the repository.
- Migrate state management from local state to a dedicated formReducer in a new lib/formReducer.ts file.
- Define initial state and action types for better clarity and maintainability.
- Update ShortenForm component to utilize the new formReducer and initialFormState.
- Add comprehensive unit tests for formReducer to ensure correct state transitions and actions.
@yehezkielgunawan yehezkielgunawan self-assigned this Jan 15, 2026
- Revamp README to include detailed project description, features, tech stack, and usage instructions for the URL shortener service.
- Add sections for getting started, installation, development, testing, and deployment processes.
- Include API reference with example requests and responses for creating, accessing, and managing shortened URLs.
- Enhance accessibility features and environment variable configuration details.
@yehezkielgunawan yehezkielgunawan merged commit 072acc4 into main Jan 15, 2026
1 check passed
@yehezkielgunawan yehezkielgunawan deleted the final-rev branch January 15, 2026 13:53
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.

1 participant