Skip to content

C# note contrast illegible #52301

Closed

Description

@ShaunSHamilton

Describe the Issue

image

Affected Page

https://www.freecodecamp.org/learn/foundational-c-sharp-with-microsoft/foundational-c-sharp-with-microsoft-certification-exam/foundational-c-sharp-with-microsoft-certification-exam

Steps to Reproduce

  1. Complete all the trophy challenges
  2. Use night theme
  3. Navigate to the exam page

Expected behavior

UI to be legible.

Screenshots

No response

System

  • Browser: Chrome

Additional context

Light theme is fine image

Activity

  1. added
    status: waiting triage
    help wanted
    scope: UI
    platform: learn
    and removed
    status: waiting triage
    on Nov 9, 2023
  2. ShaunSHamilton commented on Nov 9, 2023

    @ShaunSHamilton
    MemberAuthor

    An issue with the help wanted Open for all. You do not need permission to work on these. label is open for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors.

    If you would like to contribute, and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/

    If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum

  3. Sriparno08 commented on Nov 11, 2023

    @Sriparno08
    Contributor

    Hey @ShaunSHamilton, I would like to work on this.

    Can you tell me the file that I will be working with?

  4. dmateen commented on Nov 11, 2023

    @dmateen
    Contributor

    Hey @ShaunSHamilton, how can we complete the trophy challenges when working in the dev environment?

  5. ShaunSHamilton commented on Nov 12, 2023

    @ShaunSHamilton
    MemberAuthor

    @Sriparno08 @dmateen To test locally, I just alter the database to have the relevant challenges in the completedChallenges array. That is, I db.user.update({email: "[email protected]"}, {$set:{completedChallenges: [...]}}), but I now see we have a pnpm run seed -- --seed-trophy-challenges flag.

  6. moT01 commented on Nov 13, 2023

    @moT01
    Member

    Taking a look at this, I noticed that the --seed-trophy-challenges flag doesn't work. This PR should fix that. Also, it was added that the surveys and exams get seeded when you run the seed command. So to see that alert - you need to seed the trophy challenges, and then delete the Survey collection.

  7. moT01 commented on Nov 13, 2023

    @moT01
    Member

    The file with the issue is here. The fix is to import Panel from @freecdoecamp/ui instead of react-bootstrap and give the Panel component a variant='info' prop and you should be able to remove the bsStyle='info' prop. I only played with it for a short time, but I think this will fix it all up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedplatform: learnscope: UI

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions