1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Desktop: Add ability to share a note publicly using Nextcloud (#2173)

* Moved button row to separate component file and started Sharing dialog

* Adding Sharing dialog

* Applied "npx react-codemod rename-unsafe-lifecycles"

* More UI

* Tools: Improved TypeScript integration

* Improved share dialog

* Tools Added support for translation validation in CI, and added support for plural translations

* Improved UI and sharing workflow

* Share workflow

* Cleaned up and improved sharing config error handling

* Fixed build scripts and doc for TypeScript

* Run linter
This commit is contained in:
Laurent Cozic
2019-12-13 01:16:34 +00:00
committed by GitHub
parent 611be7c0fa
commit 34f0a2951a
39 changed files with 988 additions and 159 deletions

View File

@ -80,6 +80,15 @@ class Synchronizer {
return this.encryptionService_;
}
async waitForSyncToFinish() {
if (this.state() === 'idle') return;
while (true) {
await time.sleep(1);
if (this.state() === 'idle') return;
}
}
static reportToLines(report) {
let lines = [];
if (report.createLocal) lines.push(_('Created local items: %d.', report.createLocal));