diff --git a/packages/insomnia/src/ui/components/settings/plugins.tsx b/packages/insomnia/src/ui/components/settings/plugins.tsx
index a6dcc1c8006..a182e799e9c 100644
--- a/packages/insomnia/src/ui/components/settings/plugins.tsx
+++ b/packages/insomnia/src/ui/components/settings/plugins.tsx
@@ -1,5 +1,6 @@
import * as path from 'path';
import React, { type FC, useEffect, useState } from 'react';
+import { Button } from 'react-aria-components';
import {
NPM_PACKAGE_BASE,
@@ -17,7 +18,6 @@ import { Link } from '../base/link';
import { HelpTooltip } from '../help-tooltip';
import { Icon } from '../icon';
import { showAlert, showPrompt } from '../modals';
-import { Button } from '../themed-button';
interface State {
plugins: Plugin[];
npmPluginValue: string;
@@ -127,9 +127,7 @@ export const Plugins: FC = () => {
Copy Path
{' '}
@@ -208,25 +206,26 @@ export const Plugins: FC = () => {
/>
-
-
-
+
window.main.openInBrowser(PLUGIN_HUB_BASE)}
+ className="m-1 px-[--padding-md] h-[--line-height-xs] py-1 flex items-center justify-center gap-2 aria-pressed:bg-[--hl-sm] text-[--color-font] hover:bg-[--hl-xs] focus:ring-inset ring-1 ring-transparent focus:ring-[--hl-md] transition-all border border-solid border-[--hl-lg] rounded-[--radius-md]"
+ onPress={() => window.main.openInBrowser(PLUGIN_HUB_BASE)}
>
Browse Plugin Hub
showPrompt({
+ className="m-1 px-[--padding-md] h-[--line-height-xs] py-1 flex items-center justify-center gap-2 aria-pressed:bg-[--hl-sm] text-[--color-font] hover:bg-[--hl-xs] focus:ring-inset ring-1 ring-transparent focus:ring-[--hl-md] transition-all border border-solid border-[--hl-lg] rounded-[--radius-md]"
+ onPress={() => showPrompt({
title: 'New Plugin',
defaultValue: 'demo-example',
placeholder: 'example-name',
@@ -261,19 +260,15 @@ export const Plugins: FC = () => {
})}
>Generate New Plugin
window.shell.showItemInFolder(path.join(process.env['INSOMNIA_DATA_PATH'] || window.app.getPath('userData'), 'plugins'))}
+ className="m-1 px-[--padding-md] h-[--line-height-xs] py-1 flex items-center justify-center gap-2 aria-pressed:bg-[--hl-sm] text-[--color-font] hover:bg-[--hl-xs] focus:ring-inset ring-1 ring-transparent focus:ring-[--hl-md] transition-all border border-solid border-[--hl-lg] rounded-[--radius-md]"
+ onPress={() => window.shell.showItemInFolder(path.join(process.env['INSOMNIA_DATA_PATH'] || window.app.getPath('userData'), 'plugins'))}
>
Reveal Plugins Folder
refreshPlugins()}
+ isDisabled={isRefreshingPlugins}
+ className="m-1 px-[--padding-md] h-[--line-height-xs] py-1 flex items-center justify-center gap-2 aria-pressed:bg-[--hl-sm] text-[--color-font] hover:bg-[--hl-xs] focus:ring-inset ring-1 ring-transparent focus:ring-[--hl-md] transition-all border border-solid border-[--hl-lg] rounded-[--radius-md]"
+ onPress={() => refreshPlugins()}
>
Reload Plugins
{isRefreshingPlugins && }