[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 blocked post indicator text

Grace Kind (Mar 31, 2026, 3:50 PM -0500) da6034ab 9475d5e9

+7 -9
+1 -1
package.json
··· 1 1 { 2 2 "name": "impro", 3 - "version": "0.8.20", 3 + "version": "0.8.21", 4 4 "type": "module", 5 5 "scripts": { 6 6 "start": "rm -rf build && NODE_ENV=development eleventy --serve",
+1 -1
src/js/templates/blockedPost.template.js
··· 2 2 3 3 export function blockedPostTemplate() { 4 4 return html`<div class="post small-post"> 5 - <div class="missing-post-indicator">Post unavailable</div> 5 + <div class="missing-post-indicator">Blocked</div> 6 6 </div> `; 7 7 }
+2 -2
tests/e2e/specs/concerns/blockedPosts.test.js
··· 151 151 timeout: 10000, 152 152 }); 153 153 await expect(view.locator(".missing-post-indicator")).toContainText( 154 - "Post unavailable", 154 + "Blocked", 155 155 ); 156 156 // The chain is severed at the blocked post so grandparent is not reachable 157 157 await expect(view).not.toContainText("Grandparent post"); ··· 254 254 }); 255 255 // Blocked post shown as unavailable 256 256 await expect(view.locator(".missing-post-indicator")).toContainText( 257 - "Post unavailable", 257 + "Blocked", 258 258 ); 259 259 // Root is not reachable past the blocked post 260 260 await expect(view).not.toContainText("Root of the conversation");
+1 -3
tests/e2e/specs/views/home.view.test.js
··· 910 910 ); 911 911 }); 912 912 913 - test("a blocked post shows a Post unavailable placeholder", async ({ 914 - page, 915 - }) => { 913 + test("a blocked post shows a Blocked placeholder", async ({ page }) => { 916 914 const mockServer = new MockServer(); 917 915 const normalPost = createPost({ 918 916 uri: "at://did:plc:author1/app.bsky.feed.post/normal1",
+2 -2
tests/unit/specs/templates/blockedPost.template.test.js
··· 6 6 const t = new TestSuite("blockedPostTemplate"); 7 7 8 8 t.describe("blockedPostTemplate", (it) => { 9 - it("should display 'Post unavailable' text", () => { 9 + it("should display 'Blocked' text", () => { 10 10 const result = blockedPostTemplate(); 11 11 const container = document.createElement("div"); 12 12 render(result, container); 13 13 const indicator = container.querySelector(".missing-post-indicator"); 14 14 assert(indicator !== null); 15 - assert(indicator.textContent.includes("Post unavailable")); 15 + assert(indicator.textContent.includes("Blocked")); 16 16 }); 17 17 }); 18 18