Commit Graph

78 Commits

Author SHA1 Message Date
365de4354b Replace landing hero PixelAvatar with live PetHabitat preview.
Shows a tamagotchi-style mini pet screen for guests and signed-in users, with a skeleton while loading customization data.
2026-05-24 05:09:27 -06:00
7dab056eba Clamp pet wander to lower-third ground zone.
Restrict Y to 66–90% and X to 15–85% with bottom-anchored positioning so the avatar stays on grass instead of sky or walls.
2026-05-24 05:08:03 -06:00
3616cc5c5b Replace tiled star grids with scattered radial gradients for night and dusk rooms.
Repeating bg-length patterns looked like a uniform dot grid on the pet LCD; individual circle_at positions give a natural star field.
2026-05-24 05:06:57 -06:00
3470d444b4 Add customize-screen shop preview and purchase flow.
Locked items can be previewed on the pet from the editor, purchased with points in the preview modal, and opened in the full customize view from the shop.
2026-05-24 05:05:46 -06:00
5d80b60247 Keep landing page public for signed-in users.
Remove the home-page auto-redirect so `/` stays a marketing page while app entry and onboarding gates remain unchanged.
2026-05-24 05:01:54 -06:00
ac0b102e78 Fix shop room preview showing solid green LCD background.
Include lib/ in Tailwind content so parallax room gradient classes from room-backgrounds.ts are emitted in production CSS.
2026-05-24 05:01:00 -06:00
d5e80ec380 Finish interrupted features: tab prefetch, pet viewport, and home logo.
Add shared quiz/habits tab cache with nav hover prefetch and AppDataPrefetcher,
make the pet screen fill and center the viewport, and point the HaBit logo to /.
2026-05-24 04:57:13 -06:00
5dda46cb87 Improve shop UX, starting balance, and top bar branding.
Give new users 100 free points, allow shop previews regardless of balance, rename clothing items with descriptive labels, and show only the HaBit logo in the top-left.
2026-05-24 04:51:01 -06:00
69131ac8eb Add shop preview modal to try items on your pet before buying.
Preview overlays the item or room background on the current avatar without equipping.
2026-05-24 04:45:35 -06:00
4df8ea8d66 Add placeholder shop previews for Starlit Night and Mystic Forest.
Simple SVG thumbnails at /shop/room-night.svg and /shop/room-forest.svg.
2026-05-24 04:42:35 -06:00
f5ce631dea Add HaBit brand mark to the app top bar.
Surfaces reusable top-right branding alongside the home logo for consistent pixel-themed app identity.
2026-05-24 04:41:22 -06:00
2d12b663c9 Move Style entry to pet portrait and drop it from bottom nav.
Add a palette shortcut on the habitat LCD and keep customize at /customize.
2026-05-24 04:38:22 -06:00
831170573b Pin bottom nav to viewport and reserve scroll clearance.
Track visual viewport for keyboard offset, add bottom spacer, use solid
nav background with safe-area padding, and avoid zero nav offset fallback.
2026-05-24 04:34:34 -06:00
68b3da1d13 Keep single-column layout on mobile until desktop breakpoints.
Wide max-widths and shop grids now only expand at lg/xl, not sm/md.
2026-05-24 04:28:49 -06:00
91cced4c75 Fix app shell layout with stable top bar and dynamic nav offset.
Unified chrome keeps the home logo top-left, measures bottom nav height
for scroll clearance, and adds responsive content widths for mobile/desktop.
2026-05-24 04:26:09 -06:00
37836ec8a5 Remove outdated shop implementation plan.
Shop work is complete; drop the superseded planning doc.
2026-05-24 04:17:38 -06:00
fb6b012771 Hide shop item debug ids from the storefront UI.
Remove internal variant ids like room-forest from item cards.
2026-05-24 04:10:00 -06:00
fd15338bd0 Hide bottom nav labels on narrow widths and enlarge icons.
Use a container query so cramped nav items show icon-only mode with accessible labels via aria-label.
2026-05-24 04:09:13 -06:00
3cdcf37c00 Fix in-app reminder banner clipping behind bottom nav.
Position the banner above the nav using --bottom-nav-height instead of bottom-16.
2026-05-24 04:08:07 -06:00
c6e807d25d Fix shop card layout and spacing.
Use compact self-contained item cards, wider shop shell, and responsive grid so buttons and labels stay inside each card.
2026-05-24 04:07:32 -06:00
9e73eaaea7 Add home logo link to app page headers.
Show a pixel pet logo in the top-right of AppPageHeader that links to the pet home screen.
2026-05-24 04:06:39 -06:00
5fefc65412 Wire shop UI to RPCs and auto-equip after purchase.
Refactor client storage to call Supabase RPCs and equip items immediately after a successful buy.
2026-05-24 04:02:56 -06:00
f02208c0ea Add shop catalog migration and atomic purchase/equip RPCs.
Upsert shop_items on deploy so the shop is never empty, and move buy/equip logic into Postgres for transactional coin deduction.
2026-05-24 04:02:56 -06:00
pricewowen
9fdec200b5 Stable version with additional styling 2026-05-24 01:43:59 -06:00
masongga
cd5feb3a98 added 'empty' message to shop when nothing is there 2026-05-24 00:34:18 -06:00
masongga
a5e81f32c3 merge 2026-05-24 00:19:50 -06:00
masongga
2a77bf6815 Merge character customization branch and resolve avatar page conflict
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-24 00:17:14 -06:00
masongga
3cb22a4089 added in browser notifications for notifications in settings 2026-05-24 00:14:06 -06:00
masongga
dfafba0c94 added windows notifications and have avatar health/energy update with task completion 2026-05-24 00:11:23 -06:00
pricewowen
53aa559c7b Removed bypass onboarding process 2026-05-24 00:04:36 -06:00
masongga
25fb5499c1 added security checks for journal text box for AI 2026-05-23 23:55:25 -06:00
pricewowen
25e9960d01 Removed the auto generated sprites 2026-05-23 23:54:36 -06:00
masongga
bffe0f941c ai generated tasks check for duplicates, existing streaks, and more before creation 2026-05-23 23:39:54 -06:00
pricewowen
47303bb4eb Merge pull request #8 from RecentRunner/avatar
Merging avatar into main for migration
2026-05-23 23:25:51 -06:00
pricewowen
61f98866e8 avatar to main merge
I have completed the character creation screen on the avatar branch and am preparing to merge it into main.
2026-05-23 23:24:36 -06:00
masongga
c5b20e094e added openrouter ai generated tasks 2026-05-23 23:20:41 -06:00
pricewowen
8957ecb81d Merge pull request #7 from RecentRunner/main
added shop functionality. Shop now pulls from db
2026-05-23 23:18:39 -06:00
masongga
5f0bbaf3cf added shop functionality. Shop now pulls from db 2026-05-23 22:46:58 -06:00
pricewowen
e5f35ce689 Merge pull request #5 from RecentRunner/main
Updates the owen branch with the latest changes from main to keep it in sync and resolve any differences before continuing development.
2026-05-23 22:24:26 -06:00
masongga
598d7f781b Merge branch 'main' of https://github.com/RecentRunner/cursor-hackathon into mason 2026-05-23 22:18:51 -06:00
masongga
4d22c04f83 adding habit_streak_milestones 2026-05-23 22:18:28 -06:00
masongga
53f3cec385 tasks now update streaks in db 2026-05-23 22:12:00 -06:00
Mason
bd29f592c3 Merge pull request #4 from RecentRunner/mason
fixing merge issues
2026-05-23 22:04:25 -06:00
pricewowen
9c1d25c006 Merge main into owen
Updates the owen branch with the latest changes from main to keep it in sync and resolve any differences before continuing development.
2026-05-23 22:04:04 -06:00
masongga
f51b73bec4 fixing merge issues 2026-05-23 22:03:41 -06:00
masongga
c86b04b3c8 added habit_streaks to habits table 2026-05-23 22:00:56 -06:00
pricewowen
1023b3edc6 Complete character creation screen
Finished the character creation screen with the final layout, UI elements, and customization flow ready for integration.
2026-05-23 21:35:59 -06:00
masongga
82097f79ac fixed profile preferences 2026-05-23 21:32:38 -06:00
masongga
4b45ddd182 fixed basic nav for login/register 2026-05-23 21:23:39 -06:00
masongga
4f45a96c06 Merge branch 'main' of https://github.com/RecentRunner/cursor-hackathon into mason 2026-05-23 20:35:49 -06:00