Skip to content

Recipe/main - #40

Merged
MisterPapaye merged 4 commits into
mainfrom
recipe/main
Sep 14, 2026
Merged

MisterPapaye merged 4 commits into
mainfrom
recipe/main

Conversation

@MisterPapaye

Copy link
Copy Markdown
Member

No description provided.

MisterPapaye and others added 4 commits September 14, 2026 20:17
index.html had no og:* or twitter:* tags at all, so links shared to
Discord/Slack/iMessage/etc. unfurled with nothing but a bare title.
One static set of tags for the whole site (no per-route/per-org
variants — the app is a plain client-rendered SPA with no dynamic
server layer today, so per-context tags would need real
infrastructure work out of scope here).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…rite)

New CalendarAccessPanel.vue in the Agenda sidebar: toggle which shared
calendars are overlaid (persisted per-org in localStorage), a search
picker to request access to a colleague's agenda or proactively share
your own, and a pending-requests section (incoming/outgoing, in both
directions) with accept/decline — colocated with calendar management
rather than left to the generic notification feed.

New useCalendarAccess.ts composable owns the grants list and merges
occurrences from every visible shared calendar (tagged with a
per-calendar color) without touching useAgenda.ts's own "my events"
state — which loses its dead viewingUserId/setViewingUser plumbing
(never called, leftover from the removed "Équipes" cascade) now that
multi-calendar overlay replaces the single-target "view as" mechanism
it was built for.

EventPanel.vue gains a "Créer dans" picker (create on a WRITE-access
colleague's calendar instead of your own) and an "Ajouté par" badge
when viewing an event created by a delegate. EventChip.vue falls back
to a shared calendar's color when the event has no color of its own.

useNotification.ts's click handler only special-cased CUSTOM's
data.route; added a default case so the new CALENDAR_ACCESS_* types
(and the pre-existing EVENT_* ones, previously dead ends) navigate
too. NotificationType here was also out of sync with the backend enum.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… userbar

Agenda's month/week/day view now persists via the same Keycloak
attribute mechanism as showUsersBar (useSettingsItem), instead of
always resetting to month on load. Nothing is written until the user
explicitly picks a view — useSettingsItem previously always seeded
and persisted its defaultValue on first read, which would have baked
in whichever device's default (week on desktop, day on mobile) the
user happened to open Agenda on first, permanently overriding the
platform-based default for every other device. defaultValue ===
undefined now means "no default to persist", left as an explicit
opt-in for this exact case.

WeekGrid.vue: a horizontal-dominant wheel gesture (trackpad shift or
horizontal scroll) now pages a week at a time, so week view can be
scrolled through the month instead of only using the prev/next
buttons.

Agenda's route added to OrgLayout.vue's USERSBAR_AUTOHIDE_ROUTES — the
online-members bar has no place in a calendar view, same treatment as
Tasks/Files.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The horizontal-scroll navigation added for week view jumped a full
7-day block per gesture, reusing goNext/goPrev — not what was asked:
scrolling on x should move between individual days. WeekGrid.vue no
longer snaps its 7-day window to the Monday-Sunday calendar week
(startOfWindow replaces startOfWeek); it's now a rolling window
starting at cursorDate, and the wheel handler shifts cursorDate by
one day per threshold crossing (smaller threshold/cooldown than
before, tuned for a continuous day-by-day feel rather than discrete
week pages). The prev/next buttons are unchanged — they still page by
a full 7-day block, distinct from the scroll gesture.
AgendaView.vue's periodLabel and computeRangeISO for week mode follow
the same rolling window instead of Monday-aligning via startOfWeek
(still used, unchanged, for month view's grid padding).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@MisterPapaye
MisterPapaye merged commit d1efc86 into main Sep 14, 2026
1 check passed
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.

1 participant