0.10.3: Sync button in the editor title bar

Every Archify page and .archify text editor gets a Sync button top right that opens the Sync menu: sign in, share, join, server address. archify.sync.titleButton hides it. The status bar entry stays.
This commit is contained in:
root-at-skic committed 2026-11-07 00:52:07 +02:00
1 parent 63f0633daa
commit c262bb06a7
5 files changed
+20 -5

No files matched your search

+1
View File
@@ -494,6 +494,7 @@ export async function run(): Promise<void> {
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');