77 Commits

Author SHA1 Message Date
masongga
12d4d9edb4 fixed mobile view logout button 2026-05-24 10:36:26 -06:00
458ad903db Add navbar music player with floating ambient panel.
Move ambient audio into a top-nav toggle that opens a retro floating player while keeping playback running when collapsed.
2026-05-24 10:29:47 -06:00
masongga
f94fd49894 Merge branch staging into mason
Resolve habit-tracker conflict by keeping the daily tasks countdown header and adopting check-in terminology from staging.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-24 10:24:27 -06:00
masongga
003ee3851e added favicon and added timer to habits 2026-05-24 10:22:46 -06:00
93af01dec1 Rename daily quiz to check-in and add collapsible journal calendar.
Replace user-facing quiz wording with daily check-in, add journal history on the Bit page with month browsing and read-only entry modals, and keep legacy quiz routes redirecting to the new anchor.
2026-05-24 10:20:03 -06:00
e41fc10c77 Rename shop items to plain sprite labels and improve thumbnail visibility.
Use code-side display names in the shop UI so labels stay correct even when DB rows lag, and add a neutral thumbnail glow so dark colors remain visible.
2026-05-24 10:10:08 -06:00
masongga
aa503dd5e3 Merge branch 'mason' of https://github.com/RecentRunner/cursor-hackathon into staging 2026-05-24 09:57:10 -06:00
masongga
2bcb025e45 Merge branch 'staging' of https://github.com/RecentRunner/cursor-hackathon into mason 2026-05-24 09:56:49 -06:00
masongga
5273f8cbe0 added two audio files that auto play on the webpage with controls to modify sound 2026-05-24 09:56:36 -06:00
bd369825c3 Tint shop item thumbnails with the user's character layer colors.
Replace default gray previews so clothing and accessories in the shop grid reflect each layer's saved color, including skin tone for eyes.
2026-05-24 09:47:48 -06:00
19b0ece147 Improve pet habitat UX with ground-aligned walk, floating rename, and demo points.
Anchor room floors on resize, constrain wandering to a ground zone, add an editable floating name badge on the avatar screen, and let profile demo tools grant 100 test points.
2026-05-24 09:47:48 -06:00
masongga
8049ee90ae points don't show up when logged out anymore 2026-05-24 09:23:01 -06:00
masongga
c1b48c5e8d moved habits and quizzes to pet page 2026-05-24 09:13:36 -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
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
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
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
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
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