Skip to content

cleanup(analytics): remove 826 lines of dead CSS from CodebaseAnalytics.vue (#2244)#2249

Merged
mrveiss merged 1 commit intoDev_new_guifrom
feat/issue-2244
Mar 24, 2026
Merged

cleanup(analytics): remove 826 lines of dead CSS from CodebaseAnalytics.vue (#2244)#2249
mrveiss merged 1 commit intoDev_new_guifrom
feat/issue-2244

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Mar 24, 2026

Summary

Removes 826 lines of dead CSS from CodebaseAnalytics.vue's <style scoped> section (1,073 → 247 lines, 77% reduction).

After component extractions in PR #2236 (#1579), many CSS selectors targeted elements that now live in child components. Since Vue's <style scoped> only applies to the component's own template, these selectors had zero effect.

Removed selector groups

  • Dashboard panel styles (.enhanced-analytics-grid, .metrics-grid, .metric-item, etc.)
  • ProblemsReportSection styles (.summary-cards, .severity-card, .problem-item, .badge-*, etc.)
  • ChartsSection styles (.stats-section, .stats-grid, .stat-value, .stat-label)
  • CodebaseSecurityPanel styles (.code-intelligence-section, .code-intel-tabs, etc.)
  • AnalyticsHeaderControls styles (.source-selector-row, .btn-debug, .btn-secondary, etc.)
  • Duplicate .analytics-section rule merged

File impact

  • Total: 4,148 → 3,322 lines (-20%)
  • Style section: 1,073 → 247 lines (-77%)
  • Template and script sections: untouched

Test Plan

  • vue-tsc --noEmit passes with zero errors
  • Verify analytics page renders correctly (no visual regressions)

Closes #2244

🤖 Generated with Claude Code

…cs.vue (#2244)

After component extractions in PR #2236, many CSS selectors in the parent's
<style scoped> targeted elements that now live in child components. Since
Vue scoped styles only apply to the component's own template, these were dead.

Removed selector groups for: dashboard panels, ProblemsReportSection,
ChartsSection, CodebaseSecurityPanel, AnalyticsHeaderControls, and others.

Style section reduced from 1,073 to 247 lines (77% reduction).
@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

@mrveiss mrveiss merged commit 6dec017 into Dev_new_gui Mar 24, 2026
2 of 3 checks passed
@mrveiss mrveiss deleted the feat/issue-2244 branch March 24, 2026 16:06
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