From f1ace0020e76780ccd2ec31e95268b8e91cddc19 Mon Sep 17 00:00:00 2001 From: Nicolas DUBIEN Date: Mon, 2 Dec 2024 09:34:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20linkt=20towards=20Bluesky?= =?UTF-8?q?=20comments=20(#5461)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js | 3 +++ website/blog/2024-12-02-advent-of-pbt-day-2/index.md | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/website/blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js b/website/blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js index bd566d9a..863fbc9a 100644 --- a/website/blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js +++ b/website/blog/2024-12-01-advent-of-pbt-day-1/BlueskyComments.js @@ -287,6 +287,9 @@ function load() { sortedReplies.forEach((reply) => { this.#displayComments(reply, commentsContainer, false); }); + } else { + this.shadowRoot.querySelector('.comments').innerHTML = + `

Add the first comment

`; } } diff --git a/website/blog/2024-12-02-advent-of-pbt-day-2/index.md b/website/blog/2024-12-02-advent-of-pbt-day-2/index.md index a840addf..445da8f2 100644 --- a/website/blog/2024-12-02-advent-of-pbt-day-2/index.md +++ b/website/blog/2024-12-02-advent-of-pbt-day-2/index.md @@ -5,6 +5,7 @@ tags: [advent-of-pbt, advent-of-pbt-2024] --- import {AdventPlaygroundOfTheDay,FormOfTheDay} from './AdventOfTheDay'; +import BlueskyComments from '../2024-12-01-advent-of-pbt-day-1/BlueskyComments'; Christmas is at risk! In their rush to meet tight deadlines, Santa’s elves accidentally introduced bugs into critical algorithms. If these issues aren’t discovered in time, Christmas could be delayed for everyone worldwide! @@ -36,3 +37,7 @@ Using the property-based testing features provided by fast-check, your task is t ## Your answer + +## Comments + + -- 2.51.2