Giter Site home page Giter Site logo

findamusicianfrontend's People

Contributors

alexandrelam avatar romainguarinoni avatar thomasbernard0 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

avishaymta

findamusicianfrontend's Issues

Create user component in navbar

image

there should not be logic in this component. just prop for everything. we'll do the redirection to profile later you can skip that

Test the auto refresh access token

  • set the JWT access token available for 10 sec
  • login and wait 10 sec
  • go to a page that make a api call
  • watch in the network panel if the /refreshToken route is called automatically

Create group card

Card should always have the same height. If there is too much texts use .... Look for ellipsis. Card should be able to have dynamic width.

useSWR data type

I find weird that the data return from useSWR this :

config: {transitional: {…}, transformRequest: Array(1), transformResponse: Array(1), timeout: 0, adapter: ƒ, …}
data: {nbMusician: 3, nbGroups: 2, nbEvents: 1}
headers: {content-length: '42', content-type: 'application/json; charset=utf-8'}
request: XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
status: 200
statusText: "OK"
[[Prototype]]: Object

it should be only the data from that type :

type data: {
    nbMusician: number;
    nbGroups: number;
    nbEvents: number;
  };

Filter musician request

The request has to have this form :

'http://localhost:8000/musicians?name=Romain&genres=Rock&genres=Jazz&instruments=piano&instruments=guitar&location=Douai'

Use svg in musician component

For instruments component used in musicianBox, use svg instead :

  • Download svg from figma
  • rename them and put them in assets
  • change instruments so that it require svg

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.