Skip to content

Toggle Anonymous Mode slightly incorrect colors #11755

@williamschen23

Description

@williamschen23

Describe the bug

https://github.com/user-attachments/assets/a2a358f7-81b0-48be-a50d-498111bffa43
Anonymous color changes to black.
OP disappears after clicking the toggle
In Discussion forum for InstructorUI, we allow for deanonymouizing the student. When we try to do this, this changes the color to black and the OP that is suppose to be blue is also black for some reason.

Expected behavior

Same as the non-anonymous mode.
OP should not disappear

To Reproduce
Steps to reproduce the behavior:

  1. Make a forum post as a student
  2. Look at forum post as an instructor
  3. Toggle Anonymous mode (eyes)
  4. See error

before:
Image

after:
Image

Note: Losing color only happens on dark mode
Configuration

  • OS: [e.g. Windows, Linux, ...]
  • Browser [e.g. Chrome, Safari]

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions