-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paste grid cell as sibling #6516
Conversation
#14723 Bundle Size — 57.95MiB (+0.02%).c170a70(current) vs 916e8b9 master#14701(baseline) Warning Bundle contains 70 duplicate packages – View duplicate packages Bundle metrics
|
Current #14723 |
Baseline #14701 |
|
---|---|---|
Initial JS | 40.95MiB (+0.03% ) |
40.94MiB |
Initial CSS | 0B |
0B |
Cache Invalidation | 18.46% |
17.91% |
Chunks | 21 |
21 |
Assets | 23 |
23 |
Modules | 4147 (+0.05% ) |
4145 |
Duplicate Modules | 213 |
213 |
Duplicate Code | 27.31% (-0.04% ) |
27.32% |
Packages | 477 |
477 |
Duplicate Packages | 70 |
70 |
Bundle size by type 2 changes
1 regression
1 improvement
Current #14723 |
Baseline #14701 |
|
---|---|---|
JS | 57.94MiB (+0.02% ) |
57.93MiB |
HTML | 7.37KiB (-0.25% ) |
7.39KiB |
Bundle analysis report Branch feat/past-grid-cell Project dashboard
Generated by RelativeCI Documentation Report issue
return null | ||
} | ||
|
||
const targetIsGridCell = MetadataUtils.isGridCell(metadata, selectedView) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a small unrelated (non-blocking) naming nitpick - the element itself should probably be called "grid child" (since a "grid cell" is usually the actual cell and not the element being copied in this case)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true, but we should also update the method name (isGridChild
). We have a bunch of naming cleanup to do, (e.g. tracks
vs dimensions
). If that's ok I'll leave it to clean up in the future, but rename that constant now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Problem:** Copy-pasting a grid cell ends up pasting it inside the selected element instead of next to it. **Fix:** If the copied element is a grid cell and the target is another grid cell, paste next to it. | Before | After | |------------|-------------| | ![Kapture 2024-10-10 at 16 18 06](https://github.com/user-attachments/assets/ff77dac5-c62b-4a60-b4a2-2e98d2fde8b4) | ![Kapture 2024-10-10 at 16 16 49](https://github.com/user-attachments/assets/326e63f1-3796-4592-b7de-e9b8a5a4a471) | Fixes #6515
Problem:
Copy-pasting a grid cell ends up pasting it inside the selected element instead of next to it.
Fix:
If the copied element is a grid cell and the target is another grid cell, paste next to it.
Fixes #6515