keep
keep copied to clipboard
Error handling in UI is broken (ErrorComponent and ErrorBoundary)
Describe the bug Error handling in the UI is broken, a simple use case can be when the API is not reachable and we throw the "KeepApiError", the only thing that is shown on the screen is Keep's logo.
To Reproduce Steps to reproduce the behavior:
- Take down the API
- Start the UI
- Go to localhost:3000
Expected behavior Error should be presented beautifully with all the context that is possible and a clear CTA should be displayed (e.g. "Try Again")
Screenshots
Hey @talboren , I wanted to take this issue. I will look around the code and let you know the solution approach.
Hey @talboren , I wanted to take this issue. I will look around the code and let you know the solution approach.
Perfect @TakshPanchal, thank you! You can reach out to @shahargl who added the ErrorBoundary approach and consult with him.
hey @TakshPanchal , any progress? want me to dive in?
/bounty 50
đ $50 bounty âĸ Keep (YC W23)
Steps to solve:
- Start working: Comment
/attempt #465with your implementation plan - Submit work: Create a pull request including
/claim #465in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Thank you for contributing to keephq/keep!
Add a bounty âĸ Share on socials
| Attempt | Started (GMT+0) | Solution |
|---|---|---|
| đ´ @ibishal | Jun 6, 2024, 10:35:04 AM | WIP |
| đ´ @TakshPanchal | Jun 13, 2024, 10:38:09 AM | WIP |
| đ´ @ezhil56x | Jun 25, 2024, 8:34:52 PM | WIP |
| đĸ @35C4n0r | Jul 30, 2024, 4:28:18 PM | #1534 |
/attempt #465 can i get assigned with it ?
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @ibishal | 2 bounties from 2 projects | Rust, Scala, TypeScript |
Cancel attempt |
@ibishal: Reminder that in 4 days the bounty will become up for grabs, so please submit a pull request before then đ
@ibishal is there any update from you, are you still working on this one.
The bounty is up for grabs! Everyone is welcome to /attempt #465 đ
/attempt #465
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @TakshPanchal | 1 bounty from 1 project | Jupyter Notebook, JavaScript, Python & more |
Cancel attempt |
is it possible to discuss this on a meet @shahargl. I have some findings.
@TakshPanchal: Reminder that in 4 days the bounty will become up for grabs, so please submit a pull request before then đ
The bounty is up for grabs! Everyone is welcome to /attempt #465 đ
/attempt #465
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @ezhil56x | Â Â Â 7 keephq bounties + 27 bounties from 10 projects |
JavaScript, TypeScript, Java & more |
īš1258 |
Cancel attempt |
I am able to display error to user using error boundry.
@TakshPanchal Are you still working on this?
Yes yes, I have created PR too
@ezhil56x: Reminder that in 4 days the bounty will become up for grabs, so please submit a pull request before then đ
The bounty is up for grabs! Everyone is welcome to /attempt #465 đ
I don't see any activity, I'm picking this up.
/attempt #465
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @35C4n0r | Â Â Â 14 keephq bounties + 10 bounties from 4 projects |
Python, HTML, JavaScript & more |
Cancel attempt |
đĄ @35C4n0r submitted a pull request that claims the bounty. You can visit your bounty board to reward.