Commit f19b455
committed
refactor(desktop): match tooltip styling, surface configured editor name
- Tooltip now uses the same bg-foreground/text-background/rounded-md/px-3/py-1.5/text-xs
tokens as the project's TooltipContent, so it visually matches the rest of
the app (was a custom border/popover style before).
- Shift-modifier tooltip text now says "Open in Cursor" / "Open in VS Code" /
etc. based on the user's configured defaultEditor setting, resolved via
electronTrpcClient.settings.getDefaultEditor + getAppOption display label.
Falls back to "Open externally" if no editor is configured.1 parent 6d88f92 commit f19b455
File tree
1 file changed
+37
-6
lines changed- apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/TerminalPane/components/LinkHoverTooltip
1 file changed
+37
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
| 4 | + | |
3 | 5 | | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
21 | | - | |
22 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
23 | 37 | | |
24 | | - | |
| 38 | + | |
25 | 39 | | |
26 | 40 | | |
27 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
28 | 59 | | |
29 | 60 | | |
30 | | - | |
| 61 | + | |
31 | 62 | | |
32 | 63 | | |
33 | 64 | | |
34 | | - | |
| 65 | + | |
35 | 66 | | |
36 | 67 | | |
37 | 68 | | |
| |||
0 commit comments