0.10.4: a real Sync button on every Archify page
A labelled Sync button sits top right on every Archify page, also in Source, and opens the Sync menu. On a shared model it turns green and reads Shared. The title-bar icon and the pre-share status bar entry are gone, with their settings.
This commit is contained in:
1 parent
7d2d55543e
commit
90c7be06de
10 files changed
+88
-58
No files matched your search
@@ -493,8 +493,6 @@ export async function run(): Promise<void> {
|
||||
// No server of anyone's built in: empty until the user sets one.
|
||||
const config = vscode.workspace.getConfiguration('archify.sync');
|
||||
assert.equal(config.get('server'), '');
|
||||
assert.equal(config.get('statusBar'), true);
|
||||
assert.equal(config.get('titleButton'), true);
|
||||
// The extension host's module cache: dist/sync.js (Yjs, the WebSocket) is not loaded.
|
||||
const loaded = Object.keys(require.cache).filter((file) => file.endsWith(`${path.sep}dist${path.sep}sync.js`));
|
||||
assert.deepEqual(loaded, [], 'the sync bundle is not loaded');
|
||||
|
||||
Reference in new issue
Block a user