Skip to content

Improvement: simplify className construction in TaskCard #26

@hydraInsurgent

Description

@hydraInsurgent

TL;DR

The outer div in TaskCard builds its className using chained template literal interpolations which are harder to read.

Current State

Conditional classes are concatenated inline with back-to-back template expressions.

Desired State

Conditional class strings are extracted to named variables above the return statement for clarity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementEnhancement to existing functionalitypriority-lowNice to have, low urgency

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions