Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
opening a gift card page and clicking add, opens the receive page but then when I close it it takes me to home page instead of back to card page. that seems wrong |
supabase/migrations/20260105200858_add-account-id-filter-to-list-transactions.sql
Outdated
Show resolved
Hide resolved
gudnuf
left a comment
There was a problem hiding this comment.
@jbojcic1 I addressed your comments and also removed the conditional rendering from the lazy loaded images (e1f6a6e). This way its all css and looks the same as before. The conditional rendering was making the images flash because on first render isLoaded would be false even if it was already cached (I only noticed this behavior on mobile).
Last thing I'm trying to improve is that the view transitions for selecting gift cards is a bit glitchy on mobile for some reason (looks good on desktop)
| 1. AirDrop or email the `certs/rootCA.pem` file to your device and open it | ||
| 2. Go to **Settings → General → VPN & Device Management** and install the downloaded profile | ||
| 3. Go to **Settings → General → About → Certificate Trust Settings** and enable full trust for the root certificate | ||
| **Installing the root certificate on iOS:** Mobile browsers require the root CA to be trusted. Find your mkcert root CA |
There was a problem hiding this comment.
Originally claude copied my rootCa to my agicash/certs dir, so then that's what these previous docs were pointing to. I had to go through this again, and realized this is wrong because that's not where the cert actually lives
* Refactor to use view transitions for card animations * Cleanup * Add back fade in/out transition for gift card item overlay
Convert gift card images from PNG to WebP format for better compression. Add WalletCardBackgroundImage component that shows a skeleton placeholder while images load, then fades them in smoothly. - Replace WalletCardBackground with WalletCardBackgroundImage across gift card components - Add convert-to-webp.sh script for converting PNG assets to WebP - Document WebP conversion workflow in README Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This reverts commit a2c0b60.
Claude added the translate classes, I just changed those here d48c306 because there was a bug on desktop where the cards that slide down would expand to the full width of the desktop screen. The way it was before was a way to center the cards, but I changed to center differently and apply max width of CARD_WIDTH so the width doesn't change. The real change I was going for there was changing the absolute positioning to fixed because with the absolute positioning you could see the cards when you scrolled to the bottom of the details page. Fixed positioning keeps it off screen
Not sure why it was absolute inset before, but the problem that I was fixing is that having |


Gift Cards Feature
Screen.Recording.2026-01-06.at.2.31.25.PM.mov
Overview
Implements a gift cards page that displays cashu accounts from closed-loop mints as "gift cards" with a stacked card UI and expand/collapse animations.
Animations
I might have gotten a little too excited about making these animations, but I think it looks good. I tried to at least document the idea of what each piece of the animation is doing, but I don't fully understand how the details of the CSS work. High-level is something like:
When a card is clicked, it goes from an
idlestate toenteringwhere it slides up and the rest of the stacked card view disappears. When the card reaches thesettledstate its rendering a new component that is overlaid on the collapsed view.The flow:
Other Notable Changes
accountIdparam touseTransactionsandlist_transactionsRPC to show per-card transaction historyisClosedLoopgetter toExtendedCashuWalletto identify gift card mintsaccountIdquery param. This is used when a user clicks "Add" or "Send" from a selected card