Compare commits

..

2 Commits

Author SHA1 Message Date
sawka 19e856a3be bump version to 0.5.3 2023-12-21 12:31:54 -08:00
sawka 8246f8118e bump to v0.5.3 to fix #174 2023-12-21 12:30:57 -08:00
7 changed files with 11 additions and 19 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
# assumes we have Wave-darwin-x64-[version].zip and Wave-darwin-arm64-[version].zip in current directory
VERSION=0.5.2
VERSION=0.5.3
rm -rf temp
mkdir temp
mkdir temp/x64
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "waveterm",
"author": "Command Line Inc",
"productName": "Wave",
"version": "0.5.2",
"version": "0.5.3",
"main": "dist/emain.js",
"license": "Apache-2.0",
"dependencies": {
+2 -5
View File
@@ -440,7 +440,7 @@ class SessionSettingsModal extends React.Component<{}, {}> {
return;
}
let prtn = GlobalCommandRunner.sessionPurge(this.sessionId);
commandRtnHandler(prtn, this.errorMessage, () => GlobalModel.modalsModel.popModal());
commandRtnHandler(prtn, this.errorMessage);
});
}
@@ -783,10 +783,7 @@ class ClientSettingsModal extends React.Component<{}, {}> {
<div className="settings-field">
<div className="settings-label">Check for Updates</div>
<div className="settings-input">
<Toggle
checked={!cdata.clientopts.noreleasecheck}
onChange={this.handleChangeReleaseCheck}
/>
<Toggle checked={!cdata.clientopts.noreleasecheck} onChange={this.handleChangeReleaseCheck} />
</div>
</div>
<div className="settings-field">
+4 -6
View File
@@ -17,7 +17,6 @@ import { ReactComponent as ActionsIcon } from "../../assets/icons/tab/actions.sv
import { ReactComponent as AddIcon } from "../../assets/icons/add.svg";
import * as constants from "../../appconst";
import { Reorder } from "framer-motion";
import { debounce } from "throttle-debounce";
import { MagicLayout } from "../../magiclayout";
import "../workspace.less";
@@ -87,11 +86,11 @@ class ScreenTabs extends React.Component<{ session: Session }, { showingScreens:
// Add the current deltaY to the history
this.deltaYHistory.push(Math.abs(event.deltaY));
if (this.deltaYHistory.length > 2) {
this.deltaYHistory.shift(); // Keep only the last 2 entries
if (this.deltaYHistory.length > 5) {
this.deltaYHistory.shift(); // Keep only the last 5 entries
}
// Check if any of the last 2 deltaY values are greater than a threshold
// Check if any of the last 5 deltaY values are greater than a threshold
let isMouseWheel = this.deltaYHistory.some((deltaY) => deltaY > 0);
if (isMouseWheel) {
@@ -109,8 +108,7 @@ class ScreenTabs extends React.Component<{ session: Session }, { showingScreens:
// Add the wheel event listener to the tabsRef
if (this.tabsRef.current) {
let handleWheel = debounce(200, this.handleWheel);
this.tabsRef.current.addEventListener("wheel", handleWheel, { passive: false });
this.tabsRef.current.addEventListener("wheel", this.handleWheel, { passive: false });
}
}
+1 -4
View File
@@ -390,12 +390,9 @@ function getColorRGB(colorInput) {
return computedColorStyle;
}
function commandRtnHandler(prtn: Promise<CommandRtnType>, errorMessage: OV<string>, onSuccess?: () => void) {
function commandRtnHandler(prtn: Promise<CommandRtnType>, errorMessage: OV<string>) {
prtn.then((crtn) => {
if (crtn.success) {
if (onSuccess) {
onSuccess();
}
return;
}
mobx.action(() => {
+1 -1
View File
@@ -1,2 +1,2 @@
const VERSION = "v0.5.2";
const VERSION = "v0.5.3";
module.exports = VERSION;
+1 -1
View File
@@ -35,7 +35,7 @@ const WaveLockFile = "waveterm.lock"
const WaveDirName = ".waveterm" // must match emain.ts
const WaveDevDirName = ".waveterm-dev" // must match emain.ts
const WaveAppPathVarName = "WAVETERM_APP_PATH"
const WaveVersion = "v0.5.2"
const WaveVersion = "v0.5.3"
const WaveAuthKeyFileName = "waveterm.authkey"
const MShellVersion = "v0.3.0"