IDE redesign, initial implementation #362

Merged
Irev-Dev merged 17 commits from kurt/update-ide-panel-toolbar-360 into main 2021-06-15 10:05:03 +02:00
5 changed files with 3 additions and 3 deletions
Showing only changes of commit e591eb8ff8 - Show all commits

View File

@@ -3,7 +3,7 @@ import { Menu } from '@headlessui/react'
import { IdeContext } from 'src/pages/DevIdePage/DevIdePage'
import Svg from 'src/components/Svg/Svg'
import { useRender } from 'src/components/IdeToolbarNew/useRender'
import { useRender } from 'src/components/IdeWrapper/useRender'
import {makeStlDownloadHandler, PullTitleFromFirstLine} from './helpers'
Irev-Dev commented 2021-06-14 02:21:24 +02:00 (Migrated from github.com)
Review

image

![image](https://user-images.githubusercontent.com/29681384/121826268-436c6680-ccfa-11eb-9b06-ba4d61270ab5.png)
franknoirot commented 2021-06-14 15:18:09 +02:00 (Migrated from github.com)
Review

Did you do all these snippet images manually? They're very helpful!

Did you do all these snippet images manually? They're very helpful!
Irev-Dev commented 2021-06-15 10:02:26 +02:00 (Migrated from github.com)
Review

:)
Yeah I did.
CContext is super important when trying to look at other's code. You could have figured this out yourself but 20x quicker for me to add a few screen shots.

:) Yeah I did. CContext is super important when trying to look at other's code. You could have figured this out yourself but 20x quicker for me to add a few screen shots.
const EditorMenu = () => {

View File

@@ -1,6 +1,6 @@
import { createContext } from 'react'
import Seo from 'src/components/Seo/Seo'
import IdeToolbar from 'src/components/IdeToolbarNew'
import IdeWrapper from 'src/components/IdeWrapper'
import { Toaster } from '@redwoodjs/web/toast'
import { useIdeState } from 'src/helpers/hooks/useIdeState'
@@ -16,7 +16,7 @@ const DevIdePage = ({ cadPackage }) => {
/>
<Toaster timeout={9000} />
<IdeContext.Provider value={{ state, thunkDispatch }}>
<IdeToolbar cadPackage={cadPackage} />
<IdeWrapper cadPackage={cadPackage} />
</IdeContext.Provider>
</div>
)