[READ-ONLY] Mirror of https://github.com/improsocial/impro An extensible Bluesky client for web impro.social
6

Configure Feed

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

Update copy on self-labeled posts

Grace Kind (Mar 23, 2026, 9:49 PM -0500) e9cec117 0419681d

+4 -6
+1 -1
package.json
··· 1 1 { 2 2 "name": "impro", 3 - "version": "0.7.3", 3 + "version": "0.7.4", 4 4 "type": "module", 5 5 "scripts": { 6 6 "start": "rm -rf build && NODE_ENV=development eleventy --serve",
+1 -3
src/js/templates/moderationWarning.template.js
··· 15 15 labelName += " (Account)"; 16 16 } 17 17 // If no labeler, the labeler is the author of the post 18 - const labelerName = labeler 19 - ? "@" + labeler.creator.handle 20 - : "the post author"; 18 + const labelerName = labeler ? "@" + labeler.creator.handle : "the author."; 21 19 const labelerLink = labeler ? linkToLabeler(labeler) : null; 22 20 return html`<moderation-warning 23 21 class=${classnames("post-moderation-warning", className)}
+2 -2
tests/unit/specs/templates/moderationWarning.template.test.js
··· 82 82 }); 83 83 84 84 t.describe("moderationWarningTemplate - no labeler", (it) => { 85 - it("should show 'the post author' when labeler is null", () => { 85 + it("should show 'the author.' when labeler is null", () => { 86 86 const result = moderationWarningTemplate({ 87 87 labelDefinition: mockLabelDefinition, 88 88 labeler: null, ··· 91 91 const container = document.createElement("div"); 92 92 render(result, container); 93 93 const warning = container.querySelector("moderation-warning"); 94 - assertEquals(warning.getAttribute("labelerName"), "the post author"); 94 + assertEquals(warning.getAttribute("labelerName"), "the author."); 95 95 }); 96 96 97 97 it("should have null labelerLink when labeler is null", () => {