Commit 9d40ced
* Show URL on enter link
* tooltip used by link
* Refactor About dialog and update Link activation logic
Refactored the UICatalog About dialog to use a new ShowAboutDialog method with a Dialog, tagline, ASCII art, and a clickable Link to the project URL. Removed GetAboutBoxMessage and made AboutUrl a public constant. Updated Link to trigger Command.Activate on mouse click and moved URL opening logic to OnActivated. OpenUrl now checks for the "DisableRealDriverIO" environment variable. Simplified UseToolTip property and improved tooltip management. Clarified hotkey handling in Link. Removed obsolete About box test from TextFormatterDrawTests.cs.
* Upgrade About box to use Link and gradient box-drawing logo
Replace MessageBox.Query with a custom Dialog containing 3 subviews:
- Tagline label
- GradientArtView: Terminal.Gui logo in box-drawing chars with diagonal color gradient
- Link view with clickable GitHub URL and tooltip
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* tooltip system
* fix UseToolTip case
* refactor with provider
* Code cleanup & review.
Refactored ToolTipExtensions to use a local static extension class for cleaner instance method usage. Updated method signatures, improved XML documentation formatting, and streamlined TooltipManager event registration. Applied minor code style fixes and updated the Link class to use the new tooltip extension pattern.
* Update Terminal.Gui/Views/Link.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* RemoveTooltip case
* MakeVisible multi event
* fix ToolTipExtensions name
* fix ToolTipManager name
* fix tooltip case
* unregister Disposing
* empty tooltip removes tooltip
* link comment
* threadsafe manager
* internal fields for tests
* tooltip tests
* ShowsHidesToolTip with runnable
* ApplicationToolTip
* Improve link handling and UI consistency in scenarios
- Code Cleanup of UI Catalog to fix nullability risks
- Replace Label+URL with Link controls in AnimationScenario and FileDialogExamples; add tooltips for links.
- Refactor Links scenario to use local variables, add API docs link, and show URL in status bar on hover.
- Rename AboutUrl to ABOUT_URL and add tooltip in UICatalogRunnable.
- Apply code style improvements: pattern matching, event handler syntax, and field cleanup.
* more code cleanup.
Update Link text to show 'Terminal.Gui.Views.Link'
Changed Link control text from "Docs" to "Terminal.Gui.Views.Link" for clearer destination indication; URL remains unchanged.
* Enhance Link design mode with tooltip on initialization
Moved and updated IDesignable.EnableForDesign to set Title, Url, and attach a tooltip on Initialized. The tooltip informs users that the Link opens the URL in the default browser.
* Fixed double OpenUrl on mouse.
Remove default left-click activation from Link
Removed MouseBindings.Add for LeftButtonClicked in Link,
so clicking a Link no longer triggers Activate by default.
---------
Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2c24b9c commit 9d40ced
18 files changed
Lines changed: 1235 additions & 247 deletions
File tree
- Examples/UICatalog
- Scenarios
- AnimationScenario
- Terminal.Gui
- App
- Popovers
- Views
- Tests/UnitTestsParallelizable
- Application/Popover
- Text
- Views
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
| |||
Lines changed: 21 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
33 | | - | |
| 30 | + | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
40 | 37 | | |
41 | 38 | | |
42 | 39 | | |
43 | | - | |
| 40 | + | |
44 | 41 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
49 | 45 | | |
50 | | - | |
| 46 | + | |
| 47 | + | |
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
58 | | - | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
74 | | - | |
75 | | - | |
76 | | - | |
| 70 | + | |
77 | 71 | | |
78 | 72 | | |
79 | 73 | | |
| |||
85 | 79 | | |
86 | 80 | | |
87 | 81 | | |
88 | | - | |
89 | | - | |
| 82 | + | |
90 | 83 | | |
91 | 84 | | |
92 | 85 | | |
93 | 86 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
100 | 92 | | |
101 | 93 | | |
102 | 94 | | |
| |||
171 | 163 | | |
172 | 164 | | |
173 | 165 | | |
174 | | - | |
| 166 | + | |
175 | 167 | | |
176 | 168 | | |
177 | 169 | | |
178 | 170 | | |
179 | 171 | | |
180 | 172 | | |
181 | 173 | | |
| 174 | + | |
182 | 175 | | |
183 | 176 | | |
184 | 177 | | |
| |||
198 | 191 | | |
199 | 192 | | |
200 | 193 | | |
201 | | - | |
| 194 | + | |
202 | 195 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 196 | + | |
| 197 | + | |
209 | 198 | | |
210 | 199 | | |
211 | 200 | | |
212 | | - | |
| 201 | + | |
213 | 202 | | |
214 | 203 | | |
215 | 204 | | |
| |||
249 | 238 | | |
250 | 239 | | |
251 | 240 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
| 241 | + | |
257 | 242 | | |
258 | 243 | | |
259 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 10 | | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
18 | 14 | | |
19 | | - | |
20 | 15 | | |
21 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
22 | 19 | | |
23 | 20 | | |
24 | | - | |
| 21 | + | |
25 | 22 | | |
26 | 23 | | |
27 | | - | |
| 24 | + | |
28 | 25 | | |
29 | | - | |
30 | | - | |
| 26 | + | |
| 27 | + | |
31 | 28 | | |
32 | | - | |
33 | | - | |
| 29 | + | |
| 30 | + | |
34 | 31 | | |
35 | 32 | | |
36 | | - | |
| 33 | + | |
37 | 34 | | |
38 | 35 | | |
39 | | - | |
| 36 | + | |
40 | 37 | | |
41 | 38 | | |
42 | | - | |
| 39 | + | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
49 | | - | |
| 46 | + | |
50 | 47 | | |
51 | 48 | | |
52 | | - | |
| 49 | + | |
| 50 | + | |
53 | 51 | | |
54 | 52 | | |
55 | | - | |
| 53 | + | |
| 54 | + | |
56 | 55 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
73 | 82 | | |
74 | 83 | | |
75 | 84 | | |
76 | 85 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 86 | + | |
81 | 87 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
87 | 97 | | |
0 commit comments