fix password focus, bump version to -beta3

This commit is contained in:
or-else
2022-07-15 11:41:51 -07:00
parent 7dfb90d8f3
commit 6357f9227e
12 changed files with 2311 additions and 1960 deletions
+1690 -1604
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,7 +1,7 @@
{ {
"name": "tinode-webapp", "name": "tinode-webapp",
"description": "Tinode messenger for the web", "description": "Tinode messenger for the web",
"version": "0.20.0-beta2", "version": "0.20.0-beta3",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/tinode/example-react-js.git" "url": "https://github.com/tinode/example-react-js.git"
@@ -71,7 +71,7 @@
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-intl": "^5.20.2", "react-intl": "^5.20.2",
"tinode-sdk": "^0.20.0-beta2", "tinode-sdk": "^0.20.0-beta3",
"webrtc-adapter": "^8.1.1" "webrtc-adapter": "^8.1.1"
}, },
"devDependencies": { "devDependencies": {
+1 -1
View File
@@ -1,3 +1,3 @@
// This is a generated file. Don't edit. // This is a generated file. Don't edit.
export const PACKAGE_VERSION = "0.20.0-beta2"; export const PACKAGE_VERSION = "0.20.0-beta3";
-2
View File
@@ -5,8 +5,6 @@ import { FormattedMessage } from 'react-intl';
import CheckBox from '../widgets/checkbox.jsx'; import CheckBox from '../widgets/checkbox.jsx';
import VisiblePassword from '../widgets/visible-password.jsx'; import VisiblePassword from '../widgets/visible-password.jsx';
import LocalStorageUtil from '../lib/local-storage.js';
export default class LoginView extends React.Component { export default class LoginView extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
+3 -1
View File
@@ -19,7 +19,9 @@ export default class VisiblePassword extends React.PureComponent {
} }
componentDidMount() { componentDidMount() {
this.inputRef.current.focus(); if (this.props.autoFocus) {
this.inputRef.current.focus();
}
} }
handeTextChange(e) { handeTextChange(e) {
+521 -289
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+89 -56
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,3 +1,3 @@
// This is a generated file. Don't edit. // This is a generated file. Don't edit.
const PACKAGE_VERSION = "0.20.0-beta2"; const PACKAGE_VERSION = "0.20.0-beta3";