Skip to content

Commit

Permalink
Grid Editor is now in beta!
Browse files Browse the repository at this point in the history
Added features:
- Relative encoder value change added;
- Up and Down events can be now momentary or toggle;
- Virtual modules to play around;

Quality of life improvements:
- Now reading configuration from connected Grid modules;
- Automatic opening of "grid type" serial ports;
- Refactored $runtime and other stores to improve change detection mechanism;
- Global store and clear UI responses;
- Local store and clear UI responses;
- Changed debug window;

Notes:
- Self update does act weird and is currently under debugging;
- Code signing is not yet fully set up, apple cert somehow corrupts windows cert process;
- Virtual modules can't save configurations yet for later use;
  • Loading branch information
kkerti committed Nov 10, 2020
2 parents 3bf549d + 4b522de commit 7c01655
Show file tree
Hide file tree
Showing 63 changed files with 3,708 additions and 2,729 deletions.
47 changes: 26 additions & 21 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,47 @@ name: Build Nightly Grid Editor

on:
push:
tags:
- 'v*.*.*'
branches:
- nightly

jobs:
build:
if: github.event.base_ref == 'refs/heads/nightly'
if: github.ref == 'refs/heads/nightly'
name: Build Nightly Grid Editor
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-2016, ubuntu-latest]
os: [windows-2016]

steps:
- uses: actions/checkout@v2
with:
ref: ''
submodules: true

- name: Set env
shell: bash
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: See env
run: echo "${{ env.RELEASE_VERSION }}"

- name: Setup NodeJs
uses: actions/setup-node@v1
with:
node-version: '10.16'

- name: create env file
run: |
touch .env
echo EMAIL=${{secrets.EMAIL}} >> .env
echo EMAIL_PASS=${{secrets.EMAIL_PASS}} >> .env
echo UA=${{secrets.UA}} >> .env
- name: Install dependencies
run: npm i
env:
# email stuff
EMAIL: ${{ secrets.EMAIL }}
EMAIL_PASS: ${{secrets.EMAIL_PASS}}
UA: ${{ secrets.UA }}

