From c544c68c0571dd1acbb99e282e2167710eed1cb5 Mon Sep 17 00:00:00 2001 From: Aryan1982 Date: Tue, 7 Mar 2023 13:14:52 +0530 Subject: [PATCH 1/2] navbar title fixed --- client/components/Nav.jsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/client/components/Nav.jsx b/client/components/Nav.jsx index 071c326303..69cd3d9744 100644 --- a/client/components/Nav.jsx +++ b/client/components/Nav.jsx @@ -278,6 +278,7 @@ class Nav extends React.PureComponent { onClick={this.toggleDropdownForFile} onBlur={this.handleBlur} onFocus={this.clearHideTimeout} + title="File" onMouseOver={() => { if (this.state.dropdownOpen !== 'none') { this.setDropdown('file'); @@ -396,6 +397,7 @@ class Nav extends React.PureComponent { onClick={this.toggleDropdownForEdit} onBlur={this.handleBlur} onFocus={this.clearHideTimeout} + title="Edit" onMouseOver={() => { if (this.state.dropdownOpen !== 'none') { this.setDropdown('edit'); @@ -454,6 +456,7 @@ class Nav extends React.PureComponent { onClick={this.toggleDropdownForSketch} onBlur={this.handleBlur} onFocus={this.clearHideTimeout} + title="Sketch" onMouseOver={() => { if (this.state.dropdownOpen !== 'none') { this.setDropdown('sketch'); @@ -539,6 +542,7 @@ class Nav extends React.PureComponent { onClick={this.toggleDropdownForHelp} onBlur={this.handleBlur} onFocus={this.clearHideTimeout} + title="Help" onMouseOver={() => { if (this.state.dropdownOpen !== 'none') { this.setDropdown('help'); @@ -600,6 +604,7 @@ class Nav extends React.PureComponent { onClick={this.toggleDropdownForLang} onBlur={this.handleBlur} onFocus={this.clearHideTimeout} + title="Language" onMouseOver={() => { if (this.state.dropdownOpen !== 'none') { this.setDropdown('lang'); @@ -760,7 +765,7 @@ class Nav extends React.PureComponent { this.renderLanguageMenu(navDropdownState)}
  • - + {this.props.t('Nav.Login')} @@ -768,7 +773,7 @@ class Nav extends React.PureComponent { {this.props.t('Nav.LoginOr')}
  • - + {this.props.t('Nav.SignUp')} From 3b25e318e5f881a3f690e888ab69162c3832a29e Mon Sep 17 00:00:00 2001 From: Ryuyxx Date: Tue, 14 Mar 2023 22:50:59 +0900 Subject: [PATCH 2/2] update nav unit snapshot --- .../__snapshots__/Nav.unit.test.jsx.snap | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/client/components/__snapshots__/Nav.unit.test.jsx.snap b/client/components/__snapshots__/Nav.unit.test.jsx.snap index 8de82975d9..fc40c4d047 100644 --- a/client/components/__snapshots__/Nav.unit.test.jsx.snap +++ b/client/components/__snapshots__/Nav.unit.test.jsx.snap @@ -22,7 +22,9 @@ exports[`Nav renders correctly 1`] = `