Skip to content

Duplicate _DOMAINS definition in config.py and sidebar.py #7

Description

@AshayK003

Problem

_DOMAINS is defined as a set in config.py:43 and as a list in sidebar.py:10 with the same values. Adding or changing a domain requires updating two files.

Solution

Keep _DOMAINS in config.py as the single source of truth. Import it in sidebar.py.

Acceptance Criteria

  • Single _DOMAINS definition
  • No behavior change

Difficulty: Easy

Metadata

Metadata

Assignees

No one assigned

    Labels

    DRYDRY principle violationsduplicate-logicDuplicated code across files

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions