feat(editor): add Run help hint and rename from project list

Show a help icon when Run is disabled, open the relevant instruction section
on click, and position its tooltip below-left. Add Rename project to the home
screen project card menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-07-03 22:45:19 +08:00
parent 10bb7013e6
commit de9190959c
5 changed files with 133 additions and 43 deletions
+19 -1
View File
@@ -23,7 +23,7 @@
padding: 0 8px;
}
.tooltip {
.tooltipTop {
position: fixed;
transform: translate(-50%, calc(-100% - 8px));
padding: 6px 10px;
@@ -39,6 +39,24 @@
white-space: nowrap;
}
.tooltipBottomLeft {
position: fixed;
transform: translate(-100%, 8px);
padding: 6px 10px;
border-radius: var(--radius-xs);
font-size: var(--text-xs);
font-weight: 600;
line-height: 1.35;
color: rgba(255, 255, 255, 0.95);
background: var(--color-tooltip-bg);
border: 1px solid var(--stroke-2);
box-shadow: var(--shadow-tooltip);
pointer-events: none;
z-index: var(--z-tooltip);
max-width: min(320px, calc(100vw - 16px));
white-space: normal;
}
.input {
height: 34px;
width: 100%;