Comments (10)
All valid points. One of the largest problems we've had is that there's never been a set of specifications written defining exactly what is expected of a 'Todo' application. This has led to some of the applications being written with basic list/add/remove/edit capabilities, but there's little else provided in terms of guidance other than saying 'study one of the other apps and base it off of that'. The obvious problem there is certain visual specs (mark all checkbox etc.) have been omitted in some implementations whilst not in others.
I agree about us dropping ember's SCSS. Another problem I ran into was trying to decide whether to continue opting for what the official solution was advocating for use (eg. Ember's original todo app that I refactored used SCSS so I assumed developers using it would wish to go for it too), however in hindsight, everything should just be using simple stylesheets instead.
What I see as us needing to do to clean the examples up is:
- Define what is expected of a typical application
- Identify the apps missing any aspects of these specs
- Working on patching the above
Another intention I had had (but never had time for) was creating a basic boilerplate (index/CSS) for a Todo app that could be handed to a framework author or someone working with the framework if they wished to create a 'TodoMVC' compatible example for submission. This is another area where those submitting pull requests for their own frameworks have run into trouble and whilst it may not be directly solved by our cleanup, it's worth keeping in mind.
from todomvc.
I'm fine with helping to write a specification for what a Todo app should do, but an issue is probably not the right location for that. We could add this to a wiki, but it appears that wikis are turned off for this repo.
Once we have that defined somewhere it would be fairly trivial to identify which apps are missing pieces or have extra pieces (I would assume that we could have a requirement that is something like don't use a special css language, or avoid a minimizer/compiler if possible). These would probably be best filed as issues that people could then claim ownership over and submit pull-requests for.
Creating a boilerplate css I think is a really good idea. The boilerplate index I'm not as sure about. Most of the frameworks have a pretty different index page between them, although a starting point probably wouldn't hurt. I would assume that these would belong somewhere in the repo as checked in code.
from todomvc.
For reference, adding the work that's been started on a wiki entry for the specs: https://github.com/addyosmani/todomvc/wiki/Todo-Application-Specification
I think we should probably leave this issue open until we're happy that its complete.
from todomvc.
Just to make sure this issue tracks progress: as part of the standardization process we've landed a boilerplate template for todo apps. This can be found in todo-example\template
. We plan on moving all applications over to use this template for version 1.0.
from todomvc.
I tend to prefer jshint over jslint, but just for reference it would appear someone has put together a version of the Backbone Todo app that passes jslint here: jashkenas/backbone#778. Not sure if we want to aim for jshint support in this project, but just throwing this out there. We probably have enough work to transition apps over to standardization as it is at the moment.
from todomvc.
We've definitely got our hands full doing the conversion at this point. Passing jshint/lint would certainly be nice, but I think is a lower priority at this point. However if someone does the work I would probably land the pull request.
from todomvc.
I am working on updates to the KnockoutJS example to match the template. Is the "Press Enter to save this task" tooltip not something that we should be including with the new template?
from todomvc.
I believe we've decided to no longer include the tooltip.
from todomvc.
@boushley Can you remove the list item "Need to add tooltip to creation text box." from your framework update issues?
from todomvc.
This has been fixed with the App Spec and the new template.
from todomvc.
Related Issues (20)
- Flutter web
- React example links not working
- React Philosophy link doesn't work HOT 1
- NEW Contribution of Event Driven Web Components
- nextjs HOT 2
- Question: Still alive and maintained?
- Invalid markup on home page HOT 1
- bower_components unnecessarily blowing up repository size
- Wrong website for riotjs HOT 3
- Link "ScreenCast - Why I Like TypeScript" doesn't work: ERR_TOO_MANY_REDIRECTS HOT 1
- Could the blurry website on April Fools affect users who have vision issues HOT 1
- Toggle All - Potentually failing test depending on environment
- Elm Visual Bug caused by "Active" filter.
- A new todo demo written in React 18 in here - https://k19wbt.csb.app/
- Update the broken link to Philiosophy behind react HOT 2
- Change footer's todo item filter anchor tag components to button tag
- [New App] Bonsai Framework
- Yew framework TODO request HOT 1
- Upstream Speedometer 3.0 TodoMVC apps
- More developer-friendly Ember builds HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from todomvc.