extrapolate
extrapolate copied to clipboard
feat: gallery, input and output persisted, photo-booth accepts initia…
…lState & className props, cn, sort storage by user_id
fix: photo-booth size-full by default, blurDataURl optional (not used atm), photo is always centered
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| extrapolate | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 21, 2024 9:31pm |
Basic gallery page implemented. Need to think about button placement within the carousel. Should probably add a share button as well. Input image is default, can be changed easily.
Using shadcn dialogs and drawers for modals now. Small bug in upload modal that keeps it open on page back. This is likely due to the global store implementation for keeping it's state. This will enable us to trigger the modals from anywhere in the application. One example is, instead of telling the user to sign in when they try to upload image, we can just trigger the sign in modal directly instead. Hopefully this leads to less crisp messages alongside a faq section.
Smoother photobooth built with the shadcn carousel component.
Pending in this PR:
- FAQ using accordion
- Pricing using moving border
- Delete account -
supabase.auth.admin.deleteUser. Should we also delete their usage history and images in storage?
@ajayvignesh01 awesome work! Yeah I think we should delete their usage history + images in storage – but we warn them about that when they delete + make them write "confirm delete account" in a modal so there are no accidental deletes
Added ability to delete user accounts from the user dropdown
Pending in this PR:
- FAQ using accordion
- Pricing using moving border
PR is almost done, just need new pricing section.
This PR introduces the following features/changes:
- Gallery page
- Remove plaiceholder (note used in the first place)
- Revamped photobooth with embla carousel (shadcn) and some bug fixes
- Input and output persisted with supabase storage
- init shadcn
- shadcn dialog / drawer replaces precedent modal / leaflet combo
- shadcn user dropdown
- dialogs/drawersuser zustand for global state, so they can be triggered from anywhere
- FAQ section
- Pricing revamp
- Delete account feature
PR Guide:
- Update stripe credits for starter plan by editing the metadata.credits field (on stripe dashboard).
- Update the hard-coded count (generated images) in home page and delete all rows in public.data in db. We do this so that they gallery doesn't show white screens for all the previously generated but not stored / now expired gifs. Also delete the data storage bucket as we will be using input and output buckets with a folder for each user by id. This will allow us to easily delete their data if they want to delete account.
@steven-tey good to merge