mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* Add Labs › Upcoming meetings in menu bar
The macOS status menu lists the next calendar meetings while the lab is on:
up to five meetings from the same filtered EventKit read the meeting
reminders already make, each its local start-end time and title with "Now · "
while in progress, and a Join row for a recognized call link that opens it
and never starts a recording. A meeting without a link is informational.
The reminder poll publishes its meeting list into a bounded snapshot
(calendar_menu) and the status item only formats it on the main thread, on
the same 500 ms tick as the meeting state; with the lab off the menu and the
controller are unchanged. Off by default, macOS only, in the Meetings Labs
group, with the labs catalog card, gate, hex settings key, translations, and
site/src/labs.json.
* Share the menu's local clock with the meeting query time
* Return objc2 Bool from the status menu validator's early exit
* Fix the calendar menu's read gate, titling side effect, and copy
The menu asked the controller to read EventKit whenever the lab was on,
even with no calendar connected, and a menu-only read overwrote the
titling/reminder list, so detected calls were named from the calendar
with reminders off. The read now needs the lab and a connected calendar,
and only feeds the titling list while reminders are active; the menu
snapshot owns the menu-only read. Turning reminders back on forces one
fresh read instead of waiting out the minute.
Menu click now goes through the reminder's ControllerCommand::JoinMeeting
so it opens the link and marks the occurrence answered, and the rows carry
the meeting rather than only its URL. Rows starting on a later local day
read "Tomorrow" or their short weekday, from iso_local's date part. The
Upcoming strings move to the menu translation table, with Now · {},
Tomorrow, and short weekdays translated.
Clearing an empty snapshot takes no write lock, and refresh_upcoming no
longer holds the links RefCell borrow across AppKit calls. The summary
copy no longer claims a Join item or that no recording starts at all.
* Make the menu's join suppress that occurrence's reminder
The menu reused the reminder capsule's Join command, whose answered()
only clears the reminder on screen. Joining from the menu before the lead
time still let the reminder pop, and joining while it showed forgot it
without withdrawing the capsule.
Add ControllerCommand::JoinFromMenu and ReminderScheduler::joined_elsewhere:
it records the occurrence as reminded so it never pops, and returns the
occurrence when its reminder is showing so the controller sends
ReminderWithdrawn. The reminder capsule's Join path is unchanged. Menus
open the link and still never record.
Also inject the date in the row tests so they pass in any time zone, force
the menu's first read when the lab comes on, read the lab atomic first in
section(), and name the watcher tests for what they cover.
|
||
| .. | ||
| shout | ||
| App.tsx | ||
| base.ts | ||
| dev-notes.ts | ||
| Download.tsx | ||
| footer-signature.svg | ||
| glow.ts | ||
| labs.json | ||
| labs.ts | ||
| main.tsx | ||
| platform.ts | ||
| prerender.tsx | ||
| release.ts | ||
| Root.tsx | ||
| Shout.tsx | ||
| styles.css | ||
| vite-env.d.ts | ||