Skip to content

Update announcement banner to GeoDa 1.22.0.21 and fix build configuration#27

Merged
lixun910 merged 3 commits intoxli-release-1.22.0.21from
copilot/fix-3e3cd8da-d25e-46ff-8b27-d9d06dff2d3d
Sep 26, 2025
Merged

Update announcement banner to GeoDa 1.22.0.21 and fix build configuration#27
lixun910 merged 3 commits intoxli-release-1.22.0.21from
copilot/fix-3e3cd8da-d25e-46ff-8b27-d9d06dff2d3d

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Sep 26, 2025

Updates the site announcement banner to reflect the latest GeoDa release version 1.22.0.21 (9/26/2025), replacing the previous announcement for version 1.22.0.20.

Changes Made

Announcement Update (src/data/announcements.json)

  • Updated current announcement to: "🚀 GeoDa 1.22.0.21 (9/26/2025) is now available! 🎯"
  • Moved previous announcement (1.22.0.20) to the previous array with active: false
  • Updated date to 09/26/2025 to ensure proper date-based dismissal functionality

Build Configuration Fix (docusaurus.config.ts)

  • Fixed build failure caused by empty Google Analytics tracking ID by conditionally including analytics configuration only when the environment variable is present
  • This allows the project to build successfully in environments without Google Analytics configuration

Verification

The announcement banner now correctly displays the latest version information that matches the version referenced in downloadContent.json. The date-based dismissal system ensures users will see this new announcement even if they previously dismissed older ones.

Updated Announcement Banner

Project builds successfully with pnpm run build and all security checks pass with no vulnerabilities detected.

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:

  • https://api.github.com/repos/GeoDaCenter/GeoDaCenter%2FGeoDaCenter.github.io/languages
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (http block)

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

Original prompt

Can you update the announcement at https://github.com/GeoDaCenter/GeoDaCenter.github.io/blob/master/src/data/announcements.json?

Last, the GitHub action will use pnpm-lock.yaml, ther is no need to update package-lock.json file?


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits September 26, 2025 02:01
Co-authored-by: lixun910 <2423887+lixun910@users.noreply.github.com>
Co-authored-by: lixun910 <2423887+lixun910@users.noreply.github.com>
Copilot AI changed the title [WIP] Can you update the announcement at https://github.com/GeoDaCenter/GeoDaCenter.github.io/blob/master/src/data/announcements.json? Last, the GitHub action will use pnpm-lock.yaml, ther is no need to update package-lock.json file? Update announcement banner to GeoDa 1.22.0.21 and fix build configuration Sep 26, 2025
Copilot AI requested a review from lixun910 September 26, 2025 02:11
@lixun910 lixun910 marked this pull request as ready for review September 26, 2025 02:25
@lixun910 lixun910 merged commit 627e45b into xli-release-1.22.0.21 Sep 26, 2025
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