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

If fetching permissions fails, the loading screen will continue to appear #567

Closed
dadachi opened this issue Apr 15, 2021 · 14 comments
Closed
Assignees

Comments

@dadachi
Copy link

dadachi commented Apr 15, 2021

If fetching permissions fails, the loading screen will continue to appear.

Steps to reproduce

Expected behavior

Display error message.
And if the error is authentication error(HTTP status code: 401), you should display the login screen.

Actual behavior

The loading screen will continue to appear.

Environment

  • iOS Version: iOS14
  • raywenderlich.com App Version: v1.0.6
  • Device: iPhone 12 Mini Simulator
@VegetarianZombie
Copy link
Contributor

Thanks. Just replicated your issue. Taking a look.

@VegetarianZombie
Copy link
Contributor

Hi @luke-freeman, would you like to produce a mockup of the notification or do you want me to use a standard iOS alert notification?

@sammyd
Copy link
Collaborator

sammyd commented Aug 2, 2021

🔔 @luke-freeman

@luke-freeman
Copy link

@VegetarianZombie

I've set a task to look into this. I'll try to deliever something in the next 2 weeks.

@luke-freeman
Copy link

@VegetarianZombie

I have a very basic design for this

https://www.figma.com/file/WaYjtN0Gi2CB9L6rMYtjp5/567-%E2%80%94-Fetching-Permissions?node-id=2%3A72

Can you give me some more context on the error?

Should the user simply click a button to force their way out of this state

@JessyCatterwaul
Copy link
Contributor

Hi @luke-freeman. I'm taking this one over.

Can you give my @razeware.com address permission to view that file please?

@luke-freeman
Copy link

@JessyCatterwaul

Can you access now?

@JessyCatterwaul
Copy link
Contributor

JessyCatterwaul commented Aug 19, 2021

@luke-freeman I can—thanks! I'll get you more info when I understand the problem a bit more.

@JessyCatterwaul
Copy link
Contributor

JessyCatterwaul commented Aug 19, 2021

I've got a fix in-place, reusing this view from elsewhere in the app:

Screen Shot 2021-08-19 at 6 37 09 PM

@luke-freeman, what should we be doing about the smileys? Switch the old one out for your new graphic from Figma, app-wide?

@sammyd Do we have standardized verbiage for this? "We failed to fetch the correct permissions" maybe isn't so great a user-facing statement?

@JessyCatterwaul
Copy link
Contributor

JessyCatterwaul commented Aug 19, 2021

@0xTim It looks like I need to be given access so I can push my branch? Or are we all just forking it?

@0xTim
Copy link
Contributor

0xTim commented Aug 20, 2021

@JessyCatterwaul I guess RW people should have access it. However I don't have permissions to give you access, that's one for @luke-freeman

@sammyd
Copy link
Collaborator

sammyd commented Aug 20, 2021

@JessyCatterwaul I've sent you an invite to be a maintainer of this repo. Gimme a shout if that doesn't suffice.

@luke-freeman
Copy link

@JessyCatterwaul

For now you can use the illustraiton that's there as I have another issue to update the illustrations app wide!

@0xTim
Copy link
Contributor

0xTim commented Aug 31, 2021

Closed via #592

@0xTim 0xTim closed this as completed Aug 31, 2021
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

No branches or pull requests

6 participants