Merge branch 'sprint/4-ambient-body-doubling'

This commit is contained in:
djg 2026-09-23 13:44:56 +00:00
commit b42371a822
2 changed files with 10 additions and 10 deletions

View file

@ -33,12 +33,12 @@
~<span id="pill-count">..</span> with you ~<span id="pill-count">..</span> with you
</div> </div>
<div id="ambient-panel" class="ambient-panel" hidden> <div id="ambient-panel" class="ambient-panel" hidden>
<p class="ambient-panel-head">You are not alone. Across the world, people with ADHD are taking on tasks just like you.</p> <p class="ambient-panel-head">You are not alone. Across the world, other brains are taking on tasks right alongside you.</p>
<p class="ambient-panel-note" style="font-size:0.75rem;opacity:0.55;margin-top:0.25rem;">Count is a comforting estimate — real community presence coming soon.</p> <p class="ambient-panel-note" style="font-size:0.75rem;opacity:0.55;margin-top:0.25rem;">Count is a comforting estimate — real community presence coming soon.</p>
<ul id="ambient-feed" class="ambient-feed"> <ul id="ambient-feed" class="ambient-feed">
<!-- feed items added via JS --> <!-- feed items added via JS -->
</ul> </ul>
<div id="ambient-cheer-btn" class="ambient-cheer" role="button" tabindex="0">Send a quiet cheer 🎉</div> <div id="ambient-cheer-btn" class="ambient-cheer" role="button" tabindex="0">Send a gentle nod 🎉</div>
</div> </div>
</header> </header>

View file

@ -993,13 +993,13 @@
var fakeBaseCount = 1400; // baseline var fakeBaseCount = 1400; // baseline
var feedEvents = [ var feedEvents = [
"Someone just finished a 15m focus round", "A fellow brain just finished a 15m focus round",
"Someone broke down an intimidating task", "A fellow brain broke down an intimidating task",
"Someone took a mindful breath", "A fellow brain took a mindful breath",
"Someone swept their inbox clean", "A fellow brain swept their inbox clean",
"Someone just started a timer", "A fellow brain just started a timer",
"Someone released a stale task to the universe", "A fellow brain released a stale task to the universe",
"Someone decided to focus on just One Thing" "A fellow brain decided to focus on just One Thing"
]; ];
function getCircadianOffset() { function getCircadianOffset() {
@ -1079,7 +1079,7 @@
cheerBtn.textContent = "Sent!"; cheerBtn.textContent = "Sent!";
cheerBtn.style.pointerEvents = "none"; cheerBtn.style.pointerEvents = "none";
setTimeout(function() { setTimeout(function() {
cheerBtn.textContent = "Send a quiet cheer 🎉"; cheerBtn.textContent = "Send a gentle nod 🎉";
cheerBtn.style.pointerEvents = "auto"; cheerBtn.style.pointerEvents = "auto";
}, 3000); }, 3000);
confetti(); confetti();