mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-13 22:20:58 +00:00
feat(web): add Page component filter to in-app marketplace
Add Page toggle button with PanelTop icon to the in-app plugin marketplace component filter bar. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
|||||||
Hash,
|
Hash,
|
||||||
Book,
|
Book,
|
||||||
FileText,
|
FileText,
|
||||||
|
PanelTop,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import PluginMarketCardComponent from './plugin-market-card/PluginMarketCardComponent';
|
import PluginMarketCardComponent from './plugin-market-card/PluginMarketCardComponent';
|
||||||
import { PluginMarketCardVO } from './plugin-market-card/PluginMarketCardVO';
|
import { PluginMarketCardVO } from './plugin-market-card/PluginMarketCardVO';
|
||||||
@@ -53,6 +54,7 @@ function MarketPageContent({
|
|||||||
'EventListener',
|
'EventListener',
|
||||||
'KnowledgeEngine',
|
'KnowledgeEngine',
|
||||||
'Parser',
|
'Parser',
|
||||||
|
'Page',
|
||||||
];
|
];
|
||||||
|
|
||||||
const [searchQuery, setSearchQuery] = useState('');
|
const [searchQuery, setSearchQuery] = useState('');
|
||||||
@@ -530,6 +532,14 @@ function MarketPageContent({
|
|||||||
<FileText className="h-4 w-4 mr-1" />
|
<FileText className="h-4 w-4 mr-1" />
|
||||||
{t('plugins.componentName.Parser')}
|
{t('plugins.componentName.Parser')}
|
||||||
</ToggleGroupItem>
|
</ToggleGroupItem>
|
||||||
|
<ToggleGroupItem
|
||||||
|
value="Page"
|
||||||
|
aria-label="Page"
|
||||||
|
className="text-xs sm:text-sm cursor-pointer"
|
||||||
|
>
|
||||||
|
<PanelTop className="h-4 w-4 mr-1" />
|
||||||
|
{t('plugins.componentName.Page')}
|
||||||
|
</ToggleGroupItem>
|
||||||
</ToggleGroup>
|
</ToggleGroup>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user