mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add support buttons (#20339)
Fixes: https://github.com/coder/coder/issues/16804
This commit is contained in:
@@ -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]{
|
||||
|
||||
Reference in New Issue
Block a user