-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged branch feature/docs-for-timeplans into develop
- Loading branch information
Showing
5 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Time Plans | ||
|
||
Time plans are plans that you make for a particular time period. It is | ||
a committment you make that in a certain period of time, you're going to | ||
accomplish certain things. This is either making progress or finishing | ||
altogether some [inbox tasks](./inbox-tasks.md) or [big plans](./big-plans.md). | ||
|
||
While inbox tasks and big plans as they are capture the totality of the work | ||
that you know of, and even assign due dates or active dates to them, time plans | ||
make an explicit attempt at placing all this work in time, and committing to | ||
it. | ||
|
||
The association between an inbox task or big plan and a time plan, is called | ||
an _activity_. A time plan can be said to be the collection of its activities. | ||
|
||
Time plans are also closely linked with [journals](./journals.md). Whereas | ||
journals are backward looking, time plans are forward looking. | ||
|
||
![Journals](../assets/time-plans-overview.png) | ||
|
||
## Properties | ||
|
||
Time plans are written on a particular _day_ for a particular _period interval_. | ||
The period can be one of: | ||
|
||
* _Daily_: the day's plan | ||
* _Weekly_: the week's plan, as recorded on the particular _day_. | ||
* _Monthly_: the month's plan, as recorded on the particular _day_. | ||
* _Quarterly_: the quarter's plan, as recorded on the particular _day_. | ||
* _Yearly_: a whole year's plan, as recorded on the particular _day_. | ||
|
||
Only one journal can exist for a particular day and period combination. | ||
|
||
Time plans also have a written document attached to them, so you can add | ||
thoughts that don't fit as neatly into the activities format. | ||
|
||
An activity has a _target_, which is either an inbox task or a big plan. | ||
|
||
Activities also have a _kind_, which can be: | ||
|
||
* _Finish_: you plan on finishing this activity during the period. | ||
* _Make Progress_: you plan on making progress during the period. | ||
|
||
Activities also have a _feasability_, which can be: | ||
|
||
* _Must Do_: it is very important that you make the required progress on the | ||
activity during the period. | ||
* _Nice To Have_: if you can make progress, it's good, if not, no worries. | ||
* _Stretch_: very unlikely to make progress. | ||
|
||
Finally activities have a measure of _doneness_ withing the time plan. | ||
This is not something that can be judged at the level of a single activity, | ||
but requires looking at the whole thing. | ||
|
||
* Inbox tasks of a _finish kind_ are considered done if they are in either the | ||
_done_ or _not done_ status, and this occurred during the time plan's period. | ||
* Inbox tasks of a _make progress kind_ are considered done if there is some | ||
modification of the inbox tasks during the time plan's period. | ||
* Big plans of a _finish kind_ are considered done if they are in either the | ||
_done_ or _not done_ status, and this ocurred during the time plan's period. | ||
* Big plans of a _make progress kind_ are considered done if all the inbox tasks | ||
associated with it in the time plan are considered done, or if there are no | ||
such tasks if there is some modification done during the time plan's period. | ||
|
||
## Interactions | ||
|
||
In the web app you can change the properties of the time plan, edit/remove | ||
activities, add activities from various sources. | ||
|
||
There is no CLI support for time plans yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/core/migrations/versions/2024_06_17_21_34_create_index_on_target_and_target_ref_.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
"""Create index on target and target_ref_id for time plans | ||
Revision ID: 94535a7e2a28 | ||
Revises: ea359cf44393 | ||
Create Date: 2024-06-17 21:34:31.876692 | ||
""" | ||
from alembic import op | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = "94535a7e2a28" | ||
down_revision = "ea359cf44393" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
op.execute( | ||
""" | ||
CREATE INDEX ix_time_plan_activity_target_target_ref_id ON time_plan_activity (target, target_ref_id) | ||
""" | ||
) | ||
|
||
|
||
def downgrade() -> None: | ||
pass |