zeeguu / web

Frontend for the zeeguu web application.
https://www.zeeguu.org
3 stars 5 forks source link

Redirection modal for unsupported browsers #297

Closed igawaclawska closed 5 months ago

igawaclawska commented 6 months ago

Pr: 12.02.24

A RedirectionNotificationForUnsupportedBrowsers.js

This component contains mobile and desktop versions of the notification and renders them conditionally by running renderHeaderForMobileOrUnsupportedDesktop() and renderBodyForMobileOrUnsupportedDesktop(). The footer and props are the same in both cases. The desktop variant is displayed on all desktop browsers that do not support the Zeeguu Reader browser extension.

The modal has the following functionality:

Future work and consideration

For the supported browsers

netlify[bot] commented 6 months ago

Deploy Preview for voluble-nougat-015dd1 ready!

Name Link
Latest commit f032ad5e32b17cee09c42c84fc4e5b3997e2719b
Latest deploy log https://app.netlify.com/sites/voluble-nougat-015dd1/deploys/65e5dcb76ff209000849c77b
Deploy Preview https://deploy-preview-297--voluble-nougat-015dd1.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

mircealungu commented 6 months ago

It looks beautiful, the text is clear.

The code is hard to follow. I wonder if it's because of the many very long identifiers or I'm just tired.

One possible solution could be:

igawaclawska commented 6 months ago

Dear @mircealungu, Thank you for the feedback. I have pushed new updates and addressed your suggestions in the comments above.

igawaclawska commented 5 months ago

Hi @mircealungu , The GoToButton component is ready.