这是indexloc提供的服务,不要输入任何密码
Skip to content

Code Quality: Remove dead code from pruned features #13

@ayushnirwal

Description

@ayushnirwal

Description

Many features grandfathered in from screenity were already present in GoDAM's portal and they were removed. The code from such features is still present in the codebase. The features are only made unreachable by removing the respective UI elements. The code from pruned features should also be removed

Tasks

Below is an non-exhaustive list of files related to some of the pruned features provided as examples.

  • src/pages/Background/index.js - Many mesages declared in the main listeners are never sent.
  • src/pages/Sandbox/Sandbox.jsx - Commented out code.
  • src/pages/Content/popup/layout/announcement - Un-reachable
  • src/pages/Content/popup/popupcontainer - Commented out code
  • src/pages/Sandbox/layout/editor - Un-reachable code
  • src/pages/Sandbox/layout/player/Player.js - Unused imports

Acceptance criteria

  • Find all instances of unreachable or unused code.
  • Delete unreachable or unused code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions