()
| 64 | private onHubClick?: (hub: TechHubActivity) => void; |
| 65 | |
| 66 | constructor() { |
| 67 | super({ |
| 68 | id: 'tech-hubs', |
| 69 | title: t('panels.techHubs'), |
| 70 | showCount: true, |
| 71 | infoTooltip: t('components.techHubs.infoTooltip', { |
| 72 | highColor: getCSSColor('--semantic-normal'), |
| 73 | elevatedColor: getCSSColor('--semantic-elevated'), |
| 74 | lowColor: getCSSColor('--text-dim'), |
| 75 | }), |
| 76 | }); |
| 77 | } |
| 78 | |
| 79 | public setOnHubClick(handler: (hub: TechHubActivity) => void): void { |
| 80 | this.onHubClick = handler; |
nothing calls this directly
no test coverage detected