Giter VIP home page Giter VIP logo

listy's People

Contributors

hillstew avatar hlhartley avatar kaohman avatar

Watchers

 avatar

listy's Issues

Refactor

  • Long conditionals/renders - esp. NoteForm
  • Fix Router bugs
  • Remove console logs
  • Finish READ ME
  • Final styling

Edit Note Functionality

  • The note form should pre-populate with all of the information from that note. ie. If that note has 5 list items, those 5 list items should be populated in the form.
  • The user can edit the note exactly as specified above under /new-note.
  • A form should be saved when the user clicks the save button.

Test Redux

  • Actions
  • Reducers
  • Map state/dispatch in all containers

Redux

  • Create actions
  • Create reducers
  • Combine reducers
  • Create Store

NotesSection

  • build out NotesSection functionality - map through notes
  • Hook up to Redux - notes
  • Add testing

New Note Functionality

  • The user can add a title to the note.
  • The user can dynamically add an indefinite number of list items for that note.
  • The user can dynamically remove any or all of those list items (one at a time).
  • The user can delete the note (similar to the archiving in the gif below), and when they delete the note, they should be returned back to the home page.
  • The user can mark list items as completed. When they do so, the completed list item should move to the bottom of the form.
  • A form should be saved when the user clicks the save button.

Backend

  • create repo
  • get /notes - Responds with all of the notes stored on the server.
  • post /notes - Used for creating notes.
  • put /notes/:id - Update note
  • Responds with all of the notes stored on the server.
  • get /notes/:id - Responds with the note that has the id provided via the params.
  • delete /notes/:id - Deletes the note that has the id provided via the params.
  • Responds with a status code and message that the note was successfully deleted.

Extensions

  • Add a button to the card which will change the card’s color. Google Keep also has that functionality.
  • Add drag and drop functionality that allows you to change the order of notes on the page.
  • Remove the save button.
  • Instead, a note should be saved on both keypress and blur of the form.
  • This is similar to how both Google Forms and Google Keep save forms/notes.
  • hint: You won’t want to make a request every time a user presses a key, so you may need to implement a queue based on a timer.

NotesForm

  • build out NotesForm functionality
  • Hook up to Redux - addNote, removeNote, updateNote, setError, setLoading
  • Add Router links/routes - '/new-note', '/notes/:id'
  • Add testing

Note

  • build out Note functionality
  • Hook up to Redux thunks
  • Add Router links/routes - '/notes/:id'
  • Add testing

App

  • Add fetch calls to backend in componentDidMount
  • build out App functionality
  • Hook up to Redux - error, loading, setNotes, setLoading, setError
  • Add Router links/routes - '/', '/new-note', '/notes/:id'
  • Add testing

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.