Code Monkey home page Code Monkey logo

buuks-react-client's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

buuks-react-client's Issues

UseEffect in useAuth hook/provider

useEffect(() => { 
    // Set isloading to true

    // read token from local storage
    // if token exists, 
        // read user data from local storage
        // set the user variable
        // set isAuthenticated to true

    // if token doesn't exist, 
        // set isAuthenticated to false

    // set isLoading to false
  }, []);

One of the suggestions from @faarda

PDF link doesn't open or download on Chrome mobile phone browser

Description

On Chrome mobile browser, pdf link tries to open up a new tab but immediately closes the tab. As a result, one cannot preview or download the pdf file.
It works well in chrome browser on Mac.

Steps to reproduce

  • Use a mobile phone with chrome browser.
  • Sign up and login to created account
  • Click on the add button to create a book card
  • Click on the pdf link on the card

Expected output

One should be able to preview or download pdf on mobile phone too.

Screenshot

Screenshot_20220326-005155

Browser and phone specifications

  • Chrome mobile phone browser (add version later)
  • Nokia 2.4
  • Android 11

The link works as expected tested with Firefox mobile phone browser

Loader, and delete button prompt

  • Delete button should prompt the user with a popup: "Confirm your action as this action cannot be reversed"
  • Loader should also be used on the login and signup pages
  • And maybe improve loader color so that it's more visible

Suggestion by @jiobiagba

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.