(view: string)
| 24 | export const NumActiveConnColors = 8; |
| 25 | |
| 26 | export function blockViewToIcon(view: string): string { |
| 27 | if (view == "term") { |
| 28 | return "terminal"; |
| 29 | } |
| 30 | if (view == "preview") { |
| 31 | return "file"; |
| 32 | } |
| 33 | if (view == "web") { |
| 34 | return "globe"; |
| 35 | } |
| 36 | if (view == "waveai") { |
| 37 | return "sparkles"; |
| 38 | } |
| 39 | if (view == "help") { |
| 40 | return "circle-question"; |
| 41 | } |
| 42 | if (view == "tips") { |
| 43 | return "lightbulb"; |
| 44 | } |
| 45 | if (view == "processviewer") { |
| 46 | return "microchip"; |
| 47 | } |
| 48 | return "square"; |
| 49 | } |
| 50 | |
| 51 | export function blockViewToName(view: string): string { |
| 52 | if (util.isBlank(view)) { |
no outgoing calls
no test coverage detected