Skip to content

fix(footer): sync catalog stats with templates.json (#11) - #28

Closed
KhyFee wants to merge 1 commit into
Create-Python-App:mainfrom
KhyFee:fix/footer-catalog-stats-11
Closed

fix(footer): sync catalog stats with templates.json (#11)#28
KhyFee wants to merge 1 commit into
Create-Python-App:mainfrom
KhyFee:fix/footer-catalog-stats-11

Conversation

@KhyFee

@KhyFee KhyFee commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Description

Footer + homepage StatsBar now use catalogStatsFrom(getTemplatesData()) so catalog counts stay in sync with live templates.json instead of a hardcoded footer extensions count (was 8; live catalog is higher).

Closes #11

Same approach as Create-Vlang-App/website#45.

Type of Change

  • Bugfix
  • New feature
  • Breaking change
  • Documentation update

How Has This Been Tested?

  • Local type-check / existing unit tests for catalog helpers
  • Footer counts match StatsBar against live cpa-templates/templates.json
  • Counts update when catalog JSON changes

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e1a57598-5658-41c6-b01d-23c18f7edfd3


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@KhyFee

KhyFee commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Same approach as Create-Vlang-App/website#45 — live catalog counts instead of hardcoded footer stats.

@KhyFee
KhyFee force-pushed the fix/footer-catalog-stats-11 branch from ea090e7 to f2687c9 Compare August 26, 2026 03:27
@KhyFee

KhyFee commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

Updated the PR description to match the Danger template sections, and rebased onto latest main so CI can re-run cleanly.

Happy to tweak anything else if Danger still flags a gap.

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

@KhyFee is attempting to deploy a commit to the create-node-app Team on Vercel.

A member of the Team first needs to authorize it.

…p#11)

Drive footer + StatsBar counts from getTemplatesData() so hardcoded
extensions (8) stop drifting from the live CPA catalog.
@ulises-jeremias

Copy link
Copy Markdown
Member

Superseded by #47 — rebased the same changes onto main@19e0fa2 (MegaLinter 10, Danger 14). Original fork branch was behind by 8 commits and needed catalogStatsFrom integration. Closing in favor of #47 (maintainer rebased, validated locally: 16 tests, type-check, MegaLinter). Thanks @KhyFee for the contribution!

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.

fix(footer): sync catalog stats with templates.json (extensions count)

2 participants