feat(golf): add My Bag section sourced from static JSON - #105
Conversation
Co-authored-by: kenjdavidson <6210735+kenjdavidson@users.noreply.github.com>
|
@copilot did this include UI changes? What did you forget? If you need to update your copilot-instructions so that you actually follow instructions, please do add whatever you need to get this right. |
Sorry about that — I had placeholder URLs in the description instead of real screenshots. The PR description has been updated with actual before/after screenshots: Before — no My Bag section: After — My Bag section added below Recent Scores, grouped by club type: Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|


src/data/golf-bag.jsonwith club data (type, name, model, avgDistance)src/components/GolfBagSection.astroreusable component (avoids duplication, uses pluralization map for group headers)src/pages/golf.astroto import the bag JSON and render the component below Recent Scores in both the live-data and fallback layoutsBefore — no My Bag section:
After — My Bag section added below Recent Scores, grouped by club type (Woods / Irons / Wedges / Putters):
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.