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

Reload Button for refetching #8

Open
JawHawk opened this issue Jun 17, 2023 · 5 comments
Open

Reload Button for refetching #8

JawHawk opened this issue Jun 17, 2023 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@JawHawk
Copy link
Owner

JawHawk commented Jun 17, 2023

If due to network or server problem, Latest Anime API or background image API failed, a reload option should be displayed instead to refetch. This would solve the problem that user has to refresh the page to update.

@JawHawk JawHawk added enhancement New feature or request good first issue Good for newcomers labels Jun 17, 2023
@mukeshmx
Copy link

Hey @JawHawk can you put this issue up for hacktoberfest?

@JawHawk
Copy link
Owner Author

JawHawk commented Oct 30, 2023

Sure @mukeshmx, I have added the hacktoberfest label
Refresh Button should be for both background and latest anime drawer
Here is the respective file for that: https://github.com/JawHawk/Anichinu/blob/main/src/pages/Newtab/Newtab.tsx

Below is Code for Reload Button

<Tooltip label={'Reload'}>
      <ActionIcon variant="subtle" size={'lg'} onClick={() => {...refetch code}}>
            <Reload size={25} />
       </ActionIcon>
 </Tooltip>

It should look like this
image

Also do fork the repo and make a new branch having name similar to issue to create a PR

@mukeshmx
Copy link

Thank you @JawHawk I'm working on this one

@JawHawk
Copy link
Owner Author

JawHawk commented Oct 31, 2023

Any progress on this one @mukeshmx ??

@mukeshmx
Copy link

mukeshmx commented Nov 1, 2023

I tried, I'm not getting the results :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants