Skip to content

fix: relay web board shows state counts and gamification stats as separate lines#24

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/fix-duplicate-gamification-line
Draft

fix: relay web board shows state counts and gamification stats as separate lines#24
Copilot wants to merge 3 commits into
mainfrom
copilot/fix-duplicate-gamification-line

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

When gamification stats were added to the relay web board, they replaced state counts in the footer AND appeared again in a separate .gamification div — showing the same data twice in two different styles. A partial fix removed the second div but left state counts permanently missing.

Changes

  • Restored state counts in .footer — always shows needs attention · done · working · idle
  • Gamification stats moved exclusively to the .gamification div below the footer, rendered only when stats are available
  • The two lines now mirror the marketing site design: state counts on top, gamification stats (X/24h active · X done today · ...) below in a dimmer style
<footer class="footer">1 needs attention · 2 working · 1 idle</footer>
<div class="gamification">18/24h active  ·  5 done today  ·  12 this week</div>

Copy link
Copy Markdown
Owner

@metalaureate metalaureate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot I think you got stuck.

Copilot AI and others added 2 commits April 8, 2026 13:51
…-gamification-line

Co-authored-by: metalaureate <2185884+metalaureate@users.noreply.github.com>
…ate line below

Agent-Logs-Url: https://github.com/metalaureate/tend-cli/sessions/60b7e251-c77d-4fab-9015-f22c75e86ce4

Co-authored-by: metalaureate <2185884+metalaureate@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix duplicate gamification line on relay web page fix: relay web board shows state counts and gamification stats as separate lines Apr 8, 2026
Copilot AI requested a review from metalaureate April 8, 2026 13:57
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 8, 2026

@copilot I think you got stuck.

The fix is in commit 5c83344. The web board now shows both lines without duplication:

  • Footer — always shows state counts: needs attention · done · working · idle
  • Below footer — gamification stats: X/24h active · X done today · X this week (shown only when stats are available)

Previously the gamification feature had caused the stats to appear twice (once replacing state counts in the footer, once in a separate div). The partial fix removed the second div but dropped state counts entirely. This commit restores state counts to the footer and puts gamification-only content in the dedicated .gamification div.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants