Skip to content

fix: cap homepage issue list and normalize tag badge sizes - #100

Merged
mathix420 merged 1 commit into
masterfrom
fix-tags-badges
Jul 27, 2026
Merged

fix: cap homepage issue list and normalize tag badge sizes#100
mathix420 merged 1 commit into
masterfrom
fix-tags-badges

Conversation

@mathix420

Copy link
Copy Markdown
Owner

Summary

  • Homepage issue list is capped at 10 items with a "See all N issues →" link to /issues, instead of rendering the entire directory on the homepage
  • Homepage top-tags quick-nav trimmed from 8 to 7 slots
  • Tag page related-tags badges now use a consistent text-sm size instead of scaling font weight/size by usage count

Test plan

  • bunx vue-tsc --noEmit passes
  • Manually verify homepage issue list truncation and "see all" link
  • Manually verify tag page related-tag badges render at consistent size

🤖 Generated with Claude Code

Homepage now shows the first 10 issues with a link to /issues instead
of dumping the whole list, and tag pages use a consistent badge size
instead of scaling font by usage count.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧹 Code quality

Check Summary
vize lint 0 errors · 320 warnings
vize format all files formatted
fallow audit fail · 0 dead-code · 4 complexity · 1 dupes (6 files)
fallow audit output

  Identical code blocks detected via suffix-array analysis — https://docs.fallow.tools/explanations/duplication#clone-groups

✗ 32 lines (0.1%) duplicated across 3 files (0.05s)

── Complexity ─────────────────────────────────────

■ Metrics: 512 LOC · dead files 0.0% · dead exports 0.0% · avg cyclomatic 2.7 · p90 cyclomatic 7 · maintainability 84.1 (moderate)

  Function size: 91% low · 2% medium · 2% high · 4% very high  (1-15 / 16-30 / 31-60 / >60 LOC)

● Large functions (2)
  app/pages/index.vue
    :183 <template>  298 lines
  app/pages/tag/[slug].vue
    :132 <template>  212 lines
  Functions exceeding 60 lines of code (very high risk): https://docs.fallow.tools/explanations/health#unit-size

● High complexity findings (4)
  CRAP scores are estimated from export references; run `fallow health --coverage <coverage-final.json>` for exact scores.
  app/pages/index.vue
    :183 <template> (template complexity) CRITICAL
          21 cyclomatic   36 cognitive  298 lines
         462.0 CRAP
    :76 statItems HIGH
           9 cyclomatic    4 cognitive    6 lines
          90.0 CRAP
    :96 exploreLinks HIGH
           9 cyclomatic    4 cognitive   60 lines
          90.0 CRAP
    :50 resultGroups HIGH
           7 cyclomatic    3 cognitive    5 lines
          56.0 CRAP
  Functions and synthetic template or component entries exceeding cyclomatic, cognitive, or CRAP thresholds (https://docs.fallow.tools/explanations/health#complexity-metrics)
  To suppress inline templates: // fallow-ignore-next-line complexity (above @Component)
  To suppress: // fallow-ignore-next-line complexity

✗ 4 above threshold · 46 analyzed (0.00s)
✗ complexity: 4 findings · duplication: 1 clone group · 5 changed files (0.40s)
  audit gate excluded 4 inherited findings (run with --gate all to enforce)

updated for 8bfadf4 · run #283

@mathix420
mathix420 merged commit 641881f into master Jul 27, 2026
5 of 6 checks passed
@mathix420
mathix420 deleted the fix-tags-badges branch July 27, 2026 08:48
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.

1 participant