Merged
Conversation
- 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.
- 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.
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.
Description
Linked Issues
Preview or Screenshot