- name: Build
run: npm run export
env:
env:
# gh repo token
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -52,13 +57,13 @@ jobs:
- name: See directory
run: ls dist/*.*

- name: Release
uses: softprops/action-gh-release@v1
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
tag_name: ${{ env.RELEASE_VERSION }}
name: Nightly ${{ env.RELEASE_VERSION }}
files: dist/*.*
draft: true,
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: nightly
path: dist/*.*

- name: Download Artifacts
uses: actions/download-artifact@v2


2 changes: 1 addition & 1 deletion doc-editor.drawio
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<mxfile modified="2020-10-15T18:38:27.899Z" host="" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/11.1.4 Chrome/76.0.3809.88 Electron/6.0.0 Safari/537.36" etag="cd5Y1X78zYZaCHkke6OQ" version="11.1.4" type="device"><diagram id="6L7tghgnBee7W7i77VSy" name="JSON">7Zxbd9o4EIB/Ded0HzbHkm/4kQBNczakWWi27b4ptgA3wmKNCNBfvzK2AHsEpBtsE86+BHss374ZjWZGchpme7K8icl03OMBZQ1sBMuG2WlgjAxsyZ9EskoljmGnglEcBlmjrWAQ/qTqzEw6DwM6yzUUnDMRTvNCn0cR9UVORuKYL/LNhpzl7zolIwoEA58wKP0aBmKcSpvY3co/0XA0VndGjpcemRDVOHuT2ZgEfLEjMrsNsx1zLtKtybJNWQJPcUnP+7jn6ObBYhqJ15xw//HTson7j+aI/uz9zT79M/vz4fdmepUXwubZC3cZnSRXxMaAChFGo1n2+GKlmMR8HgU0uazRMK8X41DQwZT4ydGFtAIpG4sJk3tIbr7QWISSZ4uFo0jKBE8aZLeVx+hy7/ugDSVpXpRPqIhXsok6wcvAZpZlZuAXWzVhK7vqeEdFJlLmkZnGaHPpLT25kQH8BZgIwHwbuhNAMvOMLAMwQso+84yMkhhhwOiG8SfCDtmbfH2RJzMTMX+mbc54LCURj2TL62HIWEFEMqPzJS4aa6xxEgZBchutKvLKqk8buCxl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25lmk3PfW3rHKXDbMkGr0r3Ki4WvvciUOX4fPJREp4xFZnOsadYFjbJKIq8jDsupewOK8Y1ZIZDDW681iM+YhHhHW30gKpbZs7nvjmtcp+UCFW2XdmZC64rjqc3OgwWvlcfB779NAbqc/VSDyih3qV4+iVFVNGRPiSf5LTg4dex48pETQZPHs8mCerZRyWGP5TLLdGydZ8GmQtHmc0aEWBtOMXCovNYL9wnQ/hcG1gWQ3itzo83ZG50+JHFS4M0rXLJZzSegrMlM4PGzIKcyQ20szQIw230qIZpxaHQpeh+JacLh1suvd950hnmV15vbNSO5F832+7O9+3V0h2t6et99R5J3Reasg96rxsQ28HFTkv83x0apy7TlU4f3xA2tO3q9GpC7OO9x4JWK8Fv2fZU0Xga3WQaLcrbTqWvjPVoRu31k7hwFUkPpeOgrPBPB7KkT37oKMYYCXVu6Ks800bi3W+a8Xdu26ve//l/rF33e3rW/wljz+0+q2e9nBMpSG05LMzLhMe+dTDcARbQcl16/6P7K7Y+ED8BPJv+y4/Wn9Eri5+imgoW0B2ihBSTbupBbeaOi9SqxXyq8RKi4U0axMS7Wy/+zbSEL+hWTJSe3DpFdZ4YQfWFZCtiS1LW3/j2P/HISXEIVatLhfOhiT/ouYq9UTywFom3+U6ogu5MclyZWP9tVjWfS62hNRUq/Y3MyOavFg5vkoqSC4sZKSjwvt0aqZmscipnJrc3f7fofWxnf/eZHb/BQ==</diagram></mxfile>
<mxfile modified="2020-10-27T15:00:59.642Z" host="" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/11.1.4 Chrome/76.0.3809.88 Electron/6.0.0 Safari/537.36" etag="MJkQF0g74T47AAmBhob5" version="11.1.4" type="device"><diagram id="zs7uOZXnXQ7ZXEF25uTQ" name="Page-1">7V1Ld+I4Fv4ts+Cc7kVyJNnyY0kISTOdkAwhXanVHGMMuMtgyphK0r9+JNsytiWIE/wQydSiAsII+77vd6+kjtJbvlwH1npx608dr4PA9KWjXHY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aI7EanMxhL0e4V8EihhOQZ8ivYZBcoFVFAoGGHF2aEOgPnp1xhFCXDRrlArIENZO4iXDsdyvY/a6edErV8htTQiRaB1MXvCXmqnIqdnvvevq3tvA/QjcEi6kPSqMsyiHYKNlZd3Z9thSzjE8Vfg7cY1dq1qQroBDqYyjSFYFLqA0KFpz4He26ySpQ0pbRK2AHBsXGEVMV8EPkoqtIvcRI6Mk0xH3cBCGBez6o85KYIHaIifx+pQneyOUeEB87fd0zJBSz4GcUwTkHpmhpcl3sUfh8Leo8iePazb/e7WQ6SJkYWMWg4GnoMWGG7UTHhMnmbszizg2GYCUrBIJQWalgB1xxqHyKh129b+upUrbwUHb4pilszUsdumtuD/f3H16RPVhv31F8kumYphTXaxp8cQ/W1Qop5AcPvbaicnWCMIcAw7cxmMq3WEu+WmyvhybKy4aqFto0quuoP0SRjCT4NPLYs/dt6QCiArUxi6RRDD4RqquX4KBU8GZs7PfEK2ub33gbFqAvLKjcNQx98TXU0Fmu/3uMC9DNCRCFWTNHk9EFCPZDh+npOVlxrun0IvOnha7Xw+BpMHhezbyn0QWYCZzyt7sRPQT57nFM/u8OyRC4HHW/8WeogVF/eEnXmYP77mj8cEDsYVmx54gpIPle+uosDWaYiVKf0JO3gU+zsZ0ZJo+0uPWnDr3ifw==</diagram></mxfile>
Loading

0 comments on commit 7c01655

Please sign in to comment.