Social Annotations in the Atmosphere
15
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: minor fixes and version bump to 1.0.6

- Fix viewport height units (100vh → 100dvh)
- Add forceSync() method to background worker
- Update package description

+12 -8
+1 -1
entrypoints/sidepanel/style.css
··· 173 173 flex-direction: column; 174 174 align-items: center; 175 175 justify-content: center; 176 - min-height: 100vh; 176 + min-height: 100dvh; 177 177 padding: 32px 16px; 178 178 } 179 179
+1 -1
entrypoints/via-client/main.ts
··· 67 67 top: 0; 68 68 right: 0; 69 69 width: ${SIDEBAR_WIDTH}px; 70 - height: 100vh; 70 + height: 100dvh; 71 71 border: none; 72 72 border-left: 1px solid #ccc; 73 73 z-index: 2147483647;
+2 -4
entrypoints/via-client/sidebar.ts
··· 33 33 backendUrl: import.meta.env.VITE_BACKEND_URL || import.meta.env.BACKEND_URL || 'https://seams.so', 34 34 }, 35 35 }, 36 - (url?: string) => { 37 - if (url) { 38 - backgroundWorker.setCurrentUrl(url); 39 - } 36 + () => { 37 + backgroundWorker.forceSync(); 40 38 } 41 39 ); 42 40
+2 -2
package.json
··· 1 1 { 2 2 "name": "seams", 3 - "version": "1.0.2", 4 - "description": "To install dependencies:", 3 + "version": "1.0.6", 4 + "description": "Web annotation extension built on AT Protocol", 5 5 "main": "index.js", 6 6 "scripts": { 7 7 "dev": "wxt",
+6
packages/core/src/background/worker.ts
··· 63 63 getCurrentUrl(): string | null { 64 64 return this.currentUrl; 65 65 } 66 + 67 + async forceSync(): Promise<void> { 68 + if (this.currentUrl) { 69 + await this.syncAnnotationsForUrl(this.currentUrl); 70 + } 71 + } 66 72 }