Giter Site home page Giter Site logo

mod5-start-frontend's Introduction

//put some padding on the bottom of the photo browse page //search photos function //create push history for create photo

#Tags -Make some seed data -Get JSON up -Add them to the photo- call photo.tags -Add content to Photo card with Tags -Add tags to Photo creation

#Tag search Bar

  • semantic ui container
  • create state
  • create a searchContainer component
  • filter results based on photo.tags

#BUGS - - fixed added logic in user controller username and token are undefined in localStorage - creating a username does not tell you username is already taken

#Styling

  • Do Subheading of like "find and share street art in your local community"

Remove tag feature

refactor

  • Use own props in the map state to props to find the particular photo
  • return it as a prop

find marker by id

  • maps/id if they click on one
  • Render marker based on what they clicked on
  • setup a marker in store
  • if they click on it from the show page add marker to store
  • check assign variable in map to store or to all
  • center map based on marker
  • find a way to clear state after leaving the page

"fixed bug on link in infowindow - it didn't go to the right show page"

Got google directions to work. Turns out...

- Instead of using googlemaps api account use api=1 and redirect to google maps page.  Using the url parameters pass
in lat/lng for destination and origin.  
- When you use connect to map props you need to wrap it in
  withRouter for your routes to work
- Use window.open(....) to have the url open in a new window
- a tag does work - use target= *"_blank"* to get it to pop new window

search by zip code

like/comment on photos

mod5-start-frontend's People

Contributors

joneseyit avatar

Watchers

James Cloos avatar

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.