Skip to content

Pattern compliance cleanup across features #1995

@cd-rite

Description

@cd-rite

Summary

Systematic cleanup pass to align all features with established patterns (orchestrator pattern, error handling tiers, apiClient usage).

Split from #1925. Detailed tracking in `clientV2/docs/pattern-compliance-todo.md`.

Scope

  • CollectionView — error tier fixes (dual display, retry buttons)
  • MetaCollectionView — error handling, error capture in top-level fetches
  • CollectionMetrics — error tiers, console.log cleanup, optional chaining
  • AssetReview — bug fixes (retry no-op, stigRevisions guard, aggressive recent view removal)
  • Export components — migrate `inject('worker')` to `apiClient`
  • Cross-cutting — hardcoded colors/font sizes, `defineProps` imports, collectionId prop type consistency
  • Performance profiling with large collections

Reference

  • Detailed issue list: `clientV2/docs/pattern-compliance-todo.md`
  • Feature evaluation: `clientV2/docs/collectionViewFeatures-Eval.md`
  • Error handling patterns: `clientV2/docs/architecture/fetching-asyncDataOperations-ErrorHandling.md`
  • Orchestrator pattern: `clientV2/docs/components/LogicExtraction.md`

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-nextNext priority after current worknew-clientVue 3 client rewrite (clientV2)refinementPattern compliance, error handling, cleanup work

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions