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 commit3d4a92c
| Move README to rootcfacb85
| Basic UI for cards and hands; initialize deck and replace cards working4385f57
| Update config to enable@/absolute
pathse5d922f
| Update site titlee6d94ee
| Remove old app code40d7a29
| Organize componentse33d30c
| Organize and improve utils9677b52
| Merge pull request #1 frombensbits91/game-101
b833c58
| Determine winner(s), return hands, display winner on screen; improve constants5d212c5
| Install Jest; add unit tests for utils; flatten utils directory1ed714a
| Show final hand info for each playerd6bfbe0
| Fix duplicate cards after initial dealdad89f2
| Merge pull request #2 frombensbits91/winner-winner
Saturday 5/17
9afc8a4
| Show back of replaced cards until finala3b009b
| Better style for Unicode cards; basic RWDc11a64c
| Install Radix toolbar; addGameToolbar
andHandToolbar
; cleanup0f9c41b
| Fit Unicode cards to parent for styling8fffe8b
| AddIcon
component; more icons; add icon toButton
00d43a7
| New deal and end game; better toolbars1cea46d
| Fix two-pair tiebreaker logic and unit test5b29076
| Merge pull request #3 frombensbits91/tools
70e7d28
| Move logic to hooks; write tests for hooks and components9836e8c
| Remove console logsc46c572
| Merge pull request #4 frombensbits91/separation
94250e8
| Add theme context; basic light and dark mode
Sunday 5/18
78b84d2
| Improve style and themee7073c5
| Add winner Lottie; improve hand style7a51e58
| AddHeading
component; basic RWD for phone and laptop+3aa976a
| Add my usual Prettier config98b9adc
| Cleanup import statementsfe85fbe
| Merge pull request #5 frombensbits91/style
2840dc5
| WCAG for all components; more unit testsa86915f
| Merge pull request #6 frombensbits91/wcag
6d71084
| Persist theme in local storage5c151f8
| Add input to edit player name; persist player names in local storageb9aa683
| Merge pull request #7 frombensbits91/persist
Monday 5/19
0d35b3f
| More ESLint rules; fix new errors; update READMEa9a7dde
| JSDoc for components2f02e4a
| JSDoc for hooks and utils6442bd4
| Improve README95879b4
| Merge pull request #8 frombensbits91/documentation
cf2aba1
| Update README734fa65
| Update site iconb0e9555
| Clean up type/interface definitions0cf86a8
| AddPlayerContext/PlayerProvider
, updateusePlayers
, to enable components to share player data84a3f6b
| Change providers to function components0e8fb33
| Cleanup1e0e6d3
| Change site icone7c71df
| SuppressunknownAtRule
warningsdf21d1b
| Remove unnecessary PostCSS config94a5172
| Better RWD for tablet and landscape phonec878aca
| Merge pull request #9 frombensbits91/tweaks
b3572f0
| AddErrorBoundary
; improve error handling; separatePlayerName
aa1b0d9
| Merge pull request #10 frombensbits91/err
bd73ec6
| Extend Tailwind theme to use custom vars directly in JSX; cleanupindex.css
309e119
| Merge pull request #11 frombensbits91/polish
Tuesday 5/20
2109b22
| Add Cypress and write E2E tests8d384bc
| Merge pull request #12 frombensbits91/e2e
911c4d6
| Improve tablet layout; add card hover tilte34675e
| Merge pull request #13 frombensbits91/polish-a
6387ce3
| README updates065726f
| Add README ToC