Compare commits

...

50 Commits

Author SHA1 Message Date
dependabot[bot]
4e1fa8c6bb Bump multer from 1.4.5-lts.1 to 2.0.2
Bumps [multer](https://github.com/expressjs/multer) from 1.4.5-lts.1 to 2.0.2.
- [Release notes](https://github.com/expressjs/multer/releases)
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/expressjs/multer/compare/v1.4.5-lts.1...v2.0.2)

---
updated-dependencies:
- dependency-name: multer
  dependency-version: 2.0.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 19:01:42 +00:00
Kevin Thomas
8595a3f155 Change version to 0.7.0 2025-08-12 20:07:13 -04:00
Kevin Thomas
9f376ae56f Fix comments in json file 2025-08-12 19:56:33 -04:00
Kevin Thomas
cba9cd6e85 Upgrade vue to 2.7.16 2025-08-12 19:42:46 -04:00
Kevin Thomas
7b080e0163 Bump node to 20 and fix some vulnerabilities 2025-08-12 19:38:41 -04:00
Isaac Johnson
0618f9e8d6 Kubernetes Manifest install 2025-08-12 19:38:05 -04:00
Kay Thomas
1c3f09fcb8 Merge pull request #63 from kaythomas0/v0.6.13
v0.6.13
2023-12-11 15:36:03 -05:00
Kevin Thomas
98419b6248 Bump to v0.6.13 2023-12-03 19:33:57 -05:00
Kay Thomas
2d2f1810d1 Merge pull request #62 from kaythomas0/dependabot/npm_and_yarn/axios-1.6.0
Bump axios from 0.21.4 to 1.6.0
2023-12-03 19:24:40 -05:00
Kay Thomas
c9fcf06503 Merge pull request #61 from kaythomas0/dependabot/npm_and_yarn/babel/traverse-7.23.2
Bump @babel/traverse from 7.18.2 to 7.23.2
2023-12-03 19:19:26 -05:00
dependabot[bot]
53c05dfe56 Bump axios from 0.21.4 to 1.6.0
Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.4...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 16:37:21 +00:00
dependabot[bot]
2dc54c7347 Bump @babel/traverse from 7.18.2 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 03:02:56 +00:00
Kay Thomas
bd73809ad9 Merge pull request #60 from kaythomas0/v0.6.12
v0.6.12
2023-07-25 03:22:19 +01:00
Kevin Thomas
3d7c3545ea Bump to v0.6.12 2023-07-19 09:58:18 -07:00
Kay Thomas
02c5fd9660 Merge pull request #59 from kaythomas0/dependabot/npm_and_yarn/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4
2023-07-19 17:57:13 +01:00
dependabot[bot]
d98b23ed40 Bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 05:08:43 +00:00
Kay Thomas
d57ea01750 Merge pull request #58 from kaythomas0/dev
Update README.md
2023-04-17 01:42:51 -07:00
Kay Thomas
3cc060fdae Update README.md 2023-04-17 01:42:32 -07:00
Kay Thomas
2f21025d20 Merge pull request #57 from kaythomas0/v0.6.11
v0.6.11
2023-04-17 01:40:29 -07:00
Kay Thomas
bdbbdee48d Upgrade node to 16 2023-04-16 23:36:35 -07:00
Kay Thomas
f442d486a3 Merge pull request #56 from kaythomas0/v0.6.10
v0.6.10
2023-03-16 15:43:46 -07:00
Kevin Thomas
ef3eb1a70a Bump to v0.6.10 2023-03-16 13:41:21 -07:00
Kay Thomas
2bb67a9a22 Merge pull request #55 from kaythomas0/dependabot/npm_and_yarn/webpack-5.76.1
Bump webpack from 5.72.1 to 5.76.1
2023-03-16 13:39:47 -07:00
dependabot[bot]
af2384b790 Bump webpack from 5.72.1 to 5.76.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.1 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.1...v5.76.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 01:24:57 +00:00
Kay Thomas
d83639b5c6 Merge pull request #54 from kaythomas0/v0.6.9
v0.6.9
2023-02-15 19:44:29 -08:00
Kevin Thomas
5d3a6fb912 Bump to v0.6.9 2023-02-15 16:56:11 -08:00
Kay Thomas
722e0600f1 Merge pull request #53 from kaythomas0/dependabot/npm_and_yarn/sideway/formula-3.0.1
Bump @sideway/formula from 3.0.0 to 3.0.1
2023-02-15 16:54:17 -08:00
dependabot[bot]
cd65c0b714 Bump @sideway/formula from 3.0.0 to 3.0.1
Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases)
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@sideway/formula"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 04:23:55 +00:00
Kay Thomas
d73afdb68c Merge pull request #51 from kaythomas0/v0.6.8
v0.6.8
2023-01-09 12:07:01 -08:00
Kevin Thomas
e72503e91e Bump to v0.6.8 2023-01-09 11:26:07 -08:00
Kay Thomas
294a4e4dec Merge pull request #50 from kaythomas0/dependabot/npm_and_yarn/json5-1.0.2
Bump json5 from 1.0.1 to 1.0.2
2023-01-09 11:24:33 -08:00
dependabot[bot]
21fda5ce04 Bump json5 from 1.0.1 to 1.0.2
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-08 08:05:24 +00:00
Kay Thomas
17301b5b31 Merge pull request #49 from kaythomas0/dev
Update dependabot.yml
2022-11-19 15:58:28 -08:00
Kay Thomas
923f5bb52e Update dependabot.yml 2022-11-19 15:57:32 -08:00
Kay Thomas
0cac4f2d5a Merge pull request #48 from kaythomas0/v0.6.7
v0.6.7
2022-11-17 18:00:01 -08:00
Kay Thomas
5b99b8cfc2 Upgrade Vue CLI 2022-11-17 01:38:35 -08:00
Kay Thomas
1ae403171e Merge pull request #46 from kaythomas0/dev
Disable version updates for npm dependencies
2022-11-10 10:32:29 -08:00
Kevin Thomas
c329f4f70a Disable version updates for npm dependencies 2022-11-10 10:31:43 -08:00
Kay Thomas
f1654d39ca Merge pull request #40 from kaythomas0/v0.6.6
v0.6.6
2022-11-10 10:24:29 -08:00
Kevin Thomas
a698934823 Fix loader-utils vulnerability 2022-11-10 09:27:29 -08:00
Kevin Thomas
0ec92bad85 Add dependabot.yml 2022-11-10 09:23:14 -08:00
Kay Thomas
0bb814e763 Merge pull request #37 from kaythomas0/v0.6.5
v0.6.5
2022-09-23 11:22:41 -07:00
Kay Thomas
621576db14 Bump vuetify from 2.6.6 to 2.6.10
Bumps [vuetify](https://github.com/vuetifyjs/vuetify/tree/HEAD/packages/vuetify) from 2.6.6 to 2.6.10.
- [Release notes](https://github.com/vuetifyjs/vuetify/releases)
- [Commits](https://github.com/vuetifyjs/vuetify/commits/v2.6.10/packages/vuetify)

---
updated-dependencies:
- dependency-name: vuetify
  dependency-type: direct:production
...
2022-09-21 22:58:38 -07:00
Kay Thomas
80969ca029 Merge pull request #35 from kaythomas0/v0.6.4
v0.6.4
2022-09-12 22:29:59 -07:00
Kevin Thomas
26fc54054f Fix bug that causes editing a sample to discard unsaved work 2022-09-11 21:17:45 -07:00
Kay Thomas
8a1fc99fb5 Merge pull request #34 from kaythomas0/v0.6.3
v0.6.3
2022-09-11 17:38:08 -07:00
Kevin Thomas
e6cc5b36c5 Fix typo 2022-09-11 15:11:17 -07:00
Kevin Thomas
6c4c24c166 Fix unwanted display of unsaved work dialog 2022-09-06 02:36:36 -07:00
Kevin Thomas
9466ed692b Use strict sameSite cookies 2022-09-06 02:36:19 -07:00
Kevin Thomas
5ace3d9996 Update package*.json 2022-09-06 02:35:54 -07:00
11 changed files with 16347 additions and 4040 deletions

8
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
# Disable version updates for npm dependencies
open-pull-requests-limit: 0

View File

@@ -1,8 +1,8 @@
FROM node:14
FROM node:20
LABEL maintainer="kaythomas@pm.me"
WORKDIR /var/noisedash
COPY package*.json ./
RUN npm install
RUN npm install --force
COPY . .
ENV NODE_ENV production
RUN npm run build

View File

@@ -23,6 +23,9 @@ Requires docker and docker-compose
* Download the provided [docker-compose.yml file](https://github.com/kaythomas0/noisedash/blob/main/docker-compose.yml)
* In the same directory as the docker-compose file, created a folder called `config`, and inside it, put the provided [config file](https://github.com/kaythomas0/noisedash/blob/main/config/default.json)
* `maxSampleSize` is in bytes - 10GB by default
* Keep `tls` as `false` if using an external web server like nginx
* `production.json` exists in the source code and is left empty intentionally for the reason outlined here: https://github.com/node-config/node-config/wiki/Strict-Mode#node_env-value-of-node_env-did-not-match-any-deployment-config-file-names=
* Edit the config file to your preference
* Bring the container up:
@@ -34,9 +37,26 @@ docker-compose up -d
(Raspberry Pi compatible images are available, see armv7 images on [Docker Hub](https://hub.docker.com/repository/docker/noisedash/noisedash))
## Kubernetes
You can apply the manifest.yaml in the kubernetes folder to install Noisedash into your Kubernetes cluster.
Optionally, uncomment the last lines in the file to also create an ingress. The ingress, commented out by default, needs to have the clusterIssuser annotation set to your cluster issuer (default: letsencrypt-prod) and the ingress class set to your Ingress class (default: Nginx)
``` bash
$ kubectl apply -f ./kubernetes/manifest.yaml
persistentvolumeclaim/db-pvc created
persistentvolumeclaim/samples-pvc created
deployment.apps/noisedash created
service/noisedash created
configmap/noisedashcfg created
ingress.networking.k8s.io/noisedashingress created
```
## From Source
Requires node 14 and npm
Requires node 20 and npm
* Clone the repo:

View File

@@ -3,9 +3,9 @@
"listeningPort": 1432,
"sessionFileStorePath": "sessions",
"sampleUploadPath": "samples",
"maxSampleSize": 10737418240, // In bytes, 10GB by default
"maxSampleSize": 10737418240,
"logFile": "log/noisedash.log",
"tls": false, // Keep this as false if using an external web server like nginx
"tls": false,
"tlsKey": "certs/key.pem",
"tlsCert": "certs/cert.pem"
}

View File

@@ -1 +1 @@
{} // Left empty intentionally: https://github.com/node-config/node-config/wiki/Strict-Mode#node_env-value-of-node_env-did-not-match-any-deployment-config-file-names=
{}

240
kubernetes/manifest.yaml Normal file
View File

@@ -0,0 +1,240 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: db-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: samples-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: noisedash
spec:
replicas: 1
selector:
matchLabels:
app: noisedash
template:
metadata:
labels:
app: noisedash
spec:
containers:
- name: noisedash
image: noisedash/noisedash:latest
ports:
- containerPort: 1432
volumeMounts:
- name: db
mountPath: /var/noisedash/db
- name: samples
mountPath: /var/noisedash/samples
- name: config
mountPath: /var/noisedash/config/default.json
subPath: config.json
volumes:
- name: db
persistentVolumeClaim:
claimName: db-pvc
- name: samples
persistentVolumeClaim:
claimName: samples-pvc
- name: config
configMap:
name: noisedashcfg
---
apiVersion: v1
kind: Service
metadata:
name: noisedash
spec:
selector:
app: noisedash
ports:
- protocol: TCP
port: 80
targetPort: 1432
---
apiVersion: v1
kind: ConfigMap
metadata:
name: noisedashcfg
data:
config.json: |
{
"Server": {
"listeningPort": 1432,
"sessionFileStorePath": "sessions",
"sampleUploadPath": "samples",
"maxSampleSize": 10737418240,
"logFile": "log/noisedash.log",
"tls": false,
"tlsKey": "certs/key.pem",
"tlsCert": "certs/cert.pem"
}
}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
labels:
app.kubernetes.io/instance: noisedash
name: noisedashingress
spec:
rules:
- host: noisedash.freshbrewed.science
http:
paths:
- backend:
service:
name: noisedash
port:
number: 80
path: /
pathType: ImplementationSpecific
tls:
- hosts:
- noisedash.freshbrewed.science
secretName: noisedash-tls
builder@DESKTOP-QADGF36:~/Workspaces/pyplanereport$
builder@DESKTOP-QADGF36:~/Workspaces/pyplanereport$ cat noiseall.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: db-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: samples-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: noisedash
spec:
replicas: 1
selector:
matchLabels:
app: noisedash
template:
metadata:
labels:
app: noisedash
spec:
containers:
- name: noisedash
image: noisedash/noisedash:latest
ports:
- containerPort: 1432
volumeMounts:
- name: db
mountPath: /var/noisedash/db
- name: samples
mountPath: /var/noisedash/samples
- name: config
mountPath: /var/noisedash/config/default.json
subPath: config.json
volumes:
- name: db
persistentVolumeClaim:
claimName: db-pvc
- name: samples
persistentVolumeClaim:
claimName: samples-pvc
- name: config
configMap:
name: noisedashcfg
---
apiVersion: v1
kind: Service
metadata:
name: noisedash
spec:
selector:
app: noisedash
ports:
- protocol: TCP
port: 80
targetPort: 1432
---
apiVersion: v1
kind: ConfigMap
metadata:
name: noisedashcfg
data:
config.json: |
{
"Server": {
"listeningPort": 1432,
"sessionFileStorePath": "sessions",
"sampleUploadPath": "samples",
"maxSampleSize": 10737418240,
"logFile": "log/noisedash.log",
"tls": false,
"tlsKey": "certs/key.pem",
"tlsCert": "certs/cert.pem"
}
}
# ---
# apiVersion: networking.k8s.io/v1
# kind: Ingress
# metadata:
# annotations:
# cert-manager.io/cluster-issuer: letsencrypt-prod
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
# nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
# labels:
# app.kubernetes.io/instance: noisedash
# name: noisedashingress
# spec:
# rules:
# - host: noisedash.freshbrewed.science
# http:
# paths:
# - backend:
# service:
# name: noisedash
# port:
# number: 80
# path: /
# pathType: ImplementationSpecific
# tls:
# - hosts:
# - noisedash.freshbrewed.science
# secretName: noisedash-tls

20044
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "noisedash",
"version": "0.6.2",
"version": "0.7.0",
"private": true,
"author": "Kay Thomas <kaythomas@pm.me> (https://kaythomas.dev)",
"scripts": {
@@ -12,31 +12,31 @@
},
"dependencies": {
"@vscode/sqlite3": "^5.0.8",
"axios": "^0.21.4",
"axios": "^1.6.0",
"config": "^3.3.6",
"connect-history-api-fallback": "^1.6.0",
"cookie-parser": "^1.4.5",
"core-js": "^3.22.7",
"core-js": "^3.23.5",
"express": "^4.18.1",
"express-session": "^1.17.3",
"multer": "^1.4.5-lts.1",
"multer": "^2.0.2",
"passport": "^0.6.0",
"passport-local": "^1.0.0",
"path": "^0.12.7",
"session-file-store": "^1.5.0",
"tone": "^14.7.77",
"vue": "^2.6.11",
"vue": "^2.7.16",
"vue-router": "^3.5.4",
"vuetify": "^2.6.6",
"vuetify": "^2.6.10",
"winston": "^3.3.3"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"@vue/cli-plugin-babel": "^5.0.4",
"@vue/cli-plugin-eslint": "^5.0.4",
"@vue/cli-plugin-router": "^5.0.4",
"@vue/cli-service": "^5.0.4",
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/cli-plugin-router": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"@vue/eslint-config-standard": "^6.1.0",
"eslint": "^7.32.0",
"eslint-plugin-html": "^6.2.0",
@@ -44,11 +44,11 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"eslint-plugin-vue": "^7.20.0",
"sass": "~1.32.0",
"sass-loader": "^10.0.0",
"vue-cli-plugin-vuetify": "^2.5.0",
"vue-template-compiler": "^2.6.11",
"vue-cli-plugin-vuetify": "^2.5.8",
"vue-template-compiler": "^2.7.16",
"vuetify-loader": "^1.7.3"
},
"bugs": "https://github.com/kaythomas0/noisedash/issues",

View File

@@ -36,7 +36,8 @@ app.use(session({
store: new FileStore(fileStoreOptions),
secret: sessionSecret,
resave: true,
saveUninitialized: true
saveUninitialized: true,
cookie: { sameSite: 'strict' }
}))
app.use((req, res, next) => {
const msgs = req.session.messages || []

View File

@@ -50,7 +50,7 @@
label="Profiles"
class="mx-3 mb-5"
:disabled="playDisabled"
@change="loadProfile"
@change="loadProfile(true)"
/>
</v-row>
@@ -297,7 +297,7 @@
<v-card-text>
<v-container>
<v-row>
<p>Select profile to record audio for. This is only supported on Chrome and Firefox.</p>
<p>Select profile to record audio for. This is only supported on Chrome and Firefox. Current profile will be saved before recording.</p>
</v-row>
<v-row>
<v-select
@@ -788,7 +788,7 @@
value="continuous"
/>
<v-radio
label="Sporadic (Not Looped, Plays Randomly Within Interval"
label="Sporadic (Not Looped, Plays Randomly Within Interval)"
value="sporadic"
/>
</v-radio-group>
@@ -1026,7 +1026,7 @@
<v-text-field
v-model="previewSampleFadeIn"
type="number"
label="Fade In Time"
label="Fade In Time (In continuous mode, this only effects first playback)"
:disabled="previewSamplePlaying"
:rules="[rules.gt(-1)]"
@change="updatePreviewSamplePlayerFadeIn"

View File

@@ -344,7 +344,7 @@ export default {
}
this.exportedProfile = this.profileItems[0]
this.recordedProfile = this.profileItems[0]
this.loadProfile()
this.loadProfile(true)
}
}
})
@@ -420,8 +420,8 @@ export default {
this.errorSnackbar = true
})
},
loadProfile () {
if (this.unsavedWork) {
loadProfile (checkForUnsavedWork) {
if (checkForUnsavedWork && this.unsavedWork) {
this.confirmSwitchProfileDialog = true
} else {
this.$http.get('/profiles/'.concat(this.selectedProfile.id))
@@ -736,7 +736,16 @@ export default {
}).then(response => {
if (response.status === 200) {
this.getSamples()
this.loadProfile()
// Update sample if it's already loaded in current profile
const sample = this.loadedSamples.find(s => s.id === this.selectedPreviewSample.id)
if (sample) {
sample.fadeIn = this.previewSampleFadeIn
sample.loopPointsEnabled = this.previewSampleLoopPointsEnabled
sample.loopStart = this.previewSampleLoopStart
sample.loopEnd = this.previewSampleLoopEnd
}
this.closeEditSampleForm()
this.infoSnackbarText = 'Sample Saved'
this.infoSnackbar = true
@@ -760,6 +769,9 @@ export default {
this.profileMoreDialog = false
},
startRecording () {
// Save current profile before recording
this.updateProfile()
this.$http.get('/profiles/'.concat(this.recordedProfile.id))
.then(async response => {
if (response.status === 200) {
@@ -866,7 +878,7 @@ export default {
const recording = await this.recorder.stop()
// Set active profile back to the selected one
this.loadProfile()
this.loadProfile(false)
const url = URL.createObjectURL(recording)
const anchor = document.createElement('a')
@@ -890,7 +902,7 @@ export default {
await this.recorder.stop()
// Set active profile back to the selected one
this.loadProfile()
this.loadProfile(false)
clearInterval(this.recordingInterval)
this.recordingDialog = false
@@ -898,7 +910,7 @@ export default {
},
discardChanges () {
this.unsavedWork = false
this.loadProfile()
this.loadProfile(true)
this.confirmSwitchProfileDialog = false
},
saveChanges () {