Code Monkey home page Code Monkey logo

looplist's People

Contributors

nsafai avatar

Stargazers

 avatar  avatar

Watchers

 avatar

looplist's Issues

Product Feedback From Demo Day

UX/UI:

  • Delete when text empty before hitting delete key
  • Title should disappear on focus
  • ability to scroll sideways for long todos or hide the left menu
  • Ensure delete button doesn't overlap with any elements on small screens for long lists
  • Show autosave text or show save button on title
  • Up and down arrows toggle
  • As a user, I'd like to hide the left pane, and also would be nice if it had a minimum width for small devices
  • As a user, when I hit the enter key, I want the new task to get created on the next line

Optimizations / Re-factor:

  • Socket connection to save quick edits
  • Ability to load new lists without refreshing
  • SSL

New features:

  • Ability to search my lists
  • List indexing
    • As a user I'd like to be able to re-order tasks
    • Add task in between tasks: As a user, when I hit the enter key, I want the new task to get created on the next line

Feedback

  1. Very professional README.md - Excellent
  2. Love your clean and minimalist design. If I had one criticism it is careful to not be too sparse. Information density is very important for web design.
  3. You can use {timestamps: true} to have mongoose handle createdAt and updatedAt for you automatically.
  4. "checklistId" is more conventionally just => "checklist". But either way :D
  5. Instead of "completed" as a boolean, make it "completedAt" and make it a datetime. Then you have both if it is completed and when in one piece of data.
  6. Careful with "todoItems", this should be => "todos" and be an array of Schema.type.ObjectId.
  7. Same for "OwnerUserId" => "owner" or even just "user" to be clearer.
  8. reminder to gitignore your node_modules
  9. You require bcrypt in your app.js but don't use it. so you can just remove it. Only require things you use. YAGNI
  10. I really like your code. So clean, and you use one-liners the same way I do.
  11. Review and use const, var, and let consistently and correctly. Lots of extra var's around.
  12. Your controller code could be cleaner though, imo, put more on one line.
  13. If you fix your naming of your associated models you can use populate() to clean up your queries in your controllers.
  14. Where are your socket calls?
  15. If you use .sort() make sure to chain it and then finish with a .then() like this: .find().sort().then().catch()

Main things are to clean up your naming of attributes, timestamps, and especially the naming of associated resources. I'd also like to see the sockets but couldn't find. Otherwise looking good.

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.