Repository navigation
Recipe/main - #41
Merged
Merged
Recipe/main#41
Conversation
Deux sections distinctes (Local/Auto-hébergé vs API Cloud) au lieu d'une grille unique mélangeant WebGPU/Passerelle/Custom avec OpenAI/Gemini/Mistral. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Uses ConfirmDelete.vue (now with optional title/message overrides) instead of a native confirm(), consistent with the rest of the app.
Moves it out of the horizontally-scrollable filter pill row so it stays visible instead of scrolling away with member/task filters, and adjusts alignment for the mobile stacked layout.
The previous approach intercepted wheel events and jumped cursorDate by a day at a time, re-rendering the whole 7-day grid on every step — inherently choppy, not the fluid scroll asked for. WeekGrid.vue now renders a rolling buffer of consecutive day columns (±45 days around cursorDate initially, growing by 30-day chunks as the user approaches either edge, capped at ±120 days) inside a single native-scrolling element (time-grid-body, overflow: auto on both axes) — no JS drives the motion at all, it's plain browser momentum scroll. The day-name header and all-day row mirror body's scrollLeft (they have overflow: hidden, just enough to accept a programmatic scrollLeft) so all three stay aligned; the hour-label gutter and the two header gutters use position: sticky so they stay pinned during horizontal scroll while still scrolling vertically with the body. Prepending days on left-edge extension compensates scrollLeft in the same tick so already-visible content never jumps. cursorDate itself is only ever changed by explicit navigation (prev/next/today) — WeekGrid recenters and rescrolls when it changes, but scrolling itself never touches it, so there's no feedback loop and no refetching while scrolling. AgendaView.vue's computeRangeISO fetches ±120 days up front for week mode (matching WeekGrid's max buffer) so extending the buffer while scrolling never needs new data. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Archived tasks are now sorted by archive date (most recent first) and grouped under day headers ("Aujourd'hui", "Hier", or the full date), instead of one flat list.
Adds a Date/Dossier toggle to the archived tasks panel. Folder mode groups tasks by their space, which matters for the cross-space "archived/me" view; the single-space panel just shows one group since it already scopes to one space.
The previous "folder" sort grouped by space, which was wrong — every task in the space-scoped panel is already in the same space, so it collapsed to one group. Switch to grouping by task.todoList and fetch the org/space's actual folders so they're available for the create/drag-drop UI coming next.
Lets users create a folder (backed by the existing TodoList model, scoped to the current space) directly from the archived tasks panel. Drag-and-drop assignment comes next.
Archived task cards are now draggable; dropping one onto a folder chip (or the "Sans dossier" chip to unassign) moves it via the existing todoListId update path. Cards show their assigned folder inline.
App.vue's root element is `h-[100dvh] overflow-hidden` for the whole app, so no route can ever get a document-level scrollbar — the page itself is physically incapable of scrolling. AdminPanel.vue used min-h-screen expecting normal page scroll, so any content taller than the viewport was just silently clipped, not scrollable. Switched it to the pattern this app's shell actually requires: h-full flex column, nav shrink-0, and <main> as its own flex-1 min-h-0 overflow-y-auto region so the users/orgs quota views scroll internally. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… user card SpaceBar's <ul> had no overflow-y-auto, so once there are enough workspace icons to exceed the viewport height they just overflowed past the rail's bottom edge instead of scrolling - visually running into/behind UserCard.vue, which floats absolutely positioned at bottom-left over that same rail. ThreadsBar.vue already solves this exact problem: UserCard tracks its own height into the shared userCardHeight ref (ResizeObserver in UserCard.vue) and scrollable bars reserve that as paddingBottom so their last item never ends up under the floating card. SpaceBar just hadn't adopted that pattern yet - applied it here (plus overflow-y-auto on the loading-skeleton list for consistency). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
MiniCalendar shows a range "band" (rounded at the ends, flat between) for the currently visible week in week view instead of a plain selected-day dot, and tracks live as the week view scrolls: WeekGrid emits a debounced 'visible-range-change' (settle-based, never touches cursorDate/refetching) that AgendaView mirrors into both the header period label and MiniCalendar's new highlightStart/highlightEnd props. WeekGrid.vue and DayGrid.vue: creating an event by dragging to select a duration, and resizing/moving an existing event by dragging its handles, were mousedown/mousemove/mouseup-only — these don't fire during a touch drag, so neither worked on mobile at all. Resize/move handles now use Pointer Events (pointerdown/pointermove/pointerup, mouse behaves identically through the same path) with touch-action: none and a larger hit target under `@media (pointer: coarse)` — safe to enable touch there since they're small dedicated targets, unlike the empty grid background, which needs to remain scrollable. Dragging to select a range on empty grid space is disabled on mobile instead (would fight the grid's native scroll) in favor of a plain tap that creates a 30-min default event, resized afterward via the handles. Fixed a bubbling bug this surfaced: an EventChip's un-stopped click was reaching the parent day-column/all-day-cell's own click-to-create handler, so opening an event would *also* create a new one right under it — pre-existing on the all-day row (any device), newly relevant now that WeekGrid/DayGrid's day columns listen for click too. AgendaView.vue's onGridCreate opens the full EventPanel directly on mobile instead of the small anchored EventQuickCreate popover, whose fixed 300px width and edge-clamped positioning don't work well on a narrow viewport — EventPanel is already a full-width slide-in there. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…d's z-index Divider <hr> lines were disappearing: <ul> is a height-bound flex-col (h-full) with overflow-y-auto, but none of its children had shrink-0, so once content exceeded the available height the flex algorithm shrank every child to try to fit before any real overflow occurred. The icon buttons have real glyph content resisting collapse, but the near-empty <hr> (just h-0.5) has almost no min-content floor, so it got squeezed toward zero height first. Added shrink-0 to the dividers and to every icon wrapper (RouterLinks, the draggable spaces list) so the list genuinely overflows and scrolls instead of silently squishing its thinnest children. Icons rendering above UserCard: SpaceBarBTN's unread badge (z-20) and hover tooltip (z-50) are positioned descendants with an explicit z-index, while UserCard had none (z-index: auto). Neither SpaceBar's <nav> nor OrgLayout's root div creates its own stacking context (position: relative alone doesn't, without an explicit z-index too), so those z-index values compete directly against UserCard in the same context - and explicit z-index always paints above auto, regardless of DOM order. Gave UserCard z-30, above the unread badge but below modal-ish overlays (z-40 backdrop, z-50 fullscreen views/tooltips). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The Home nav link forced showView=0, which hides the router-view content on small screens. But OrgLayout excludes ThreadsBar entirely for the OrgHome route (no list to fall back to), so on mobile this showed a blank screen. Switch to showView=1 so Home's content actually displays.
Clicking a session (or "Nouveau chat") in the Synco AI history list only called loadSession()/newSession(), never touching the showView query param. On mobile the router-view (the actual conversation) stayed hidden behind the session list since showView was still 0 from the Synco AI nav link. Push showView=1 alongside the session change so the conversation actually opens.
…Calendar The previous per-day background tint (is-in-range/-start/-middle/-end classes) was too subtle to notice and, worse, visually split into two disconnected blocks whenever the 7-day window crossed a Monday boundary — which is the common case now that WeekGrid's window isn't calendar-week-aligned (a rolling window starting at any weekday). Replaced it with real grid-positioned overlay elements: MiniCalendar's day grid is CSS Grid, so a highlighted week is drawn as 1 or 2 boxes (2 only when the window spans two grid rows) placed via grid-row / grid-column: span, each rendering as one continuous bordered rectangle instead of per-cell tinting. Day buttons keep z-index:1 so their text and today/selected styling stay legible on top of the box's z-index:0 fill+border. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
overflow-x: hidden was only set on body, not html — on mobile Safari/ Chrome the root scroller can end up being <html>, which then scrolls horizontally past body's clipping the moment any descendant anywhere in a message list is even slightly wider than the viewport. Added the same rule to html as a page-level safety net. The likeliest actual offender: the sent-file attachment chip in ChatMessage.vue/ThreadMessage.vue used max-w-sm (384px, wider than most phone viewports) with no explicit min-width:0, relying entirely on an implicit flexbox quirk (overflow:hidden giving it an automatic minimum size of 0) to shrink on narrow screens. Capped it at max-w-full below the sm breakpoint (still max-w-sm on wider layouts) and made the min-w-0 explicit instead of implicit, same fix applied to the composer's pre-send file-preview chip in ChatView.vue/ ThreadView.vue (smaller max-w-50 chip, lower risk but same pattern). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Previous fix targeted the file chip itself, which the user reports didn't change anything. Re-examined the full ancestor chain: the row holding the avatar + content column (ChatMessage.vue/ThreadMessage.vue, "z-20 flex justify-start items-start gap-3") is a flex item of the outer flex-column message container but had no explicit width or min-width — it was relying entirely on cross-axis stretch, which can still be pushed wider than the container by content that can't shrink (the classic flex min-width:auto gotcha, here one level up from where it was patched last time). Added w-full (explicit 100% instead of implicit stretch) and min-w-0 so it can't be forced wider than its parent regardless of what's inside — files, long names, or anything else in that column. Not able to run the app in this sandbox (no browser) to confirm visually — if this still doesn't resolve it, the next step is a screenshot or the actual computed width of the overflowing element via devtools, since the current fixes are based on static CSS analysis, not a live repro. 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.