Skip to content

Commit f48bdc6

Browse files
committed
WIP readme
1 parent d6ea819 commit f48bdc6

File tree

7 files changed

+73
-6
lines changed

7 files changed

+73
-6
lines changed

README.md

Lines changed: 73 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Rapid Time Tracker is an ultra-lightweight time tracker operating on a local text file.
44
- **Fast**: Intelligent fuzzy search enables rapid entry input.
55
- **Logical**: Recorded activities are fully hierarchical, with visualizations capturing time-spending patterns at any scale.
6-
- **Privacy first**: Data is stored in a single local text-editor friendly txt file, which can be managed in any way you'd prefer.
6+
- **Privacy first**: Data is stored in a local editor-friendly txt file, which can be managed in any way you'd prefer.
77

88
---
99

@@ -16,8 +16,8 @@ Rapid Time Tracker is an ultra-lightweight time tracker operating on a local tex
1616
- [Download binary](#download-binary)
1717
- [Building the binary yourself](#building-the-binary-yourself)
1818
- [Development build](#development-build)
19-
- [Usage](#usage)
20-
- [Basics](#basics)
19+
- [Basic Usage](#basic-usage)
20+
- [Advanced Usage](#advanced-usage)
2121

2222
---
2323

@@ -30,6 +30,8 @@ Grab the latest binary from the [releases page](https://github.com/TommyX12/rapi
3030

3131
### Building the binary yourself
3232

33+
If you want to build the library from source:
34+
3335
1. Clone the repository:
3436
```bash
3537
git clone https://github.com/TommyX12/rapid-time-tracker.git
@@ -49,12 +51,77 @@ Grab the latest binary from the [releases page](https://github.com/TommyX12/rapi
4951

5052
### Development build
5153

52-
To run a live-reload debug build:
54+
If you want to run a live-reload debug build for development:
5355

5456
```bash
5557
npm start
5658
```
5759

58-
## Usage
60+
## Basic Usage
61+
62+
To add your first record:
63+
- Open Rapid Time Tracker
64+
- Click `New` to create a new data file (.txt)
65+
- Click `Add` on the top left
66+
- Enter a new action name
67+
- Press `shift + enter` to create the new action, press `enter` again to confirm
68+
- Press `enter`, modify duration (e.g. your preferred unit), press `enter` again to add the record.
69+
70+
### Opening a data file
71+
72+
When using the time tracker for the first time, simply create a new data file or open an existing one from the welcome page. The data file will be a txt file that you can freely edit and move (see the [data file](#the-data-file) section).
73+
74+
### Recording time
75+
76+
In Rapid Time Tracker, an **action** means an activity whose time is being tracked. A **record** means a particular session of this activity.
77+
78+
A record consists of:
79+
- The action (i.e. activity) that is being done
80+
- The time when the action finished
81+
- The duration of the action in this session (can be in any unit you want, most commonly *hours*)
82+
83+
Click the `Add` button to add a new record.
84+
85+
![add](screenshots/add.png)
86+
87+
Use the record dialog to enter the information. See the [fuzzy finder](#the-fuzzy-finder) section for tips and advanced usage.
88+
89+
![add-record](screenshots/add-record.png)
90+
91+
To create a new action for this record, type a name for the action into the input box. You can also type a hierarchical name (e.g. `entertainment: games: minecraft`), separated by `:`. Once you typed the name, **press `shift + enter`** to create a new action with this name, then `enter` again to confirm.
92+
93+
![new-action](screenshots/new-action.png)
94+
95+
Once an action is selected/created, press enter (while the input box is active) to confirm. Change the duration of the record if needed, then press enter again to finally create the record.
96+
97+
#### Note on hierarchy
98+
99+
Records can only be created for **leaf** actions, which are actions with no children. If an action is no longer leaf, a new child called `other` will be automatically created and all existing records on the parent will be moved to it.
100+
101+
### Visualization
102+
103+
#### Timeline
104+
105+
The timeline (on the left side) allows you to view records in chronological order. Use mouse wheel scrolling to move across timeline. You can also click on the records to edit them.
106+
107+
#### Tree
108+
109+
The tree (on the right side) allows you to view the total recorded amount for each action, in a hierarchical structure. Records for child actions, e.g. `entertainment: games: minecraft`, automatically count towards records for ancestors (e.g. `entertainment` and `entertainment: games`).
110+
111+
You can click on the actions to edit them.
112+
113+
![tree](screenshots/tree.png)
114+
115+
To view the total recorded amounts in a given period of time, use the date range toolbar on the top. You can also select the units (e.g. `Per day`, `Per week`, `Percentage`) to display instead of the total.
116+
117+
![date-range](screenshots/date-range.png)
118+
119+
A block-visualization of the record times is shown on the right most side, with vertical height of the blocks corresponding to the total recorded duration for the action. You can hover on the blocks to see the exact amounts (depending on the unit option) for the particular action.
120+
121+
![bar](screenshots/bar.png)
122+
123+
## Advanced Usage
124+
125+
### The fuzzy finder
59126

60-
### Basics
127+
### The data file

screenshots/add-record.png

37.5 KB
Loading

screenshots/add.png

8.39 KB
Loading

screenshots/bar.png

6.99 KB
Loading

screenshots/date-range.png

10.9 KB
Loading

screenshots/new-action.png

7.78 KB
Loading

screenshots/tree.png

4.24 KB
Loading

0 commit comments

Comments
 (0)