Skip to content

Commit 1b16b2d

Browse files
codebykatmokagioroundhill
authored
Merge 2.22.2 release branch back into trunk (#3266)
Co-authored-by: Gio Lodi <[email protected]> Co-authored-by: Dan Roundhill <[email protected]>
1 parent 4a140a9 commit 1b16b2d

File tree

6 files changed

+48
-6
lines changed

6 files changed

+48
-6
lines changed

RELEASE-NOTES.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
# Changelog
22

3+
## [v2.22.2]
4+
5+
### Enhancements
6+
7+
- Added "magic link" login [#3246](https://github.com/Automattic/simplenote-electron/pull/3246)
8+
- Added a link to log in with a password from the initial login screen [#3256](https://github.com/Automattic/simplenote-electron/pull/3256)
9+
10+
### Fixes
11+
12+
- Disabled "sticky scrolling" option [#3254](https://github.com/Automattic/simplenote-electron/pull/3254)
13+
14+
### Other Changes
15+
16+
- Removed gconf2 dependency [#3244](https://github.com/Automattic/simplenote-electron/pull/3244)
17+
318
## [v2.22.1]
419

520
### Fixes
621

722
- The final release build of v2.22.0 was not correctly packaged, causing a crash on startup. Affected users will need to manually download this version, which properly includes a necessary configuration file during the build process [#3232](https://github.com/Automattic/simplenote-electron/pull/3232)
23+
- Disabled the menu item to check for updates in the development environment [#3214](https://github.com/Automattic/simplenote-electron/pull/3214)
24+
- Don't indent lines following an indent (hanging indent support) [#3216](https://github.com/Automattic/simplenote-electron/pull/3216)
825

926
## [v2.22.0]
1027

lib/auth/index.tsx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class Auth extends Component<Props> {
3838
isCreatingAccount: false,
3939
passwordErrorMessage: null,
4040
onLine: window.navigator.onLine,
41-
usePassword: isDev, // Magic link login doesn't work in dev mode
41+
usePassword: false,
4242
emailForPasswordForm: null,
4343
};
4444

@@ -357,6 +357,22 @@ export class Auth extends Component<Props> {
357357
)}
358358
</button>
359359

360+
{!isCreatingAccount && !usePassword && (
361+
<Fragment>
362+
<div className="terms">
363+
We&rsquo;ll email you a code to log in, or you can
364+
<a
365+
href="#"
366+
rel="noopener noreferrer"
367+
onClick={this.togglePassword}
368+
>
369+
log in manually
370+
</a>
371+
.
372+
</div>
373+
</Fragment>
374+
)}
375+
360376
{usePassword && (
361377
<Fragment>
362378
<a

lib/note-content-editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,6 +1277,7 @@ class NoteContentEditor extends Component<Props> {
12771277
scrollBeyondLastLine: false,
12781278
selectionHighlight: false,
12791279
showFoldingControls: 'never',
1280+
stickyScroll: { enabled: false },
12801281
suggestOnTriggerCharacters: true,
12811282
unicodeHighlight: {
12821283
ambiguousCharacters: false,

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"email": "[email protected]"
77
},
88
"productName": "Simplenote",
9-
"version": "2.22.2-beta.4",
9+
"version": "2.22.2",
1010
"main": "desktop/index.js",
1111
"license": "GPL-2.0",
1212
"homepage": "https://simplenote.com",

webpack.config.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,17 @@ module.exports = () => {
129129
}),
130130
new MonacoWebpackPlugin({
131131
languages: [],
132+
// don't include features we disable. these generally correspond to the options
133+
// passed to editor initialization in note-content-editor.tsx
134+
// @see https://github.com/microsoft/monaco-editor/blob/main/webpack-plugin/README.md#options
132135
features: [
133136
'!bracketMatching',
134137
'!codeAction',
135138
'!codelens',
136-
'!colorDetector',
139+
'!colorPicker',
137140
'!comment',
141+
'!diffEditor',
142+
'!diffEditorBreadcrumbs',
138143
'!folding',
139144
'!gotoError',
140145
'!gotoLine',
@@ -144,12 +149,15 @@ module.exports = () => {
144149
'!multicursor',
145150
'!parameterHints',
146151
'!quickCommand',
152+
'!quickHelp',
147153
'!quickOutline',
148154
'!referenceSearch',
149155
'!rename',
150-
'!snippets',
156+
'!snippet',
157+
'!stickyScroll',
151158
'!suggest',
152159
'!toggleHighContrast',
160+
'!unicodeHighlighter',
153161
],
154162
}),
155163
new webpack.DefinePlugin({

0 commit comments

Comments
 (0)