Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

1.3 KB
Raw Blame
// Settings · Groups: every group the connected platforms report, with its on/off switch and route.
import { ChannelList } from '@/components/steps/ChannelList';

import { frames } from '../../frame';
import { platformChannelsApi, scopeSettingsApi, settingsFixtures, settingsPage } from './fixtures';

const page = settingsPage('platforms/groups', <ChannelList isPage />);
const route = '/settings/platforms/groups';
const fixtures = settingsFixtures({ ...scopeSettingsApi, ...platformChannelsApi });

const designFrames = frames([
  {
    name: 'default',
    title: '设置 · 群组 · 全部平台',
    width: 1440,
    height: 900,
    status: 'shipped',
    route,
    fixtures,
    render: page,
  },
  {
    name: 'empty',
    title: '设置 · 群组 · 还没有发现群组',
    width: 1440,
    height: 900,
    status: 'shipped',
    route,
    fixtures: settingsFixtures({
      ...scopeSettingsApi,
      '/api/slack/channels': { ok: true, channels: [] },
      '/api/discord/channels': { ok: true, channels: [] },
      '/api/telegram/chats': { ok: true, channels: [] },
    }),
    render: page,
  },
  {
    name: 'phone',
    title: '设置 · 群组 · 手机',
    width: 390,
    height: 844,
    status: 'shipped',
    route,
    fixtures,
    render: page,
  },
]);

export default designFrames;