Compare commits

...

4 Commits

Author SHA1 Message Date
cf10557f65 Merge branch 'main' into kurt-remove-clickable-gaps 2024-02-22 21:09:07 +11:00
af97256ef2 flix clipable gabs around code pane 2024-02-22 21:05:17 +11:00
40479d177f Bump ip from 1.1.8 to 1.1.9 (#1471)
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
2024-02-22 04:59:03 -05:00
b88359dee2 Move discord automation into ci.yml (#1479)
* updating ci.yml with discord release automation

* removed line
2024-02-21 17:35:35 -07:00
4 changed files with 94 additions and 90 deletions

View File

@ -1,29 +0,0 @@
name: Announce Release
on:
release:
types: [published]
jobs:
announce_release:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Announce Release
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
RELEASE_VERSION: ${{ github.event.release.tag_name }}
RELEASE_BODY: ${{ github.event.release.body}}
run: python public/announce_release.py

View File

@ -370,3 +370,27 @@ jobs:
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: 'artifact/*/Zoo*' files: 'artifact/*/Zoo*'
announce_release:
needs: [publish-apps-release]
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Announce Release
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
RELEASE_VERSION: ${{ github.event.release.tag_name }}
RELEASE_BODY: ${{ github.event.release.body}}
run: python public/announce_release.py

View File

@ -137,62 +137,71 @@ export function App() {
enableMenu={true} enableMenu={true}
/> />
<ModalContainer /> <ModalContainer />
<Resizable <div className="h-full">
className={ <div className="h-full flex">
'pointer-events-none h-full flex flex-col flex-1 z-10 my-5 ml-5 pr-1 transition-opacity transition-duration-75 ' + <div className="h-full w-5 z-10 pointer-events-auto"></div>
+paneOpacity <div className="flex flex-col">
} <div className="h-5 z-10 pointer-events-auto"></div>
defaultSize={{ <Resizable
width: '550px', className={
height: 'auto', 'pointer-events-none h-full flex flex-col flex-1 z-10 pr-1 transition-opacity transition-duration-75 ' +
}} +paneOpacity
minWidth={200} }
maxWidth={800} defaultSize={{
minHeight={'auto'} width: '550px',
maxHeight={'auto'} height: 'auto',
handleClasses={{ }}
right: minWidth={200}
'hover:bg-chalkboard-10/50 bg-transparent transition-colors duration-75 transition-ease-out delay-100 ' + maxWidth={800}
(buttonDownInStream || onboardingStatus === 'camera' minHeight={'auto'}
? 'pointer-events-none ' maxHeight={'auto'}
: 'pointer-events-auto'), handleClasses={{
}} right:
> 'hover:bg-chalkboard-10/50 bg-transparent transition-colors duration-75 transition-ease-out delay-100 ' +
<div (buttonDownInStream || onboardingStatus === 'camera'
id="code-pane" ? 'pointer-events-none '
className="h-full flex flex-col justify-between pointer-events-none" : 'pointer-events-auto'),
> }}
<CollapsiblePanel >
title="Code" <div
icon={faCode} id="code-pane"
className="open:!mb-2" className="h-full flex flex-col justify-between pointer-events-none"
open={openPanes.includes('code')} >
menu={<CodeMenu />} <CollapsiblePanel
> title="Code"
<TextEditor theme={editorTheme} /> icon={faCode}
</CollapsiblePanel> className="open:!mb-2"
<section className="flex flex-col"> open={openPanes.includes('code')}
<MemoryPanel menu={<CodeMenu />}
theme={editorTheme} >
open={openPanes.includes('variables')} <TextEditor theme={editorTheme} />
title="Variables" </CollapsiblePanel>
icon={faSquareRootVariable} <section className="flex flex-col">
/> <MemoryPanel
<Logs theme={editorTheme}
theme={editorTheme} open={openPanes.includes('variables')}
open={openPanes.includes('logs')} title="Variables"
title="Logs" icon={faSquareRootVariable}
icon={faCodeCommit} />
/> <Logs
<KCLErrors theme={editorTheme}
theme={editorTheme} open={openPanes.includes('logs')}
open={openPanes.includes('kclErrors')} title="Logs"
title="KCL Errors" icon={faCodeCommit}
iconClassNames={{ icon: 'group-open:text-destroy-30' }} />
/> <KCLErrors
</section> theme={editorTheme}
open={openPanes.includes('kclErrors')}
title="KCL Errors"
iconClassNames={{ icon: 'group-open:text-destroy-30' }}
/>
</section>
</div>
</Resizable>
<div className="h-5 z-10 pointer-events-auto"></div>
</div>
</div> </div>
</Resizable> </div>
<Stream className="absolute inset-0 z-0" /> <Stream className="absolute inset-0 z-0" />
{showDebugPanel && ( {showDebugPanel && (
<DebugPanel <DebugPanel

View File

@ -5624,14 +5624,14 @@ internal-slot@^1.0.3, internal-slot@^1.0.4, internal-slot@^1.0.5:
side-channel "^1.0.4" side-channel "^1.0.4"
ip@^1.1.8: ip@^1.1.8:
version "1.1.8" version "1.1.9"
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.8.tgz#ae05948f6b075435ed3307acce04629da8cdbf48" resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.9.tgz#8dfbcc99a754d07f425310b86a99546b1151e396"
integrity sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg== integrity sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==
ip@^2.0.0: ip@^2.0.0:
version "2.0.0" version "2.0.1"
resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.1.tgz#e8f3595d33a3ea66490204234b77636965307105"
integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== integrity sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==
is-arguments@^1.0.4, is-arguments@^1.1.1: is-arguments@^1.0.4, is-arguments@^1.1.1:
version "1.1.1" version "1.1.1"