Daily Progress - bensbits91/csnw-bb-poker GitHub Wiki

Pull Requests & Commit History

To get a feel for the steps I used to build the app, review the closed pull requests.

For a detailed history, review my commit history. I also pasted a detailed commit history at the bottom of this page for easy reference.

View more insights.

Daily Journal

Friday 5/16

  • Implemented core game logic and basic UI.
  • Enabled the ability to play games.
  • Wrote Jest unit tests for utility functions.

Saturday 5/17

  • Added more features and custom hooks.
  • Implemented a theme switcher and created a color palette.
  • Cleaned up Tailwind CSS and applied basic styling.
  • Used Testing Library and Jest for testing hooks and components.

Sunday 5/18

  • Enhanced styling and integrated Lottie animations.
  • Wrote additional unit tests.
  • Enabled editing of player names.
  • Persisted theme and player names to local storage.
  • Made the app responsive (RWD).

Monday 5/19

  • Added JSDoc documentation to files.
  • Introduced a player context and provider to share player name state/storage across components.
  • Added uuid for player IDs to address lint warnings against using array indices as keys.
  • Deployed the app to Vercel.
  • Improved error handling and added error boundaries.
  • Extended the Tailwind theme and cleaned up CSS.

Tuesday 5/20

  • Finished polishing the game's style/theme.
  • Finalized the README content.
  • Created this wiki by organizing and polishing notes kept during the project.

Detailed Commit History

Friday 5/16

  • 809ec10 | Initial commit
  • 3d4a92c | Move README to root
  • cfacb85 | Basic UI for cards and hands; initialize deck and replace cards working
  • 4385f57 | Update config to enable @/absolute paths
  • e5d922f | Update site title
  • e6d94ee | Remove old app code
  • 40d7a29 | Organize components
  • e33d30c | Organize and improve utils
  • 9677b52 | Merge pull request #1 from bensbits91/game-101
  • b833c58 | Determine winner(s), return hands, display winner on screen; improve constants
  • 5d212c5 | Install Jest; add unit tests for utils; flatten utils directory
  • 1ed714a | Show final hand info for each player
  • d6bfbe0 | Fix duplicate cards after initial deal
  • dad89f2 | Merge pull request #2 from bensbits91/winner-winner

Saturday 5/17

  • 9afc8a4 | Show back of replaced cards until final
  • a3b009b | Better style for Unicode cards; basic RWD
  • c11a64c | Install Radix toolbar; add GameToolbar and HandToolbar; cleanup
  • 0f9c41b | Fit Unicode cards to parent for styling
  • 8fffe8b | Add Icon component; more icons; add icon to Button
  • 00d43a7 | New deal and end game; better toolbars
  • 1cea46d | Fix two-pair tiebreaker logic and unit test
  • 5b29076 | Merge pull request #3 from bensbits91/tools
  • 70e7d28 | Move logic to hooks; write tests for hooks and components
  • 9836e8c | Remove console logs
  • c46c572 | Merge pull request #4 from bensbits91/separation
  • 94250e8 | Add theme context; basic light and dark mode

Sunday 5/18

  • 78b84d2 | Improve style and theme
  • e7073c5 | Add winner Lottie; improve hand style
  • 7a51e58 | Add Heading component; basic RWD for phone and laptop+
  • 3aa976a | Add my usual Prettier config
  • 98b9adc | Cleanup import statements
  • fe85fbe | Merge pull request #5 from bensbits91/style
  • 2840dc5 | WCAG for all components; more unit tests
  • a86915f | Merge pull request #6 from bensbits91/wcag
  • 6d71084 | Persist theme in local storage
  • 5c151f8 | Add input to edit player name; persist player names in local storage
  • b9aa683 | Merge pull request #7 from bensbits91/persist

Monday 5/19

  • 0d35b3f | More ESLint rules; fix new errors; update README
  • a9a7dde | JSDoc for components
  • 2f02e4a | JSDoc for hooks and utils
  • 6442bd4 | Improve README
  • 95879b4 | Merge pull request #8 from bensbits91/documentation
  • cf2aba1 | Update README
  • 734fa65 | Update site icon
  • b0e9555 | Clean up type/interface definitions
  • 0cf86a8 | Add PlayerContext/PlayerProvider, update usePlayers, to enable components to share player data
  • 84a3f6b | Change providers to function components
  • 0e8fb33 | Cleanup
  • 1e0e6d3 | Change site icon
  • e7c71df | Suppress unknownAtRule warnings
  • df21d1b | Remove unnecessary PostCSS config
  • 94a5172 | Better RWD for tablet and landscape phone
  • c878aca | Merge pull request #9 from bensbits91/tweaks
  • b3572f0 | Add ErrorBoundary; improve error handling; separate PlayerName
  • aa1b0d9 | Merge pull request #10 from bensbits91/err
  • bd73ec6 | Extend Tailwind theme to use custom vars directly in JSX; cleanup index.css
  • 309e119 | Merge pull request #11 from bensbits91/polish

Tuesday 5/20

  • 2109b22 | Add Cypress and write E2E tests
  • 8d384bc | Merge pull request #12 from bensbits91/e2e
  • 911c4d6 | Improve tablet layout; add card hover tilt
  • e34675e | Merge pull request #13 from bensbits91/polish-a
  • 6387ce3 | README updates
  • 065726f | Add README ToC