Skip to content

Comments Access Warning Members They Probably Shouldn't #2943

@BeksOmega

Description

@BeksOmega

Describe the bug

Comments use warnings' UI when displaying in non-editable mode.

This means that comments need to access, and have knowledge of, things that they really shouldn't.

Slightly Prefered Solution

Comments should have their own UI for displaying non-editable mode.

Alternative Solutions

  • The UI for both warnings and non-editable comments should be put into a single class so that they're less tightly coupled.
  • Comments don't have special UI for non-editable mode. Instead changes to the comment aren't saved.

Additional context

Related: #2917

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions