[pull] develop from baserow:develop#244
Merged
Merged
Conversation
* 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>
…in `CoreHTTPRequestServiceForm` (#5113) Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )