refactor: move plugin content to /view folder

This commit is contained in:
Haileyesus
2026-03-09 12:51:48 +03:00
parent 951db47a91
commit ff45a1cfd7
6 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
import { useState, useEffect } from 'react';
import { authenticatedFetch } from '../../utils/api';
import { authenticatedFetch } from '../../../utils/api';
type Props = {
pluginName: string;

View File

@@ -1,7 +1,7 @@
import { useState } from 'react';
import { Trash2, RefreshCw, GitBranch, Loader2, ServerCrash, ShieldAlert, ExternalLink, BookOpen, Download, BarChart3 } from 'lucide-react';
import { usePlugins } from '../../contexts/PluginsContext';
import type { Plugin } from '../../contexts/PluginsContext';
import { usePlugins } from '../../../contexts/PluginsContext';
import type { Plugin } from '../../../contexts/PluginsContext';
import PluginIcon from './PluginIcon';
const STARTER_PLUGIN_URL = 'https://github.com/cloudcli-ai/cloudcli-plugin-starter';

View File

@@ -1,8 +1,8 @@
import { useEffect, useRef } from 'react';
import { useTheme } from '../../contexts/ThemeContext';
import { authenticatedFetch } from '../../utils/api';
import { usePlugins } from '../../contexts/PluginsContext';
import type { Project, ProjectSession } from '../../types/app';
import { useTheme } from '../../../contexts/ThemeContext';
import { authenticatedFetch } from '../../../utils/api';
import { usePlugins } from '../../../contexts/PluginsContext';
import type { Project, ProjectSession } from '../../../types/app';
type PluginTabContentProps = {
pluginName: string;