Compare commits

...

2 Commits

Author SHA1 Message Date
Domas Lapinskas c8f6dd59d4 add grotfood icon 2025-12-04 12:40:22 +02:00
Domas Lapinskas 19e92853ec allow grotfood sidebar extension 2025-12-04 12:40:22 +02:00
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -142,6 +142,7 @@ export const availableIconsIndex = {
'gf-bar-alignment-center': true,
'gf-glue': true,
'gf-grid': true,
'gf-grotfood': true,
'gf-interpolation-linear': true,
'gf-interpolation-smooth': true,
'gf-interpolation-step-after': true,
@@ -18,6 +18,7 @@ const PERMITTED_EXTENSION_SIDEBAR_PLUGINS = [
// Support both until that migration is complete.
'grafana-grafanadocsplugin-app',
'grafana-pathfinder-app',
'grafana-grotfood-app',
];
export type ExtensionSidebarContextType = {
@@ -19,6 +19,8 @@ function getPluginIcon(pluginId?: string): string {
return 'book';
case 'grafana-investigations-app':
return 'eye';
case 'grafana-grotfood-app':
return 'gf-grotfood';
default:
return 'ai-sparkle';
}
+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
<path fillRule="evenodd" clipRule="evenodd" d="M12.6349 3.03561C12.1959 2.59662 11.615 2.3502 10.995 2.33893C10.9844 1.73129 10.7415 1.14209 10.2971 0.697851C9.84708 0.24787 9.24848 0 8.61159 0C7.9747 0 7.3761 0.247801 6.92625 0.697713C6.47565 1.14811 6.22757 1.74691 6.22757 2.38379C6.22757 2.96566 6.43459 3.51566 6.81428 3.95023L3.95054 6.81455C3.51625 6.43501 2.9659 6.22785 2.38375 6.22785C1.74693 6.22785 1.14819 6.47586 0.697858 6.92625C0.247803 7.37616 0 7.97469 0 8.61157C0 9.24853 0.248011 9.84733 0.698411 10.2977C1.13754 10.7367 1.71838 10.9831 2.33834 10.9943C2.34898 11.602 2.59195 12.1912 3.03619 12.6355C3.48632 13.0855 4.08492 13.3333 4.72167 13.3333H4.72188C5.35856 13.3333 5.95702 13.0855 6.40701 12.6356C6.85762 12.1852 7.10577 11.5864 7.10577 10.9496C7.10577 10.3674 6.8984 9.81712 6.51892 9.38318L9.38279 6.51864C9.81715 6.89819 10.3676 7.10542 10.9497 7.10542C11.5865 7.10542 12.1852 6.85741 12.6355 6.40708C13.0855 5.95724 13.3333 5.35871 13.3333 4.72183C13.3332 4.08487 13.0852 3.48601 12.6349 3.03561ZM11.9023 5.67384C11.6478 5.92835 11.3094 6.06852 10.9496 6.06852C10.5895 6.06852 10.251 5.92828 9.99618 5.67356C9.93763 5.61502 9.88268 5.54797 9.83278 5.47415C9.7461 5.346 9.60668 5.26326 9.45267 5.24853C9.2986 5.23354 9.14612 5.28863 9.03669 5.39805L5.39831 9.03729C5.28882 9.14685 5.234 9.29961 5.24894 9.45375C5.26387 9.60796 5.34695 9.74738 5.47538 9.83385C5.54886 9.88327 5.61369 9.93656 5.67411 9.99698C5.92861 10.2514 6.06879 10.5896 6.06879 10.9494C6.06872 11.3092 5.92848 11.6476 5.67383 11.9022C5.4196 12.1564 5.08152 12.2964 4.72174 12.2964H4.7216C4.36168 12.2964 4.02333 12.1563 3.7691 11.9021C3.41388 11.5469 3.28669 11.0271 3.4371 10.5455C3.49461 10.3615 3.44519 10.1607 3.30888 10.0243C3.21017 9.92564 3.07774 9.87249 2.94226 9.87249C2.89062 9.87249 2.83857 9.88016 2.78777 9.89606C2.65671 9.93698 2.52047 9.95772 2.38271 9.95772C2.023 9.95772 1.68513 9.81802 1.43138 9.56434C1.17687 9.30984 1.03676 8.97142 1.03676 8.61137C1.03676 8.25152 1.17674 7.91338 1.4309 7.65929C1.68548 7.40478 2.02383 7.2646 2.38368 7.2646C2.74374 7.2646 3.0823 7.40485 3.33667 7.65915C3.39542 7.71797 3.45058 7.78523 3.50063 7.85912C3.58731 7.9872 3.72673 8.0698 3.88066 8.08445C4.03473 8.09897 4.18715 8.04429 4.29643 7.93487L7.93482 4.29576C8.04431 4.18634 8.09905 4.03366 8.08426 3.87958C8.06947 3.72551 7.98659 3.58609 7.8583 3.49955C7.78538 3.45034 7.71812 3.39518 7.65902 3.33629C7.40458 3.08185 7.2644 2.7435 7.26447 2.38372C7.26447 2.02381 7.40472 1.68539 7.65943 1.43082C7.9136 1.17666 8.25174 1.03668 8.61173 1.03668C8.97172 1.03668 9.30993 1.17672 9.56417 1.43102C9.91945 1.78624 10.0466 2.30596 9.89616 2.78746C9.83858 2.97153 9.888 3.17226 10.0243 3.30864C10.1606 3.44502 10.3614 3.49444 10.5455 3.43693C10.6765 3.39601 10.8128 3.37527 10.9506 3.37527C11.3103 3.37527 11.6481 3.51497 11.9018 3.76857C12.1563 4.02315 12.2965 4.36164 12.2965 4.72169C12.2964 5.08174 12.1565 5.41982 11.9023 5.67384Z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB