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/fetch response error handling #1053

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

paghar
Copy link
Contributor

@paghar paghar commented Oct 9, 2023

Summarize the changes made and the motivation behind them.

Reference related issues using # followed by the issue number.

If there are breaking API changes - like adding or removing props, or changing the structure of the theme - describe them, and provide steps to update existing code.

@vercel
Copy link

vercel bot commented Oct 9, 2023

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

Name Status Preview Comments Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 13, 2023 1:36pm

@paghar paghar force-pushed the fix/fetch_response_error_handling branch from 95ffa3e to 7007003 Compare October 9, 2023 22:08
@paghar
Copy link
Contributor Author

paghar commented Oct 9, 2023

@rluders Hi
Thank you for checking the changes, I will always be happy to help.

Copy link
Collaborator

@rluders rluders left a comment

Choose a reason for hiding this comment

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

I'm unsure if I understood what it is trying to solve, but... I guess it doesn't hurt to get it merged after the change.

src/helpers/http.ts Outdated Show resolved Hide resolved
@paghar paghar force-pushed the fix/fetch_response_error_handling branch 2 times, most recently from 17f0db7 to 89e1735 Compare October 10, 2023 11:45
@paghar paghar requested a review from rluders October 10, 2023 15:08
@rluders rluders force-pushed the fix/fetch_response_error_handling branch from 89e1735 to d87bc2e Compare October 10, 2023 16:16
@rluders
Copy link
Collaborator

rluders commented Oct 10, 2023

Looks good @paghar. But the prettier doesn't seem happy.

@paghar paghar force-pushed the fix/fetch_response_error_handling branch from d87bc2e to 3c180e0 Compare October 10, 2023 17:05
@paghar paghar force-pushed the fix/fetch_response_error_handling branch from 0a233a5 to 3c180e0 Compare October 10, 2023 17:11
@paghar paghar force-pushed the fix/fetch_response_error_handling branch from e69d2cc to 3c180e0 Compare October 10, 2023 17:16
@paghar
Copy link
Contributor Author

paghar commented Oct 10, 2023

@rluders Sorry about that.
I fixed the problem, but I'm unable to update branch with rebase because of a conflict!
So I merged It....Is that OK?

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Attention: 483 lines in your changes are missing coverage. Please review.

Comparison is base (7461173) 99.54% compared to head (351de7f) 93.91%.
Report is 117 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1053      +/-   ##
==========================================
- Coverage   99.54%   93.91%   -5.64%     
==========================================
  Files         163      202      +39     
  Lines        6621     8458    +1837     
  Branches      401      465      +64     
==========================================
+ Hits         6591     7943    +1352     
- Misses         30      515     +485     
Files Coverage Δ
src/components/Accordion/Accordion.tsx 100.00% <100.00%> (ø)
src/components/Accordion/AccordionContent.tsx 100.00% <100.00%> (ø)
src/components/Accordion/AccordionPanel.tsx 100.00% <100.00%> (ø)
src/components/Accordion/AccordionPanelContext.tsx 88.88% <100.00%> (+1.38%) ⬆️
src/components/Accordion/AccordionTitle.tsx 100.00% <100.00%> (ø)
src/components/Alert/Alert.tsx 100.00% <100.00%> (ø)
src/components/Avatar/Avatar.tsx 100.00% <100.00%> (ø)
src/components/Avatar/AvatarGroup.tsx 100.00% <100.00%> (ø)
src/components/Avatar/AvatarGroupCounter.tsx 100.00% <100.00%> (ø)
src/components/Badge/Badge.tsx 100.00% <100.00%> (ø)
... and 106 more

... and 34 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rluders
Copy link
Collaborator

rluders commented Oct 10, 2023

@rluders Sorry about that. I fixed the problem, but I'm unable to update branch with rebase because of a conflict! So I merged It....Is that OK?

You need to rebase... If you are having issues with the rebase, I can try to help tomorrow, just let me know if you didn't get into solving the conflict when rebasing.

@paghar paghar force-pushed the fix/fetch_response_error_handling branch from 63ec918 to 3c180e0 Compare October 12, 2023 09:18
@paghar paghar force-pushed the fix/fetch_response_error_handling branch 2 times, most recently from 58a4c86 to 68a0f4c Compare October 12, 2023 09:34
@paghar paghar force-pushed the fix/fetch_response_error_handling branch from 2eee058 to a63b068 Compare October 12, 2023 09:40
@paghar paghar force-pushed the fix/fetch_response_error_handling branch 2 times, most recently from 68a0f4c to aee1d35 Compare October 13, 2023 13:17
@paghar paghar force-pushed the fix/fetch_response_error_handling branch from 4115473 to 351de7f Compare October 13, 2023 13:35
@paghar
Copy link
Contributor Author

paghar commented Oct 13, 2023

@rluders It is fixed now.
please check that.

@rluders rluders merged commit c1e62b3 into themesberg:main Oct 14, 2023
@paghar paghar deleted the fix/fetch_response_error_handling branch November 2, 2023 12:13
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.

2 participants