Repository navigation
Recipe/main - #40
Merged
Merged
Recipe/main#40
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.