Skip to content

v0.10.4

Choose a tag to compare

@github-actions github-actions released this 14 Sep 19:49
· 1157 commits to main since this release
  • Tasks can carry a time, and a time means a reminder. Give a task a day and a clock and Brain tells you when it arrives: a row in a new notification centre, and a push on your phone once you have turned that on. The clock is the owner's, so a task set for 13:00 reads 13:00 on every device you open.
  • This Evening is a group of its own at the foot of Today. A task you mean to do after work sits there with a moon in its tail instead of pretending to be due at nine in the morning. An evening still ahead is grouped by its day, and one already past is an ordinary overdue row.
  • A task you finish stays where it was until the next day. It used to leave the list the moment the fold ended, which made it hard to tell whether you had ticked the right row. Now it strikes through, sinks to the foot of its group and reaches the Logbook at the day change, so today's work is in two places at once, its own list and the Logbook's Today.
  • The row you are standing on lost its grey plate and its bold title. A column of tasks is one weight of one size, and the plate read as the row being important rather than as the row being current. A quiet capsule flows between rows instead, and nothing on the line moves when it arrives.
  • Every date and every time in Tasks is Brain's own picker now. The When chip, the deadline chip, the capture row and the popover in a note all open the same control: Today, This Evening, a month grid, Someday, and a Reminder row with two spinners. The browser's own date and time pickers are gone from Tasks on a desktop as well as on a phone, and a test refuses a new one.
  • The popover that promotes a checkbox in a note is that picker with one Inbox row above it. It used to carry a short list of its own, which drifted from the picker's and offered Today twice.
  • Reminders need one setting: your time zone, at Settings → Account. Brain has no clock of its own to read a "13:00" against, so it takes the zone the first browser reports and keeps it. A device in another country does not change it, and you can set it by hand at any time. With no zone set nothing fires, and Settings says that rather than guessing.
  • The bell sits beside the plus in the sidebar, with a count when something is waiting. On a phone it is the first block on Home, and only when there is something to say. Opening a row takes you to the thing it is about and marks it read, on every device at once.
  • A reminder the server slept through still rings if it is less than a day late. Anything older lands in the centre as a missed reminder and does not buzz, because a notification about yesterday afternoon is noise.
  • New mail from a person joins the centre. A thread that lands in one of your inboxes from somebody who wrote to you shows the sender and the subject. A newsletter, a service notification and a letter you sent yourself do not. Reading it in Mail clears the row, and opening the row marks the letter read.
  • Push works on an iPhone or an iPad once Brain is on your Home Screen. Apple gives web push to an installed web app and to nothing else, so Settings says so before it asks for permission. On a Mac, on Android and on a desktop browser it works from an ordinary tab.
  • Settings has a Notifications section, between Connections and Sharing: turn push on for this device, see the devices you have added and remove one, send yourself a test, and switch task reminders and new mail on or off separately. A kind switched off stops the buzz and stays in the centre.
  • A push carries the task's title, or the sender's name and the subject, the address of the thing to open, and the row's own id so two reminders never replace each other. Nothing else leaves the server, and what does is encrypted to the device.
  • The notification centre and the push keys live under /var/lib/brain, not in your notes folder and not in a portable archive. They are state about your notes rather than notes. The push key is made on the machine on first use and exists nowhere else, so a restore without it means every device registers again.
  • BRAIN_REMINDERS=0 turns the whole scan off, reminders and new mail together.
  • The service worker Brain installs does push and nothing else. It caches no pages and serves nothing offline, on purpose: your notes live in a folder of Markdown files and a cached copy of them would be a second answer.
  • Two things I know about. A reply you write yourself into a thread that still holds an older unread letter can still ring, because the gate Brain has is "something in this thread is unread" and the exact one lives in the mail service. And a task on a page you have thrown away does not ring while the page is in the trash: restore it inside the day and the reminder still fires.