Content
@
0 reply
0 recast
0 reaction
Tony D’Addeo
@deodad
Request for feedback from frame devs: - give frames a way to respond with an error message that will be displayed to a user. - enables frames to give users quick feedback in response to user input https://warpcast.notion.site/Frames-Errors-ddc965b097d44d9ea03ddf98498597c6?pvs=74
26 replies
4 recasts
28 reactions
df
@df
Is the value add over responding with a frame that the current input value can be preserved? performance? Is this an accessibility change? Perhaps this is possible via an accessible arial-label for images instead. Or is this a way for broken frames to communicate the errors back (not helpful for users)?
2 replies
0 recast
1 reaction
Tony D’Addeo
@deodad
2x faster than a full image render input state is preserved makes building a frame with clean error handling simpler still expect and encourage frames to use full frames in cases where that makes more sense
2 replies
0 recast
1 reaction
df
@df
if image renders become much faster (I think they will), and theres a minimal way to preserve input (you could also send back a input value in the frame spec - could be used for defaults as well), and libs make displaying errors in frame images easier, then this change would add scope to frames without adding much.
1 reply
0 recast
1 reaction
Tony D’Addeo
@deodad
I agree faster images + initial input values + frame libs adding "toast" components for easily rendering in frame would accomplish the same thing even so this would still be a faster and simpler compliment for frame devs to present user's message on a standard surface
0 reply
0 recast
0 reaction