Comments (11)
I want to work on this issue. I think there should be a requirement of test cases. and what is the difference between #10 and this issue?
from todoman.
Hello @AnubhaAgrawal, this issue is about the LOCATION property, while #10 is about the CATEGORIES property.
I think there should be a requirement of test cases.
Exactly. For the implementation, here's what needs to happen:
-
Todo
already has alocation
property we can use. -
I think the
LOCATION
property should only be shown in the detailed view of a task that is shown usingtodo show
(seeTodoFormatter.detailed
). -
todo new
needs a--location
flag. In the same step, the--location
flag fortodo edit
can be added. -
The interactive UI needs a new textfield for
LOCATION
Let us know if you have any questions!
from todoman.
but, I think before test cases there is also a need for some other thing. so can you please tell that how I start it.
from todoman.
@AnubhaAgrawal I'm not sure what you mean. The above bullet point list is regarding the implementation (I think that's what you mean?), not the tests.
from todoman.
ok, Thankyou! Now, I got it.
from todoman.
when I print todo --list Anu then why it shows error ??
Traceback (most recent call last):
File "/home/anubha/Desktop/todoman/venv/bin/todo", line 11, in <module>
load_entry_point('todoman', 'console_scripts', 'todo')()
File "/home/anubha/Desktop/todoman/venv/lib/python3.5/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/anubha/Desktop/todoman/venv/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/anubha/Desktop/todoman/venv/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/anubha/Desktop/todoman/venv/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/anubha/Desktop/todoman/venv/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/anubha/Desktop/todoman/todoman/cli.py", line 95, in command_wrap
return command(*a, **kw)
File "/home/anubha/Desktop/todoman/venv/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/anubha/Desktop/todoman/todoman/cli.py", line 194, in new
ui = TodoEditor(todo, ctx.obj['db'].lists(), ctx.obj['formatter'])
File "/home/anubha/Desktop/todoman/todoman/ui.py", line 33, in __init__
self.current_list = todo.list
File "/home/anubha/Desktop/todoman/todoman/model.py", line 283, in list
return self._list
AttributeError: 'FileTodo' object has no attribute '_list'
from todoman.
I create a directory Anu.
from todoman.
Hmm, I don't get that error though. For me it shows: Error: Invalid value for "lists": Anu.
from todoman.
In progress in #163 (I can't assign to non-contributors).
from todoman.
Thanks @AnubhaAgrawal!
from todoman.
Thanks! ππ»
from todoman.
Related Issues (20)
- Docs are filing to build on readthedocs HOT 1
- Docs are filing to build on readthedocs HOT 1
- Docs are filing to build on readthedocs HOT 1
- Docs are filing to build on readthedocs HOT 1
- Navigating tasks with vim keys HOT 6
- todoman 4.3.0 not on pypi HOT 4
- 4.3.0: test_ctrl_c_clears fails HOT 3
- Click repl doesn't show up HOT 2
- categories with diacritics not handled well HOT 5
- Subcommand to get current configuration parameters HOT 1
- Can't run v4.3.2 on Slackware64-15.0 HOT 2
- Please release 4.4.0 at PyPi HOT 2
- Tasks template && time tracking HOT 1
- Flags in config file donβt apply to default commands HOT 1
- crash when creating new todo and reading description from stdin HOT 2
- Show one-line summaries when deleting multiple items
- Remember latest creation
- `todo categories` should show all categories
- Rethink flushing
- Exclude fields in list command HOT 1
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 todoman.