Run and control concurrent App Script tasks from HTML sidebar.
The sidebar front-end, and the engine was made with Svelte in Vite.
The project was designed to edit front-end part locally, and you'll be able to play with it in Browser, without loadind to the cloud.
It will work after you install VS Code, and Node JS to your computer. All commands given will work from your computer command line, or the terminal in VS Studio.
You may install the latest version or one of the key branches.
Use command line commands:
cd /path/to/my-project
git clone https://github.com/Max-Makhrov/apps-script-parallels
cd apps-script-parallels
npm install
code .
apps.script.run in the dev environment.cd /path/to/my-project
git clone -b ๐ต https://github.com/Max-Makhrov/apps-script-parallels
cd apps-script-parallels
npm install
code .
Change ๐ต to the branch name = Version
After installation:
npm run dev
Before loading the project to the cloud, you need to run automatic code building. The Svelte will compile all the code the the regular JS, compatible with App Script:
npm run build
Notice the โdistโ folder and the file created after the โbuildโ command run:
dist\ui\index.html
Use clasp to install your code inside Google Sheet's script.
Install (once):npm install -g @google/clasp
Get the version to check is installed:clasp -v
Login:clasp login
Create a project + link it to the current local project:clasp create
Add โ.clasp.jsonโ to โ.gitignoreโ if you use GitHub.
Add the root โ.claspignoreโ file with the text:
**/**
!appsscript.json
!dist/**/**
Build the project:npm run build
Optionally commit to GitHub. Update the remote project:clasp push
Open:clasp open
Launch in the container (Spreadsheet)