Include activeGroupByWidth in crossSectionDraggingOffset so the drag
placeholder and target indicator account for the group-by column width.
Prevent default on mousedown to stop browser text selection during drag.
* feat: add pin/freeze columns for grid view
Allow users to freeze up to 4 columns on the left side of the grid view
by dragging a handle at the divider between frozen and scrollable sections.
Frozen columns stay visible while scrolling horizontally.
- Add `frozen_column_count` nullable field to GridView model (null = 1)
- Register in GridViewType (allowed_fields, serializer, export/import)
- Update leftFields/rightFields computed to split by frozen count
- Add GridViewFreezeHandle component with drag-to-snap interaction
- Enable per-field width handles on frozen section
- Support cross-section field dragging (reorder across freeze boundary)
- Hide freeze handle in read-only/public/template views
- Disable frozen columns when group-bys are active
* fix: multi-cell selection offset with frozen columns
The selection used section-relative field indices in GridViewRow while
the store held absolute indices, causing selections to render on the
wrong columns when frozen columns were active.
* fix: update test snapshots and minor cleanup for freeze columns
Update Vitest snapshots to include the conditional GridViewFieldDragging
component comment. Fix justfile update-snapshots recipe for Vitest.
Minor template formatting in GridViewFreezeHandle.
* fix: address review feedback for freeze columns
- Filter hidden fields in leftFields/checkCanFitFrozenColumns so
frozen_column_count refers to visible fields only
- Filter hidden fields in GridViewFreezeHandle sortedFields/boundaries
so hidden fields don't affect drag snapping or max count
- Add null guard for closest('.grid-view') in freeze handle drag
- Remove unused tooltip i18n key from en.json
- Fix double border at freeze boundary by removing border-right on
last column and placeholder in the frozen (left) section
- Add frozen_column_count to test assertions for serialized grid views
* fix: redesign freeze handle with improved drag UX
Replace the blue dot with a solid pill grip that follows the cursor,
make the drag line follow the mouse freely with a snap preview line
at the nearest column boundary, and add hover hint tooltip. Disable
hover visuals during multi-cell selection.
* address feedback
* address feedback v2
* address copilot feedback
* Changed `grid-view__freeze-handle-grip` transition time
* Revert last child change
* Change line break comment
* fix: address feedback v3
---------
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>