feat: add support buttons (#20339)

Fixes: https://github.com/coder/coder/issues/16804
This commit is contained in:
Marcin Tojek
2025-10-22 15:35:16 +02:00
committed by GitHub
parent aa689cbb39
commit f2a410566c
16 changed files with 237 additions and 73 deletions
+11
View File
@@ -201,6 +201,17 @@ func TestCustomSupportLinks(t *testing.T) {
Target: "http://second-link-2",
Icon: "bug",
},
{
Name: "First button",
Target: "http://first-button-1",
Icon: "bug",
Location: "navbar",
},
{
Name: "Third link",
Target: "http://third-link-3",
Icon: "star",
},
}
cfg := coderdtest.DeploymentValues(t)
cfg.Support.Links = serpent.Struct[[]codersdk.LinkConfig]{