You've already forked joplin
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:
@ -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));
|
||||
|
Reference in New Issue
Block a user