From 5e98a20d7adb5033ef91d729ba9d632fe9ea1478 Mon Sep 17 00:00:00 2001 From: ntr Date: Fri, 10 Jan 2020 13:15:52 +1000 Subject: [PATCH 1/2] v1.12.1 --- VERSION | 2 +- acp/package.json | 2 +- client/package.json | 2 +- core/Cargo.toml | 2 +- ops/package.json | 2 +- server/Cargo.toml | 2 +- studios/package.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/VERSION b/VERSION index 32bd932f..6f165bc1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.12.0 \ No newline at end of file +1.12.1 \ No newline at end of file diff --git a/acp/package.json b/acp/package.json index 0e92cddc..c375cc2f 100644 --- a/acp/package.json +++ b/acp/package.json @@ -1,6 +1,6 @@ { "name": "mnml-client", - "version": "1.12.0", + "version": "1.12.1", "description": "", "main": "index.js", "scripts": { diff --git a/client/package.json b/client/package.json index f3b08026..b6ace460 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "mnml-client", - "version": "1.12.0", + "version": "1.12.1", "description": "", "main": "index.js", "scripts": { diff --git a/core/Cargo.toml b/core/Cargo.toml index 4edb5c25..febac315 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mnml_core" -version = "1.12.0" +version = "1.12.1" authors = ["ntr ", "mashy "] [dependencies] diff --git a/ops/package.json b/ops/package.json index 3b993c63..01e81dc9 100644 --- a/ops/package.json +++ b/ops/package.json @@ -1,6 +1,6 @@ { "name": "mnml-ops", - "version": "1.12.0", + "version": "1.12.1", "description": "", "main": "index.js", "scripts": { diff --git a/server/Cargo.toml b/server/Cargo.toml index 9f7e199a..a89622ea 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mnml" -version = "1.12.0" +version = "1.12.1" authors = ["ntr "] [dependencies] diff --git a/studios/package.json b/studios/package.json index 4d90c4c3..08c5353e 100644 --- a/studios/package.json +++ b/studios/package.json @@ -1,6 +1,6 @@ { "name": "mnml-studios", - "version": "1.12.0", + "version": "1.12.1", "description": "", "main": "index.js", "scripts": { From acce82ac9158daa94d3737edcbf2c1de9234d3ee Mon Sep 17 00:00:00 2001 From: ntr Date: Sun, 12 Jan 2020 17:38:37 +1000 Subject: [PATCH 2/2] change toast position and update worklog --- WORKLOG.md | 1 + client/src/components/welcome.login.jsx | 4 +++- client/src/socket.jsx | 6 +++--- client/src/utils.jsx | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/WORKLOG.md b/WORKLOG.md index 5f20d1d1..f504676b 100644 --- a/WORKLOG.md +++ b/WORKLOG.md @@ -3,6 +3,7 @@ _ntr_ * can't reset password without knowing password =\ +* hard reload client on version change * audio * animation effects diff --git a/client/src/components/welcome.login.jsx b/client/src/components/welcome.login.jsx index aa65f20d..ee5ecc64 100644 --- a/client/src/components/welcome.login.jsx +++ b/client/src/components/welcome.login.jsx @@ -51,10 +51,11 @@ function Login(args) { @@ -63,6 +64,7 @@ function Login(args) { type="password" placeholder="password" tabIndex={2} + autocomplete="current-password" value={password} onInput={linkState(this, 'password')} /> diff --git a/client/src/socket.jsx b/client/src/socket.jsx index 0ae1cacc..f72541b2 100644 --- a/client/src/socket.jsx +++ b/client/src/socket.jsx @@ -12,7 +12,7 @@ function errorToast(err) { return toast.error({ title: 'BEEP BOOP', message: err, - position: 'topRight', + position: 'bottomLeft', }); } @@ -341,7 +341,7 @@ function createSocket(events) { function onOpen() { toast.info({ message: 'connected', - position: 'topRight', + position: 'bottomLeft', }); sendPing(); @@ -360,7 +360,7 @@ function createSocket(events) { console.error('WebSocket closed', event); toast.warning({ message: 'disconnected', - position: 'topRight', + position: 'bottomLeft', }); return setTimeout(connect, 5000); } diff --git a/client/src/utils.jsx b/client/src/utils.jsx index b2c715fb..0ca4d727 100644 --- a/client/src/utils.jsx +++ b/client/src/utils.jsx @@ -208,7 +208,7 @@ function postData(url = '/', data = {}) { function errorToast(message) { toast.error({ - position: 'topRight', + position: 'bottomLeft', drag: false, close: false, message, @@ -217,7 +217,7 @@ function errorToast(message) { function infoToast(message) { toast.info({ - position: 'topRight', + position: 'bottomLeft', drag: false, close: false, message,