- Notifications
You must be signed in to change notification settings - Fork1k
Commite53bc24

Rafael Rodriguez
feat: add tooltip field to workspace app that renders as markdown (#19651)
In this pull request we're adding an optional `tooltip` field. The`tooltip` field is a string field (with markdown support) that will beused to display tooltips on hover over app buttons in a workspacedashboard.Tooltip screenshot<img width="816" height="275" alt="Screenshot 2025-08-29 at 4 11 56 PM"src="https://github.com/user-attachments/assets/52c736a1-f632-465b-89a0-35ca99bd367b"/>Tooltip videohttps://github.com/user-attachments/assets/21806337-accc-4acf-b8c6-450c031d98f1Issue:#18431Related provider PR:coder/terraform-provider-coder#435### Changes- Added migration to add `tooltip` column to `workspace_apps` table- Updated queries to get/set the new `tooltip` column- Updated frontend to render tooltip as markdown (primary tool tip takesprecedence over template tooltip)### Testing- Added storybook test for `Applink` markdown rendering1 parent4cd0ada commite53bc24
File tree
29 files changed
+495
-388
lines changed- cli/testdata
- coderd
- agentapi
- apidoc
- database
- db2sdk
- dbgen
- migrations
- queries
- provisionerdserver
- codersdk
- docs/reference/api
- provisionerd/proto
- provisionersdk/proto
- provisioner/terraform
- site
- e2e
- src
- api
- modules/resources/AppLink
- testHelpers
29 files changed
+495
-388
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
| 208 | + | |
208 | 209 |
| |
209 | 210 |
| |
210 | 211 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
582 | 582 |
| |
583 | 583 |
| |
584 | 584 |
| |
| 585 | + | |
585 | 586 |
| |
586 | 587 |
| |
587 | 588 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
866 | 866 |
| |
867 | 867 |
| |
868 | 868 |
| |
| 869 | + | |
869 | 870 |
| |
870 | 871 |
| |
871 | 872 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)