Commit Graph

97 Commits

Author SHA1 Message Date
pricewowen
f8ead185fd Implemented better fix for migration 2026-05-24 09:13:26 -06:00
pricewowen
375081e7da Fixed bad migration 2026-05-24 09:10:48 -06:00
pricewowen
1b5c459b74 Merge pull request #9 from RecentRunner/staging
Merge staging into main for latest release
2026-05-24 09:04:12 -06:00
pricewowen
e02468a9cc Fixing merge conflicts 2026-05-24 08:54:12 -06:00
pricewowen
ec1bfa3fbe Improvements to the UI 2026-05-24 08:49:37 -06:00
3be729327b Add inline pet rename, larger header text, and HaBit branding.
Let users edit the pet name from PetHabitat with a pencil icon, bump the name and mood header sizing, and rename user-facing Habit Pet copy to HaBit Pet.
2026-05-24 08:47:48 -06:00
d35b4e57d9 Enable Vercel Git deploys for main only.
Disable staging branch deployments in vercel.json and drop the redundant GitHub Actions Vercel deploy step to avoid double production builds.
2026-05-24 08:01:59 -06:00
masongga
1a151b5c7c added demo quiz reset option. Added timer for next available daily quiz 2026-05-24 07:48:51 -06:00
masongga
4998576e64 fixed landing page title 2026-05-24 07:43:13 -06:00
pricewowen
5ebcf33bca Polish quiz completion UX, room PNG backgrounds, and habits list order
Polish quiz completion UX, rooms, and app layout.
2026-05-24 07:09:40 -06:00
33ba52def1 Disable Vercel Git deploys for main and staging branches.
Production deploys run from GitHub Actions after migrations; staging stays off Vercel until merged to main.
2026-05-24 06:17:14 -06:00
d0d2cd175b Correct shop item names to match sprite artwork.
Rename mislabeled pants, torso, and head styles in presets, seed data, and a migration for the live catalog.
2026-05-24 06:14:23 -06:00
de376c09e3 Skip Vercel Git builds to prevent duplicate production deploys.
GitHub Actions remains the sole deploy path after Supabase migrations; vercel.json ignoreCommand skips integration-triggered builds.
2026-05-24 05:50:29 -06:00
c8b77a77ac Refine landing pet scale and login forgot-password link.
Size the homepage pet from LCD height instead of width alone, and soften the forgot-password link so it reads secondary to the password label.
2026-05-24 05:29:12 -06:00
b8596eacee Improve readability and randomize guest landing pet.
Pair Share Tech Mono body text with Press Start 2P display accents, and show a randomized dressed pixel character for signed-out homepage previews.
2026-05-24 05:21:56 -06:00
2b76e7f34c Scale landing pet preview for small viewports.
ResizeObserver on the landing LCD drives pet sprite scale while capping LCD height so the hero preview stays proportional on mobile.
2026-05-24 05:15:37 -06:00
0b309fbc24 Fix paid room preview mismatch and ground pulsation.
Richer forest/night SVGs and stable scene-image rendering without parallax overshoot so shop thumbnails match the pet LCD.
2026-05-24 05:14:14 -06:00
f0d36d53fa Improve locked customization previews so sprites and rooms stay visible.
Replace full-button opacity and heavy scrims with a small dark lock pill so users can still see what they are previewing in the shop.
2026-05-24 05:12:19 -06:00
8c0603475f Use shop SVG assets for paid room previews so thumbnail and LCD match.
ParallaxRoomBackground renders sceneImage with pixelated cover for room-night
and room-forest instead of mismatched CSS layers.
2026-05-24 05:11:16 -06:00
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