jp
@jpfraneto.eth
idea: allow us to link casts on mini app notifications. and the end of day, our role as developers is to craft experiences that add value to the life of users, and on the case of the notification of this screenshot that notification if tapped could perfectly open a cast, inside the farcaster interface, and the miniapp open below. but not fullscreen. minimized on the place I decide the user to propose that user a precise interaction, based on the screen i know they are seeing
2 replies
1 recast
13 reactions
0xSpencer.base.eth
@0xspencer
My way around this is a ‘/cast/:hash’ route in my miniapp that auto calls the view cast action of the sdk
2 replies
0 recast
1 reaction
jp
@jpfraneto.eth
oh sick. can you share a screenshot of the code and also a screen recording of the UX?
1 reply
0 recast
0 reaction
0xSpencer.base.eth
@0xspencer
Here’s the ux, short window of opening the frame is unfortunately unavoidable. I can get you a gist of the code in the morning, but it’s just exposing a new route with the cast hash as a parameter, then calling sdk.actions.viewCast(hash), then rerouting the user to the desired miniapp page (which they won’t see bc the app instantly minimizes when viewing the cast)
1 reply
0 recast
1 reaction