Coder Social home page Coder Social logo

Update jQuery Example about todomvc HOT 5 CLOSED

tastejs avatar tastejs commented on May 3, 2024
Update jQuery Example

from todomvc.

Comments (5)

boushley avatar boushley commented on May 3, 2024

@sindresorhus Do you think you can take this? And probably add the markup and styles for it to the template? I have a set of styles that were already part of the backbone example that I'm using in my updated version of the backbone implementation.

from todomvc.

sindresorhus avatar sindresorhus commented on May 3, 2024

Are we sure we want that tooltip?

I think the tooltip is just an annoyance. I comes up every single time you type a todo. Also, it's pretty obvious IMO that you need to press enter to add the todo, but even if not, it should only show on the first todo ever, and then it could just as easily be placed as text together with the other instruction at the bottom.

tl;dr Don't think we need the tooltip.

@addyosmani

from todomvc.

addyosmani avatar addyosmani commented on May 3, 2024

So..my thoughts on the tooltip are as follows: I think it adds value, but

  • It wasn't until I actually dug into implementations that I realized there even was a tooltip in some of the Todo apps (which didn't appear to display the tooltip consistently). This could be down to how it was integrated into the workflow, but we could live without it.
  • There is some validity in saying it could annoy people if it shows up whenever they start adding a new todo.

@boushley do you think it should stay in?

from todomvc.

boushley avatar boushley commented on May 3, 2024

So I don't really care all that much. I just assumed that since some of them had it they all should. After going through all of them yesterday, it does appear that the implementations that do have it are in the minority. Since we already have a listener on that box to watch for the enter key press I don't think we're really adding too much value by watching every key press and showing the tooltip.

Since @sindresorhus thinks we should avoid them and @addyosmani and I are both neutral we should probably remove them. I'll update the requirements wiki. And when I get a chance I'll fix all the issues that relate to this.

from todomvc.

sindresorhus avatar sindresorhus commented on May 3, 2024

😃

from todomvc.

Related Issues (20)

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.