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

Device compatibility #116

Open
5 of 9 tasks
ana0 opened this issue Feb 15, 2021 · 6 comments
Open
5 of 9 tasks

Device compatibility #116

ana0 opened this issue Feb 15, 2021 · 6 comments
Assignees

Comments

@ana0
Copy link
Member

ana0 commented Feb 15, 2021

Found out from Furtherfield that their users are:
55.2% Chrome
27.7% Safari
6% Firefox

And:
68% desktop
31% mobile

Also will check what the breakpoints are (can it be used on very small devices like iphone 5?)

  • Desktop Chrome
  • Desktop Firefox (Linux)
  • Desktop Firefox (Mac)
  • Desktop Safari
  • Mobile Chrome
  • Mobile Firefox
  • Mobile Safari
  • Very small device (like iphone 5)
  • Tablet sized device
@critocrito
Copy link
Collaborator

critocrito commented Mar 23, 2021

To test the UI on my mobile phone I have to do the following:

  • Find out your IP address for your internal network (ip a l for Linux, ifconfig for macOS).
  • Edit .env and change localhost to your IP address for BASE_PATH and API_ENDPOINT.
  • Rebuild your client source (npm run client:watch)
  • Restart the development server (npm run server:watch)
  • Access the app with http://IPaddress:port/hotspot

@critocrito
Copy link
Collaborator

critocrito commented Mar 23, 2021

I tried the UI on Safari - desktop and mobile.

On Safari on Desktop I managed to vote without any fuss. Just to mention it, to use the camera Safari has to connect either on localhost or using SSL. Otherwise the devices "can't be enumerated". This might be true for other browsers as well.

On mobile I never manage to get past the booth initialization screen despite enabling the booth in the admin UI. I tried this both on iPhone and iPad. I'm not sure yet why that is.

IMG_69E6D3C5C032-1

The two 3D icons on the sides overlap with the booth setup UI as well. This is the case for all screen sizes below ~850px.

@ana0
Copy link
Member Author

ana0 commented Mar 25, 2021

I think probably to get past this page, the GRAPH_NODE_ENDPOINT env var also will need to be updated!

Would definitely be nice to fix these icons, tho the most urgent page is /vote be not /booth

@critocrito
Copy link
Collaborator

While testing for Firefox on Mac initially I received constantly error messages like that when trying to initialize the booth (https://localhost:3000/booth).

Screen Shot 2021-04-06 at 10 51 50

I couldn't get past it, even though the voting booth appeared in my booth admin panel. When going straight to the vote page nothing happened, I couldn't enter the manual override secret menu. Turns out, I had the metamask plugin installed in Firefox (it wasn't configured though) and once I removed the plugin I could move on and cast my votes. Not sure if that is relevant or just an issue on my setup. I thought I should mention it.

I also noticed that the camera get's initialized twice, once on the artwork select page and again on the voting page. The latter one seems unnecessary, at least I don't see any place where the camera would be used.

@ana0
Copy link
Member Author

ana0 commented Apr 6, 2021

Ah, I see - those errors are maybe due to metamask being on the wrong network (the same thing you fixed for the EthereumContainer component). I think we should probably investigate this one ... can you open an issue?

For the camera, do you think it's this one or different?

@ana0
Copy link
Member Author

ana0 commented Apr 11, 2021

Tested mobile firefox and mobile chrome. Found two small issues with layout, but was otherwise able to successfully vote. Will open issues for these

@ana0 ana0 closed this as completed May 30, 2021
@ana0 ana0 reopened this May 30, 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

2 participants