You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add tooltip support to jetbrains module (#421)
## Description
In this pull request we're updating the JetBrains module to support the
tooltip field added as requested in
coder/coder#19781 (review)
## Type of Change
- [ ] New module
- [ ] Bug fix
- [x] Feature/enhancement
- [ ] Documentation
- [ ] Other
## Module Information
<!-- Delete this section if not applicable -->
**Path:** `registry/coder/modules/jetbrains`
**New version:** `v1.1.0`
**Breaking change:** [ ] Yes [x] No
## Testing & Validation
- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun run fmt`)
- [x] Changes tested locally
## Related Issues
coder/coder#18431
---------
Co-authored-by: Benjamin Peinhardt <61021968+bcpeinhardt@users.noreply.github.com>
Copy file name to clipboardExpand all lines: registry/coder/modules/jetbrains/jetbrains.tftest.hcl
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -129,3 +129,34 @@ run "app_order_when_default_not_empty" {
129
129
error_message="Expected coder_app order to be set to 10"
130
130
}
131
131
}
132
+
133
+
run"tooltip_when_provided" {
134
+
command=plan
135
+
136
+
variables {
137
+
agent_id="foo"
138
+
folder="/home/coder"
139
+
default=["GO"]
140
+
tooltip="You need to [Install Coder Desktop](https://coder.com/docs/user-guides/desktop#install-coder-desktop) to use this button."
141
+
}
142
+
143
+
assert {
144
+
condition=anytrue([forappinvalues(resource.coder_app.jetbrains) :app.tooltip=="You need to [Install Coder Desktop](https://coder.com/docs/user-guides/desktop#install-coder-desktop) to use this button."])
145
+
error_message="Expected coder_app tooltip to be set when provided"
0 commit comments