Skip to content

Add 2024 archived games support#5

Merged
aeone merged 2 commits intomainfrom
copilot/add-archived-games-2024
Dec 11, 2025
Merged

Add 2024 archived games support#5
aeone merged 2 commits intomainfrom
copilot/add-archived-games-2024

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 11, 2025

The archived games functionality displays games from previous years (2020-2023) but was missing 2024.

Changes

Extended the existing archived games pattern to include 2024:

  • subs.cljs: Added ::archived-games-2024 subscription and updated aggregation logic to include 2024 games with proper deduplication (newest year takes precedence)
  • events.cljs: Added ::evt/fb-update-archived-games-2024 event handler for Firebase updates
  • fb.cljs: Registered Firebase listener for archived-games-2024 path

Games are displayed newest-to-oldest (2024 → 2020) with duplicates across years filtered to show only the most recent version.

(re-frame/reg-sub
 ::archived-games
 :<- [::archived-games-2020]
 :<- [::archived-games-2021]
 :<- [::archived-games-2022]
 :<- [::archived-games-2023]
 :<- [::archived-games-2024]  ; New
 (fn [[games2020 games2021 games2022 games2023 games2024]]
   (let [games2024-names (set (map :name games2024))
         ; ... deduplication logic for older years

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • repo.clojars.org
    • Triggering command: /usr/bin/java /usr/bin/java -jar /home/REDACTED/work/megalan2020/megalan2020/node_modules/shadow-cljs-jar/bin/shadow-cljs.jar (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

there is a functionality to show archived games from previous years - i need it to also include archived games for 2024


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: aeone <321090+aeone@users.noreply.github.com>
Copilot AI changed the title [WIP] Add functionality for archived games in 2024 Add 2024 archived games support Dec 11, 2025
Copilot AI requested a review from aeone December 11, 2025 11:24
@aeone aeone marked this pull request as ready for review December 11, 2025 11:37
@aeone aeone merged commit 48e41e1 into main Dec 11, 2025
2 checks passed
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