Skip to content

Feat/extension rewrite - #8

Merged
oskardotglobal merged 12 commits into
mainfrom
feat/extension-rewrite
Oct 28, 2026
Merged

oskardotglobal merged 12 commits into
mainfrom
feat/extension-rewrite

Conversation

@Nullum-Idea

@Nullum-Idea Nullum-Idea commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Rewrite of the firefox (+ chrome) extension to only use a single worker for communication and improve UX as well as speed by computing recurring events locally.

Nullum and others added 12 commits October 27, 2026 11:00
…e bridge

The extension no longer paints buttons onto the website. It is now a
background worker that answers a versioned postMessage protocol, plus one
settings page:
- multiple Krabbe instances, multiple CalDAV accounts
- a global all-day default with per-calendar overrides
- opaque calendar ids, and replies rebuilt field by field, so only
  {start, end} of busy time ever leaves the building
- builds for Firefox and Chrome (MV3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rs busy times

- useCalendarBridge is replaced by useExtensionBridge: a handshake plus
  request/response over protocol v1, with zod checking every reply
- new "Remove calendar conflicts" modal: calendars come pre-checked from the
  extension defaults, and the confirm button removes the clashing times
- "Calendar settings" button opens the extension's settings
- no extension? A polite nudge toward the GitHub page instead of a dead button
- en/de strings, plus docs for the two-browser life

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two quick clicks both read the same settings, and the second save quietly
undid the first. Caught red-handed by the Chromium e2e run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r shows up instead

The handshake threw before saying hello on non-secure origins (e.g. http://<ip>),
so the site swore the extension wasn't installed while it was waving right at it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o clunk like the website's

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…shed it

Main polished the in-extension picker (panel apartment, receipts table,
install fallback). This branch already moved that UI into the website's
CalendarConflicts, so the old picker files, useCalendarBridge and their
test stay deleted, along with main's now-orphaned i18n keys. What survives
the eviction: the release workflow, the README rename, and the install link
now pointing at the release instead of the repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ion lives

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ies it off the board instead

The REPORT no longer asks for <c:expand>, so the server just hands over the
raw objects. ical.ts groups VEVENTs by UID, runs the RRULE on DTSTART's wall
clock via ical.js, adds RDATEs, drops EXDATEs, swaps in overrides and keeps
what overlaps the requested range. stats.events still counts instances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SxVQ2MSq48iCNkHFvFGypj
…ecurring meetings, nextcloud can finally take a nap

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SxVQ2MSq48iCNkHFvFGypj
…ys where to download them

The build now emits both targets, so the release workflow packages and
uploads krabbe-chrome.zip alongside krabbe.xpi. Release notes cover both
browsers and are passed via --notes-file (the old '\n' was literal).
The extension README documents installing the prebuilt builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oskardotglobal
oskardotglobal merged commit e8e5c4b into main Oct 28, 2026
3 checks passed
@oskardotglobal
oskardotglobal deleted the feat/extension-rewrite branch October 28, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants