flodo 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,7 +23,26 @@ list: add a to-do, check it off, and hide the completed ones when you want to.
23
23
 
24
24
  This fork of [michellemayes/flodo](https://github.com/michellemayes/flodo)
25
25
  adds importance and custom flags, larger resize targets, stable drag reordering,
26
- a minimize button, and npm installation.
26
+ a minimize button, search, optional target dates, and a sliding calendar.
27
+
28
+ ## New in 0.5.0
29
+
30
+ - Keep the same tasks, flags, target dates and local calendar events on several
31
+ computers through a private git repository. See
32
+ [Sync across computers](#sync-across-computers).
33
+
34
+ ## New in 0.4.0
35
+
36
+ - Search task titles, descriptions, and custom flags beside the sorting dropdown.
37
+ - Set optional target dates that appear beside each task's flags and wrap as needed.
38
+ - Open the calendar from the right edge. Browse months, find dates with events
39
+ marked in red, and select a day to see its meetings and appointments below.
40
+ - Add local events on any platform, or read the default Classic Outlook calendar
41
+ on Windows. Outlook entries are read-only; Flodo sends no invitations.
42
+
43
+ <img src="docs/images/calendar.png" alt="Flodo's dark month calendar with red event dates and appointments below" width="340">
44
+
45
+ The calendar image uses example local events.
27
46
 
28
47
  ## What it does
29
48
 
@@ -33,9 +52,12 @@ a minimize button, and npm installation.
33
52
  | Resize | Grab any edge or corner. Resize targets cover eight logical pixels along each edge, with longer corner targets. |
34
53
  | Importance | Click a row's flag to choose no flag, low (blue), medium (amber), or high (red). Flags persist without changing your chosen row order. |
35
54
  | Custom flags | Create named flags with your own colors from Settings or a row's flag menu. Assign multiple flags to a to-do; rename, recolor, or delete them from the flag manager. |
55
+ | Target date | Optionally add a date from a task's flag menu. It appears beside custom flags and wraps when space is tight. Click the date to edit or remove it. |
36
56
  | Minimize | Use the minus button in the title bar to minimize the window. Restore it through your taskbar or Dock. |
37
57
  | Reordering | Drag the row handle to a drop indicator, then release. Rows stay still during the gesture. |
38
58
  | Sorting | Choose Manual order, High importance first, or Low importance first. Unflagged items stay last; switching to Manual order restores your drag order. |
59
+ | Search | Search titles, descriptions, and custom flag names from the right side of the sorting row. Ctrl+F (Cmd+F on macOS) focuses search; Esc clears it. |
60
+ | Calendar | A collapsed tab on the right opens a month calendar. Dates with events appear in red; select a date to see its events and the next seven days below. Add local events or read Classic Outlook on Windows. |
39
61
  | Numbering | Checkbox circles show each item's visible position, starting at 1. Numbers update when you sort, reorder, or hide completed items; clicking still checks an item off. |
40
62
  | Bodies | A to-do is one line, but can carry a collapsible markdown description underneath, including fenced code snippets. <kbd>⌘</kbd><kbd>⏎</kbd> or the chevron opens one. |
41
63
  | Appearance | Eight accent colours, light and dark, plus font, code font, text size, row spacing, and opacity. |
@@ -45,7 +67,8 @@ a minimize button, and npm installation.
45
67
  | Quick capture | Double-tap <kbd>⇧</kbd> anywhere to summon Flodo and write down whatever text you had selected. Off by default; macOS only. |
46
68
  | Undo | Deletes, check-offs, clears and pastes all go back with <kbd>⌘</kbd><kbd>Z</kbd>, as many steps as you like. A delete is also announced and offered back for a few seconds. |
47
69
  | Size | A single binary, around 8 MB. No webview, no background service, no account. |
48
- | Storage | Two JSON files you can read, edit, and sync. |
70
+ | Storage | Plain JSON files you can read, edit, and sync. |
71
+ | Sync | Optional. Keeps several computers in step through a private git repository you own. |
49
72
  | Scripting | A CLI over the same list, and an optional Claude skill for agents. |
50
73
 
51
74
  ## Install
@@ -96,6 +119,78 @@ bottom of the flagged items. Items without an importance flag stay last, and
96
119
  items with the same importance keep their manual order. Switch back to
97
120
  **Manual order** to rearrange items by dragging.
98
121
 
122
+ ### Target dates
123
+
124
+ Use **Add target date...** in a task's flag menu to set an optional date
125
+ (`YYYY-MM-DD`). The date appears on the same line as custom flags, wrapping
126
+ when needed. Click it to edit it; clear the field and save to remove it.
127
+ Overdue dates use the warning color and today's date uses the accent color.
128
+ Target dates stay with tasks and do not create calendar appointments.
129
+ They are included in `flodo list --json` when set.
130
+
131
+ ### Search
132
+
133
+ Search sits on the right of the sorting row and matches task titles,
134
+ descriptions, and custom flag names without changing saved order. Existing
135
+ completed-item visibility still applies. Clear the field to restore the list.
136
+ Dragging is disabled while searching so hidden items keep their positions.
137
+
138
+ ### Calendar
139
+
140
+ Click the calendar tab on the right border to slide open the month calendar.
141
+ It starts collapsed on each launch. Dates with events have red numbers and
142
+ dots; select a date to see its events below, followed by upcoming events in
143
+ the next seven days. Use the arrows to browse months or **Today** to return.
144
+ The calendar follows the app's theme. Add a meeting or appointment with a date,
145
+ start and end time, and optional location. New events use the selected date.
146
+ Local entries can be edited or deleted in the drawer
147
+ and are saved separately in `calendar.json` alongside your task data.
148
+
149
+ On Windows, open Classic Outlook in the same desktop session and use
150
+ **Refresh Outlook** in the drawer. It reads the default calendar, including
151
+ recurring occurrences, all-day events, and events spanning several days for
152
+ the displayed month and its surrounding week. Browsing months refreshes this
153
+ range. The Outlook refresh button and status appear below the event list.
154
+ Cancelled and declined meetings are excluded. Outlook refreshes when the
155
+ drawer first opens and every five minutes while it is open; the status shows
156
+ the refresh time or an error. All times use the local calendar clock. Outlook
157
+ entries are read-only; local Flodo entries are not sent to Outlook and do not
158
+ send invitations. Outlook entries remain in memory for this session, and a
159
+ failed refresh keeps the previous result with a warning. New Outlook, macOS,
160
+ and Linux do not support this connection; local calendar entries work on all
161
+ three platforms.
162
+
163
+ ### Sync across computers
164
+
165
+ Flodo can keep your list the same on every computer you use, through a git
166
+ repository that you own. It runs the `git` already installed on each computer
167
+ and uses the sign-in that git has saved. Flodo stores no password or token.
168
+
169
+ 1. Create an empty private repository, for example a new GitLab project. Any
170
+ git host works.
171
+ 2. On each computer, make sure git can reach it. Set up a credential helper or
172
+ an SSH key, then run `git ls-remote <url>` once in a terminal to sign in.
173
+ 3. On each computer, run `flodo sync setup <url>`, or open Settings, tick
174
+ **Sync through a private git repository** and paste the URL.
175
+
176
+ While the app is open it syncs shortly after launch, about ten seconds after
177
+ you change something, every two minutes, and when you press **Sync now**.
178
+ `flodo sync` runs one sync from a terminal, `flodo sync status` shows the last
179
+ result, and `flodo sync off` stops syncing while keeping the remote.
180
+
181
+ Tasks, custom flags, target dates and local calendar events are synced.
182
+ Settings, the window position, which descriptions are expanded, and Outlook
183
+ entries stay on each computer.
184
+
185
+ When two computers change the same task, Flodo compares both with the last
186
+ version they shared. Changes to different fields are both kept. When both
187
+ changed the same field, the computer that is syncing keeps its own value. A
188
+ task deleted on one computer and edited on the other is kept. Before a sync
189
+ rewrites `todos.json` or `calendar.json`, the previous file is copied to
190
+ `sync/last-local-todos.json` or `sync/last-local-calendar.json` in your data
191
+ directory. Only the most recent copy is kept. Flodo's own clone of the
192
+ repository lives in `sync/repo`.
193
+
99
194
  ### Standalone download
100
195
 
101
196
  Download the latest [release](https://github.com/Geozstevenzz/flodo/releases).
@@ -382,6 +477,10 @@ $ flodo list --count
382
477
  | `flodo done <id>...` | Mark complete |
383
478
  | `flodo undone <id>...` | Mark not complete |
384
479
  | `flodo rm <id>...` | Delete |
480
+ | `flodo sync` | Sync with the git remote now |
481
+ | `flodo sync setup <url>` | Set the remote, turn sync on, and sync |
482
+ | `flodo sync status` | Show the remote and the last result |
483
+ | `flodo sync off` | Stop syncing; the remote is kept |
385
484
 
386
485
  `--json` gives a stable record shape — internal fields never leak into it:
387
486
 
@@ -445,7 +544,11 @@ require it.
445
544
  | Linux | `~/.local/share/flodo/` |
446
545
  | Windows | `%APPDATA%\Flodo\` |
447
546
 
448
- Two plain JSON files. `todos.json` looks like this:
547
+ `todos.json` and `settings.json` hold your tasks and preferences. Local calendar
548
+ entries use `calendar.json`, created when you first save an event. With sync
549
+ on, the `sync` folder holds Flodo's clone of your repository and the backup
550
+ copies described in [Sync across computers](#sync-across-computers).
551
+ `todos.json` looks like this:
449
552
 
450
553
  ```json
451
554
  {
@@ -528,7 +631,9 @@ xvfb-run -a -s "-screen 0 700x900x24" \
528
631
  ```
529
632
 
530
633
  `FLODO_DEMO` seeds a scenario in memory without touching the real list:
531
- `hero`, `showcase`, `editing`, `rendered`, `settings`, `empty`, `long`, `body`.
634
+ `hero`, `calendar`, `search`, `showcase`, `editing`, `rendered`, `settings`,
635
+ `empty`, `long`, `body`. The calendar scenario uses `calendar.json` from the
636
+ isolated screenshot state directory.
532
637
 
533
638
  Every screenshot in this README is produced that way, and
534
639
  `scripts/screenshots.sh` regenerates all of them. It writes a settings file per
Binary file
@@ -22,8 +22,8 @@
22
22
  <key>CFBundleIconFile</key><string>Flodo</string>
23
23
  <key>CFBundlePackageType</key><string>APPL</string>
24
24
  <key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
25
- <key>CFBundleShortVersionString</key><string>0.3.0</string>
26
- <key>CFBundleVersion</key><string>0.3.0</string>
25
+ <key>CFBundleShortVersionString</key><string>0.5.0</string>
26
+ <key>CFBundleVersion</key><string>0.5.0</string>
27
27
  <key>LSMinimumSystemVersion</key><string>11.0</string>
28
28
  <key>NSHighResolutionCapable</key><true/>
29
29
  <key>NSSupportsAutomaticGraphicsSwitching</key><true/>
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flodo",
3
- "version": "0.3.0",
4
- "description": "Floating desktop to-do list with importance flags and local data storage",
3
+ "version": "0.5.0",
4
+ "description": "Floating desktop to-do list with search, target dates, a calendar drawer and git sync",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",