Skip to content

Commit

Permalink
Modified on Sat Apr 20 12:34:37 WIB 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
goFrendiAsgard committed Apr 20, 2024
1 parent e734775 commit 14d883c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "zrb-noto"
version = "0.0.5"
version = "0.0.6"
description = "Personal todo and logging management"
authors = ["Go Frendi Gunawan <[email protected]>"]
license = "AGPL-3.0-or-later"
Expand Down
1 change: 1 addition & 0 deletions src/zrb_noto/_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
from datetime import datetime

from zrb.helper.string.conversion import to_boolean

_HOME_DIR = os.path.expanduser("~")
Expand Down
8 changes: 2 additions & 6 deletions src/zrb_noto/todo/archive.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
from zrb import StrInput, Task, python_task, runner
from zrb.helper.task import show_lines

from .._config import IS_AUTO_SYNC, TODO_ABS_FILE_PATH, DONE_ABS_FILE_PATH
from .._config import DONE_ABS_FILE_PATH, IS_AUTO_SYNC, TODO_ABS_FILE_PATH
from ..log._helper import get_pretty_log_lines
from ..sync import create_sync_noto_task
from ._group import noto_todo_group
from ._helper import (
get_pretty_todo_item_lines,
get_todo_items,
save_items,
)
from ._helper import get_pretty_todo_item_lines, get_todo_items, save_items

new_description_input = StrInput(
name="description",
Expand Down
10 changes: 7 additions & 3 deletions src/zrb_noto/todo/edit.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from zrb import Task, python_task, runner
from zrb import StrInput, Task, python_task, runner
from zrb.helper.accessories.color import colored
from zrb.helper.task import show_lines

from .._config import IS_AUTO_SYNC
from ..log._helper import append_log_item, get_pretty_log_lines
from ..log._helper import get_pretty_log_lines
from ..sync import create_sync_noto_task
from ._group import noto_todo_group
from ._helper import (
Expand All @@ -18,11 +17,16 @@
date_input,
description_input,
keyval_input,
priority_input,
project_input,
task_input,
)

priority_input = StrInput(
name="priority",
prompt="Priority",
default="",
)


@python_task(
name="edit_item",
Expand Down
2 changes: 1 addition & 1 deletion src/zrb_noto/todo/kanban/kanban.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from ..._config import IS_AUTO_SYNC
from ..._helper import get_screen_width
from ...sync import sync_noto, create_sync_noto_task
from ...sync import create_sync_noto_task, sync_noto
from .._group import noto_todo_group
from .._helper import get_todo_items
from ._helper import get_kanban_lines
Expand Down

0 comments on commit 14d883c

Please sign in to comment.