bjones1 / CodeChat_system

3 stars 12 forks source link

Dark-mode support #12

Open bjones1 opened 3 years ago

bjones1 commented 3 years ago

The client only supports light mode, which means it doesn't work well for the default VS Code theme. Figure out how to provide dark mode.

bjones1 commented 2 years ago

Some notes/hints on this:

DisarmedRemo66 commented 2 years ago
  1. Describes the feature you will add. In Visual Studio Code, the CodeChat client only has a light mode. Theme’s do not apply to CodeChat. The feature we will be adding will be either having an installed them also apply to the client or having whatever mode you pick for Visual Studio Code to also apply.

  2. Defines which repository/repositories your code will be added to. The repositories we will be working in will be the CodeChat_System, but specifically between the CodeChat_Client.css and CodeChat_Client.html.

  3. Specifies what libraries, languages, and interfaces your code must work with. Languages that will need to be used will be CSS and HTML by bouncing between the CodeChat_Client files. Details a series of steps you will follow to complete this feature.

  4. Our first steps will be to begin working with the CSS and show that we can create changes in it. We will start small and add incremental changes while updating the version number so that we can test different settings changes in the CSS. Once we can effectively update the CSS and test it, we’ll begin making more substantial changes revolving around changing Code Chat’s theme and testing for discrepancies when using either dark mode or a high contrast theme setting.

  5. Defines tests to show the feature works correctly. Some testing ideas will be to create code chat documents that use a wide variety of code chat features including titles, headers, bold, italics, etc. We can then test that our code holds up with no visual bugs that may be caused by different themes.

  6. Outlines goals for scrum 1 and scrum 2. For Scrum 1, we feel that our goal should be to have a good understanding of working with the CSS and updating it to where we can accurately access our code changes when updating different theme aspects. This will mean that we will begin having to work with injecting code into the CSS using JavaScript to work with the iFrame that Code chat uses.

By Scrum 2, we will begin working on the task of incorporating theming into code chat and working through errors caused by these themes, such as the entire page becoming black but none of the characters changing to a more visible color such as white.

bjones1 commented 2 years ago

This looks good. Some thoughts / ideas:

Essentially, I think you're creating another CodeChat_Client.css for dark mode. You could think of this as a set of themes -- light mode, dark mode, colorful, austere, etc. This brings up several things to think about:

DisarmedRemo66 commented 2 years ago

Here is documentation related to our Dark Mode WIP: Dark Mode Documentation.docx