Skip to content

Commit

Permalink
Hide unfinished work (#271)
Browse files Browse the repository at this point in the history
* Setup alpha and beta deploys

* Hide unfinished work
  • Loading branch information
SorsOps authored Jun 13, 2024
1 parent 370225c commit 62fb9e6
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 74 deletions.
52 changes: 2 additions & 50 deletions packages/graph-editor/src/editor/layoutController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,6 @@ const layoutDataFactory = (props, ref): LayoutData => {
{
mode: 'vertical',
children: [
{
size: 78,
tabs: [
{
group: 'popout',
id: 'playControls',
title: 'Play Controls',
content: <PlayPanel />,
closable: true,
},
],
},
{
size: 545,
tabs: [
Expand Down Expand Up @@ -223,19 +211,6 @@ const layoutDataFactory = (props, ref): LayoutData => {
],
},

{
size:300,
tabs:[
{
closable: true,
group: 'popout',
id: 'debugger',
title: 'Debugger',
content: <DebugPanel />,
},
]
}


]

Expand All @@ -255,23 +230,7 @@ const layoutDataFactory = (props, ref): LayoutData => {
id: 'input',
title: 'Inputs',
content: <Inputsheet />,
},
{
closable: true,
cached: true,
group: 'popout',
id: 'nodeSettings',
title: 'Node Settings',
content: <NodeSettingsPanel />,
},
{
closable: true,
cached: true,
group: 'popout',
id: 'logs',
title: 'Logs',
content: <LogsPanel />,
},
}
],
},
{
Expand All @@ -284,14 +243,7 @@ const layoutDataFactory = (props, ref): LayoutData => {
id: 'outputs',
title: 'Outputs',
content: <OutputSheet />,
},
{
closable: true,
group: 'popout',
id: 'graphSettings',
title: 'Graph Settings',
content: <GraphPanel />,
},
}

],
},
Expand Down
13 changes: 7 additions & 6 deletions packages/ui/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@

import { Metadata } from 'next'
import type { Viewport } from 'next'
import StitchesProvider from './registry.tsx';
import 'sanitize.css';
import '@/styles/styles.scss';
import 'sanitize.css/assets.css';
import 'sanitize.css/forms.css';
import 'sanitize.css/system-ui.css'
import 'sanitize.css/ui-monospace.css';
import 'sanitize.css/typography.css';
import 'sanitize.css/assets.css';
import 'sanitize.css/ui-monospace.css';
import { Metadata } from 'next'
import StitchesProvider from './registry.tsx';
import type { Viewport } from 'next'

import '@/styles/styles.scss';


export const viewport: Viewport = {
Expand Down
File renamed without changes.
6 changes: 2 additions & 4 deletions packages/ui/src/components/next/layout/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Box, Stack, Text } from '@tokens-studio/ui';
import { GlobalState } from '@/mobx/index.tsx';
import { observer } from 'mobx-react-lite';
import React, { useEffect } from 'react';
import { GlobalState } from '@/mobx/index.tsx';
import { Box, Stack, Text } from '@tokens-studio/ui';
import { Rail } from '../../rail.tsx'

const PageLayout = observer(
({
Expand All @@ -21,7 +20,6 @@ const PageLayout = observer(
return (
<Stack css={{ height: '100%', width: '100%'}}>
<Box>
<Rail />
</Box>
<Box css={{ flex: '1' }}>
{children}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
'use client';

import '@/styles/styles.scss';
import '@tokens-studio/graph-editor/index.css';
import '../../styles/styles.scss';

import { Box } from '@tokens-studio/ui';
import { useDispatch } from '@/hooks/index.ts';
import { useSelector } from 'react-redux';
import React, { useCallback, useEffect } from 'react';
import { EditorTab } from '@/components/editor/index.tsx';
import { GraphService } from '@/api/index.ts';
import { ImperativeEditorRef } from '@tokens-studio/graph-editor';
import { JoyrideTooltip } from '@/components/joyride/tooltip.tsx';
import { SerializedGraph } from '@tokens-studio/graph-engine';
import { observer } from 'mobx-react-lite';
import {
showJourneySelector,
} from '@/redux/selectors/index.ts';
import Joyride, { CallBackProps, STATUS } from 'react-joyride';
import { useDispatch } from '@/hooks/index.ts';
import { useErrorToast } from '@/hooks/useToast.tsx';
import { useJourney } from '@/components/journeys/basic.tsx';
import { JoyrideTooltip } from '@/components/joyride/tooltip.tsx';
import { EditorTab } from '@/components/editor/index.tsx';
import globalState, { GlobalState } from '@/mobx/index.tsx';
import { observer } from 'mobx-react-lite';
import { useRouter } from 'next/router.js';
import { GraphService } from '@/api/index.ts';
import { useQuery } from '@tanstack/react-query';
import { useErrorToast } from '@/hooks/useToast.tsx';
import { ImperativeEditorRef } from '@tokens-studio/graph-editor';
import { SerializedGraph } from '@tokens-studio/graph-engine';
import { useRouter } from 'next/router.js';
import { useSelector } from 'react-redux';
import Joyride, { CallBackProps, STATUS } from 'react-joyride';
import React, { useCallback, useEffect } from 'react';
import globalState, { GlobalState } from '@/mobx/index.tsx';

const Wrapper = observer(({ theme }: { theme: GlobalState['ui']['theme'] }) => {
const dispatch = useDispatch();
Expand Down

0 comments on commit 62fb9e6

Please sign in to comment.