Skip to content

Refactor: Consolidate load indicator logic and improve theme utils#42

Open
poketonova wants to merge 1 commit into
mainfrom
dev-agent-refactor-load-indicator-2026-06-25
Open

Refactor: Consolidate load indicator logic and improve theme utils#42
poketonova wants to merge 1 commit into
mainfrom
dev-agent-refactor-load-indicator-2026-06-25

Conversation

@poketonova

Copy link
Copy Markdown
Collaborator

This automated contribution focuses on code quality and internal consistency:

  1. Refactor CardLoadIndicator.vue: Consolidates the loading speed calculation by reusing the speed computed property within the timeLeft logic. This reduces redundancy and ensures that time estimates are consistent across different parts of the UI.
  2. Improve theme.js: Adds an isLight() helper function to complement the existing isDark(). This improves developer ergonomics and provides a more complete API for theme-related logic.

These changes are small, safe, and improve the maintainability of the codebase.

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pokemon-collectr Ready Ready Preview, Comment Jun 25, 2026 3:02pm

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