flodo 0.3.0 → 0.4.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,20 @@ 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.4.0
29
+
30
+ - Search task titles, descriptions, and custom flags beside the sorting dropdown.
31
+ - Set optional target dates that appear beside each task's flags and wrap as needed.
32
+ - Open the calendar from the right edge. Browse months, find dates with events
33
+ marked in red, and select a day to see its meetings and appointments below.
34
+ - Add local events on any platform, or read the default Classic Outlook calendar
35
+ on Windows. Outlook entries are read-only; Flodo sends no invitations.
36
+
37
+ <img src="docs/images/calendar.png" alt="Flodo's dark month calendar with red event dates and appointments below" width="340">
38
+
39
+ The calendar image uses example local events.
27
40
 
28
41
  ## What it does
29
42
 
@@ -33,9 +46,12 @@ a minimize button, and npm installation.
33
46
  | Resize | Grab any edge or corner. Resize targets cover eight logical pixels along each edge, with longer corner targets. |
34
47
  | 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
48
  | 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. |
49
+ | 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
50
  | Minimize | Use the minus button in the title bar to minimize the window. Restore it through your taskbar or Dock. |
37
51
  | Reordering | Drag the row handle to a drop indicator, then release. Rows stay still during the gesture. |
38
52
  | Sorting | Choose Manual order, High importance first, or Low importance first. Unflagged items stay last; switching to Manual order restores your drag order. |
53
+ | 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. |
54
+ | 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
55
  | 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
56
  | 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
57
  | Appearance | Eight accent colours, light and dark, plus font, code font, text size, row spacing, and opacity. |
@@ -45,7 +61,7 @@ a minimize button, and npm installation.
45
61
  | Quick capture | Double-tap <kbd>⇧</kbd> anywhere to summon Flodo and write down whatever text you had selected. Off by default; macOS only. |
46
62
  | 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
63
  | 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. |
64
+ | Storage | Plain JSON files you can read, edit, and sync. |
49
65
  | Scripting | A CLI over the same list, and an optional Claude skill for agents. |
50
66
 
51
67
  ## Install
@@ -96,6 +112,47 @@ bottom of the flagged items. Items without an importance flag stay last, and
96
112
  items with the same importance keep their manual order. Switch back to
97
113
  **Manual order** to rearrange items by dragging.
98
114
 
115
+ ### Target dates
116
+
117
+ Use **Add target date...** in a task's flag menu to set an optional date
118
+ (`YYYY-MM-DD`). The date appears on the same line as custom flags, wrapping
119
+ when needed. Click it to edit it; clear the field and save to remove it.
120
+ Overdue dates use the warning color and today's date uses the accent color.
121
+ Target dates stay with tasks and do not create calendar appointments.
122
+ They are included in `flodo list --json` when set.
123
+
124
+ ### Search
125
+
126
+ Search sits on the right of the sorting row and matches task titles,
127
+ descriptions, and custom flag names without changing saved order. Existing
128
+ completed-item visibility still applies. Clear the field to restore the list.
129
+ Dragging is disabled while searching so hidden items keep their positions.
130
+
131
+ ### Calendar
132
+
133
+ Click the calendar tab on the right border to slide open the month calendar.
134
+ It starts collapsed on each launch. Dates with events have red numbers and
135
+ dots; select a date to see its events below, followed by upcoming events in
136
+ the next seven days. Use the arrows to browse months or **Today** to return.
137
+ The calendar follows the app's theme. Add a meeting or appointment with a date,
138
+ start and end time, and optional location. New events use the selected date.
139
+ Local entries can be edited or deleted in the drawer
140
+ and are saved separately in `calendar.json` alongside your task data.
141
+
142
+ On Windows, open Classic Outlook in the same desktop session and use
143
+ **Refresh Outlook** in the drawer. It reads the default calendar, including
144
+ recurring occurrences, all-day events, and events spanning several days for
145
+ the displayed month and its surrounding week. Browsing months refreshes this
146
+ range. The Outlook refresh button and status appear below the event list.
147
+ Cancelled and declined meetings are excluded. Outlook refreshes when the
148
+ drawer first opens and every five minutes while it is open; the status shows
149
+ the refresh time or an error. All times use the local calendar clock. Outlook
150
+ entries are read-only; local Flodo entries are not sent to Outlook and do not
151
+ send invitations. Outlook entries remain in memory for this session, and a
152
+ failed refresh keeps the previous result with a warning. New Outlook, macOS,
153
+ and Linux do not support this connection; local calendar entries work on all
154
+ three platforms.
155
+
99
156
  ### Standalone download
100
157
 
101
158
  Download the latest [release](https://github.com/Geozstevenzz/flodo/releases).
@@ -445,7 +502,9 @@ require it.
445
502
  | Linux | `~/.local/share/flodo/` |
446
503
  | Windows | `%APPDATA%\Flodo\` |
447
504
 
448
- Two plain JSON files. `todos.json` looks like this:
505
+ `todos.json` and `settings.json` hold your tasks and preferences. Local calendar
506
+ entries use `calendar.json`, created when you first save an event.
507
+ `todos.json` looks like this:
449
508
 
450
509
  ```json
451
510
  {
@@ -528,7 +587,9 @@ xvfb-run -a -s "-screen 0 700x900x24" \
528
587
  ```
529
588
 
530
589
  `FLODO_DEMO` seeds a scenario in memory without touching the real list:
531
- `hero`, `showcase`, `editing`, `rendered`, `settings`, `empty`, `long`, `body`.
590
+ `hero`, `calendar`, `search`, `showcase`, `editing`, `rendered`, `settings`,
591
+ `empty`, `long`, `body`. The calendar scenario uses `calendar.json` from the
592
+ isolated screenshot state directory.
532
593
 
533
594
  Every screenshot in this README is produced that way, and
534
595
  `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.4.0</string>
26
+ <key>CFBundleVersion</key><string>0.4.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.4.0",
4
+ "description": "Floating desktop to-do list with search, target dates and a calendar drawer",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",