Comments (4)
Yup, I think that's a nice idea. It also fixes a bug (two calls to new_filename()
can return the same name).
There's one minor problem: I sometimes want to create a new item; then, while I'm still in the editor, I change my mind and just leave the editor without saving the file. With the old code, no file and no TODO item will be created. With your patch, an "empty" TODO item is created.
I already have some working code to fix this. It introduces a new mechanism of automatically cleaning up empty items. I think I'll push it this evening -- but I first want to do some further testing. :-)
from gitodo.
Cool! Does it kind of mirror some git functionality where if the file is blank nothing is committed?
from gitodo.
Exactly. :-)
from gitodo.
👍
from gitodo.
Related Issues (4)
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 gitodo.