Skip to content
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

Open grid template row/col inspector menu with right click on title #6573

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Oct 21, 2024

Problem:

It should be possible to open the dropdown/context menu for grid template rows/cols in the inspector by right-clicking the item's title.

Fix:

Add an invisible context menu in the title component and trigger it conditionally by right clicking the title itself.
This solution works better than conditionally opening the same dropdown menu as the three dots button because it will correctly position it.

Kapture.2024-10-21.at.20.26.26.mp4

Fixes #6572

Copy link
Contributor

github-actions bot commented Oct 21, 2024

Try me

Copy link

relativeci bot commented Oct 21, 2024

#14896 Bundle Size — 57.97MiB (~+0.01%).

a21a685(current) vs 916e8b9 master#14893(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#14896
     Baseline
#14893
Regression  Initial JS 40.96MiB(~+0.01%) 40.96MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 17.99% 17.88%
No change  Chunks 20 20
No change  Assets 22 22
No change  Modules 4152 4152
No change  Duplicate Modules 213 213
No change  Duplicate Code 27.34% 27.34%
No change  Packages 477 477
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#14896
     Baseline
#14893
Regression  JS 57.97MiB (~+0.01%) 57.96MiB
Improvement  HTML 7.37KiB (-0.25%) 7.39KiB

Bundle analysis reportBranch feat/template-item-menu-titleProject dashboard


Generated by RelativeCIDocumentationReport issue

@ruggi ruggi merged commit 2849b28 into master Oct 22, 2024
15 checks passed
@ruggi ruggi deleted the feat/template-item-menu-title branch October 22, 2024 12:45
liady pushed a commit that referenced this pull request Dec 13, 2024
…6573)

**Problem:**

It should be possible to open the dropdown/context menu for grid
template rows/cols in the inspector by right-clicking the item's title.

**Fix:**

Add an invisible context menu in the title component and trigger it
conditionally by right clicking the title itself.
This solution works better than conditionally opening the same dropdown
menu as the three dots button because it will correctly position it.



https://github.com/user-attachments/assets/2c25fc94-b039-4423-9a3f-0c6e0f71b562



Fixes #6572
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open grid template context menu right clicking the title
3 participants