flodo 0.2.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
@@ -22,7 +22,21 @@ Flodo is a frameless panel that floats above your other windows. It holds one
22
22
  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
- adds importance flags, larger resize targets, stable drag reordering, and npm installation.
25
+ adds importance and custom flags, larger resize targets, stable drag reordering,
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.
26
40
 
27
41
  ## What it does
28
42
 
@@ -31,7 +45,14 @@ adds importance flags, larger resize targets, stable drag reordering, and npm in
31
45
  | Window | Frameless and always-on-top. Drag it by the title bar or anywhere that isn't a control; unpin it when it's in the way. |
32
46
  | Resize | Grab any edge or corner. Resize targets cover eight logical pixels along each edge, with longer corner targets. |
33
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. |
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. |
50
+ | Minimize | Use the minus button in the title bar to minimize the window. Restore it through your taskbar or Dock. |
34
51
  | Reordering | Drag the row handle to a drop indicator, then release. Rows stay still during the gesture. |
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. |
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. |
35
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. |
36
57
  | Appearance | Eight accent colours, light and dark, plus font, code font, text size, row spacing, and opacity. |
37
58
  | Keyboard | The composer keeps focus after <kbd>Enter</kbd>, so several to-dos can be added without using the mouse. <kbd>↓</kbd> walks into the list, <kbd>Space</kbd> checks off, and typing anywhere goes to the composer. Every shortcut is listed in the settings sheet, and the one for whatever the pointer is on appears in the title bar. |
@@ -40,7 +61,7 @@ adds importance flags, larger resize targets, stable drag reordering, and npm in
40
61
  | Quick capture | Double-tap <kbd>⇧</kbd> anywhere to summon Flodo and write down whatever text you had selected. Off by default; macOS only. |
41
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. |
42
63
  | Size | A single binary, around 8 MB. No webview, no background service, no account. |
43
- | Storage | Two JSON files you can read, edit, and sync. |
64
+ | Storage | Plain JSON files you can read, edit, and sync. |
44
65
  | Scripting | A CLI over the same list, and an optional Claude skill for agents. |
45
66
 
46
67
  ## Install
@@ -54,7 +75,10 @@ npm install -g flodo
54
75
  flodo
55
76
  ```
56
77
 
57
- For a project-local install, use `npm install flodo`, then `npx flodo`.
78
+ The package is published at [npmjs.com/package/flodo](https://www.npmjs.com/package/flodo).
79
+ To update, quit Flodo, run `npm install -g flodo@latest`, then launch `flodo` again.
80
+ Check the installed version with `flodo --version`.
81
+ For a project-local install, use `npm install flodo`, then launch with `npx flodo`.
58
82
  Supports Windows x64, Linux x64 with glibc, and macOS Intel/Apple Silicon.
59
83
  The package includes the compiled applications, so installing needs no Rust
60
84
  toolchain or install scripts. Linux requires a desktop session and the usual
@@ -72,6 +96,63 @@ that environment variable set when launching the fork.
72
96
  Quit the old Flodo before launching the fork so two open copies cannot overwrite
73
97
  each other's changes. See **Your data** below for the macOS and Linux locations.
74
98
 
99
+ ### Custom flags
100
+
101
+ Open a to-do's flag menu and choose **Manage custom flags**, or open the same
102
+ manager from Settings. Give each flag a name and color, then select flags in
103
+ a to-do's flag menu. A to-do can have several custom flags as well as an
104
+ importance level. Assigned flags appear below its title.
105
+
106
+ Renaming or recoloring a flag updates it on every assigned to-do. Deleting a
107
+ flag removes its assignments without deleting any to-dos. Custom flags are
108
+ saved in the same `todos.json` file as the list.
109
+
110
+ Use the importance sort control to put high importance items at the top or
111
+ bottom of the flagged items. Items without an importance flag stay last, and
112
+ items with the same importance keep their manual order. Switch back to
113
+ **Manual order** to rearrange items by dragging.
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
+
75
156
  ### Standalone download
76
157
 
77
158
  Download the latest [release](https://github.com/Geozstevenzz/flodo/releases).
@@ -421,7 +502,9 @@ require it.
421
502
  | Linux | `~/.local/share/flodo/` |
422
503
  | Windows | `%APPDATA%\Flodo\` |
423
504
 
424
- 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:
425
508
 
426
509
  ```json
427
510
  {
@@ -504,7 +587,9 @@ xvfb-run -a -s "-screen 0 700x900x24" \
504
587
  ```
505
588
 
506
589
  `FLODO_DEMO` seeds a scenario in memory without touching the real list:
507
- `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.
508
593
 
509
594
  Every screenshot in this README is produced that way, and
510
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.2.0</string>
26
- <key>CFBundleVersion</key><string>0.2.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.2.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",