Code Monkey home page Code Monkey logo

frontend's People

Contributors

datboitom avatar jvjruiz avatar kimhjona avatar sjaymoon15 avatar worace avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

frontend's Issues

List Component

  • Convert JSON data into a displayable list of 10 items, sorted by distance to the map-center
  • At the bottom of the list, display number of results (ie. 1 - 10 / 500)
  • At the bottom of the list, display pagination controls (< / >)

Desktop View

  • Display entire list component docked to left-side of screen (scrollable, if necessary)
  • Mouse hover on a business/location will highlight the card, changing the background to a darker gray
  • Mouse un-hover from a business/location will deselect it, changing the background back to default color

Mobile View

  • Accessible via LIST link/tab on mobile view

Map Component

  • Implement Mapbox map display
  • Map displays JSON data from API Call, each point is a marker on map
  • Display map controls in upper-right corner (ie. zoom, current location)
  • Selecting a map marker enlarges the marker
  • Panning the map displays a button docked to the bottom of the screen "Redo Search in this Area"

Business/Location Card Component

  • Details to display in card component:
    • Icon of type of business
    • Business Name/Title
    • Street address
    • Type of business
    • Open Now status
    • Distance from searched location

Desktop View

  • Selecting a map marker highlights the business in the list, changing the background to a darker gray
  • Deselecting a map marker changing the background to default

Mobile View

  • Selecting a map marker displays the business card docked to the bottom of the screen
  • Deselecting a map marker hides the business card

List Component (Mobile)

  • Accessible via LIST link/tab on mobile view
  • Displays full-screen list with JSON data received from backend
  • At the bottom of the list, display number of results (ie. 1 - 10 / 500)
  • At the bottom of the list, display pagination controls (< / >)

Fixed Header Component

The header will continue to look/function as it currently exists. It will point us to the static search-page or filter-page modules that pass parameters and values through the URL.

Fixed HTML Headers

  • Search-bar / Search button -> static search module
  • Filter button -> static filter module
  • On mobile, a LIST button will display the list component (fullscreen)

Backend Integration

What endpoints do we need that we are currently missing? Can we identify what data we need returned from the backend API?

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.