-
Notifications
You must be signed in to change notification settings - Fork 1
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
Pulling fix/papers-error-message into develop #674
Conversation
…e to allow manual triggering of data fetching The initial state of the fetch state is now extracted into a separate constant called `initialState`, which improves code readability and maintainability. The `useFetchPublications` hook now includes a `refetch` function in the fetch state, which allows manual triggering of data fetching. This is useful in cases where the data needs to be refreshed without a page reload.
…nent for fetching latest papers again The "Refetch" button is added to the error component, allowing users to manually trigger a refetch of the latest papers. The error message in the error component is also changed to a more user-friendly message, informing users that there was a problem loading the latest papers.
…LatestPapersError component The prop name in the LatestPapersError component has been changed from 'error' to 'refetch' to accurately reflect its purpose.
… "Retry" for better clarity The button label has been changed from "Refetch" to "Retry" to provide a clearer indication of its functionality.
Important Auto Review SkippedBot user detected. To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #674 +/- ##
========================================
Coverage 94.75% 94.75%
========================================
Files 192 192
Lines 14249 14249
Branches 494 494
========================================
Hits 13502 13502
Misses 747 747 |
No description provided.