Various AT Protocol integrations with obsidian
20
fork

Configure Feed

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

fix review issues

+5 -8
+1 -1
manifest.json
··· 1 1 { 2 2 "id": "atmosphere", 3 3 "name": "Atmosphere", 4 - "version": "0.1.12", 4 + "version": "0.1.13", 5 5 "minAppVersion": "0.15.0", 6 6 "description": "Various integrations with AT Protocol.", 7 7 "author": "treethought",
+1 -1
package.json
··· 1 1 { 2 2 "name": "obsidian-atmosphere", 3 - "version": "0.1.12", 3 + "version": "0.1.13", 4 4 "description": "Various integrations with AT Protocol.", 5 5 "main": "main.js", 6 6 "type": "module",
+3 -6
src/views/standardfeed.ts
··· 53 53 for (const uri of pubUris) { 54 54 try { 55 55 const pub = await getPublication(this.plugin.client, uri); 56 - void this.renderPublicationCard(list, pub); 56 + this.renderPublicationCard(list, pub); 57 57 } catch (e) { 58 58 console.warn(`Failed to fetch publication at ${uri}:`, e); 59 59 } ··· 68 68 } 69 69 } 70 70 71 - private async renderPublicationCard(container: HTMLElement, pub: ATRecord<Publication>) { 71 + private renderPublicationCard(container: HTMLElement, pub: ATRecord<Publication>) { 72 72 const card = container.createEl("div", { cls: "standard-site-publication" }); 73 73 74 74 const header = card.createEl("div", { cls: "standard-site-publication-header" }); ··· 136 136 137 137 const parsed = parseResourceUri(pub.uri); 138 138 if (!parsed.ok) { 139 - // URI is an acronym 140 - // eslint-disable-next-line obsidianmd/ui/sentence-case 141 - container.createEl("p", { text: "Failed to parse publication URI." }); 139 + container.createEl("p", { text: "Failed to parse publication address." }); 142 140 console.error("Failed to parse publication URI:", parsed.error); 143 - 144 141 return; 145 142 } 146 143