Title: Icons for templates · Issue #2221 · coder/coder · GitHub
Open Graph Title: Icons for templates · Issue #2221 · coder/coder
X Title: Icons for templates · Issue #2221 · coder/coder
Description: Acceptance Criteria The template admin can configure an icon for their template, as part of the main.tf Would be great if templates could optionally have icons instead of being limited to the first letter. Since there is already icon sup...
Open Graph Description: Acceptance Criteria The template admin can configure an icon for their template, as part of the main.tf Would be great if templates could optionally have icons instead of being limited to the first...
X Description: Acceptance Criteria The template admin can configure an icon for their template, as part of the main.tf Would be great if templates could optionally have icons instead of being limited to the first...
Opengraph URL: https://github.com/coder/coder/issues/2221
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Icons for templates","articleBody":"## Acceptance Criteria\r\n\r\nThe template admin can configure an icon for their template, as part of the `main.tf`\r\n\r\nWould be great if templates could optionally have icons instead of being limited to the first letter. Since there is already icon support for the Coder agent, I suggest using the same format, but for the Coder provider. The Coder provider already has one template-specific option: `url`.\r\n\r\ne.g:\r\n```diff\r\nprovider \"coder\" {\r\n url = \"https://coder.bpmct.net\" # optional: custom access URL for template\r\n+ icon = \"https://avatars.githubusercontent.com/u/2232217?s=200&v=4\" # optional: custom icon for the template\r\n}\r\n```\r\n\r\n\u003cimg width=\"1618\" alt=\"Screen Shot 2022-06-09 at 5 29 10 PM\" src=\"https://user-images.githubusercontent.com/22407953/172955822-08c32402-154d-432c-a0f3-c268891b5f46.png\">\r\n\r\nI think this icon can also go next to the workspace. It provides more information and is more visually appealing than the letter itself. \r\n\r\n\r\n\r\n\u003cdetails>\r\n \u003csummary>Also somewhat interesting, templates could allow users specify a custom workspace icon\u003c/summary>\r\n \r\nIf the workspace list grabbed the icon from its own metadata and not the template's, templates can ask users for a custom icon. I don't know if anyone would use this\r\n\r\n```\r\nvariable \"custom_workspace_icon\" {\r\n default = \"\"\r\n}\r\n\r\nprovider \"coder\" {\r\n icon = var.custom_workspace_icon\r\n}\r\n```\r\n\u003c/details>\r\n\r\n","author":{"url":"https://github.com/bpmct","@type":"Person","name":"bpmct"},"datePublished":"2022-06-09T23:08:45Z","url":"https://github.com/coder/coder/issues/2221"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9c4e09ca-0f6a-fe60-2260-083c76a3d448 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBD0:3F8AB1:28F2C3E:3402EE7:6B0187E2 |
| html-safe-nonce | f54adf50f59641255d6b5885f227567980d5bdbc85d701559ad7532838497812 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkQwOjNGOEFCMToyOEYyQzNFOjM0MDJFRTc6NkIwMTg3RTIiLCJ2aXNpdG9yX2lkIjoiNzgzODMyMjkxMDQ5NzQ0MTc2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c3bdd6d70378d10596fcb8f8a422a8582fdb4524dea2a5de371054a0cd0af5c |
| hovercard-subject-tag | issue:1266755257 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2221/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11d9cd89953751664aed9fb890017c292d283a9c9c71f8ec2142cb0c2cc25e61/coder/coder/issues/2221 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11d9cd89953751664aed9fb890017c292d283a9c9c71f8ec2142cb0c2cc25e61/coder/coder/issues/2221 |
| og:image:alt | Acceptance Criteria The template admin can configure an icon for their template, as part of the main.tf Would be great if templates could optionally have icons instead of being limited to the first... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bpmct |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width