feat: add gap handlers for flex and grid containers - #792
Draft
SmrutiSawant wants to merge 4 commits into
Draft
Conversation
Contributor
Confidence Score: 4/5The PR is not safe to merge until gap bands handle row-spanning grid items without losing row boundaries. A row-spanning item can merge distinct visual rows during clustering, preventing the corresponding row-gap handle from rendering. Files Needing Attention: frontend/src/components/GapHandler.vue Prompt To Fix All With AI### Issue 1
frontend/src/components/GapHandler.vue:172-179
**Row spans merge gap bands**
When a grid item spans multiple rows, `clusterLines` groups ordinary items from both rows through the spanning box, causing the row-gap handle between those rows to disappear.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Reviews (3): Last reviewed commit: "Merge branch 'develop' into gaps" | Re-trigger Greptile |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #792 +/- ##
========================================
Coverage 66.06% 66.06%
========================================
Files 93 93
Lines 10386 10386
========================================
Hits 6862 6862
Misses 3524 3524 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
|
@mergify update |
Contributor
✅ Branch has been successfully updated |
Contributor
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
SmrutiSawant
marked this pull request as draft
September 7, 2026 10:24
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.
Add on-canvas gap handles
Flex and grid containers could only have
gapchanged from the Layout panel.Padding and margin already have draggable on-canvas handles; this adds the
equivalent for gap.
Demo
Recording.2026-08-31.130737.mp4