Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: better error messages for frames #1080

Merged

Conversation

JFrankfurt
Copy link
Contributor

@JFrankfurt JFrankfurt commented Oct 15, 2024

This has each frame track its own errors, whereas before all errors were aggregated at the context level (dumb).

Errors quickly fade in, and fade out when clicked.

before after
image image

Copy link

linear bot commented Oct 15, 2024

@JFrankfurt JFrankfurt self-assigned this Oct 15, 2024
Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
base-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 4:20pm
web-base-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 4:20pm

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Oct 15, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@JFrankfurt JFrankfurt force-pushed the feature/bapp-640-improvement-better-frame-error-states branch from 88d08e6 to c8da549 Compare October 15, 2024 16:13
@JFrankfurt JFrankfurt requested a review from a team October 15, 2024 16:13
@JFrankfurt JFrankfurt marked this pull request as ready for review October 15, 2024 16:13
@JFrankfurt JFrankfurt enabled auto-merge (squash) October 15, 2024 16:17
@@ -28,6 +59,51 @@ export default function Frame({ url, className }: FrameProps) {
});
};

const useSharedCallback = <T extends SignatureData | TransactionData>(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is v hard to parse/read, maybe add comment or split?

@JFrankfurt JFrankfurt merged commit 12b40b5 into master Oct 17, 2024
8 checks passed
@JFrankfurt JFrankfurt deleted the feature/bapp-640-improvement-better-frame-error-states branch October 17, 2024 15:08
kirkas pushed a commit that referenced this pull request Oct 21, 2024
kirkas pushed a commit that referenced this pull request Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants