workbenchdev / workbenchdev/Biblioteca

In dark mode the webview flashes

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
69
Forks
11
PR merge metrics
No merged PRs in 30d

Description

If you start the app in dark mode, there is a bright flash between the time the webview was drawn and the documentation was lodaded.

The reason for that is that the default background color of the webview is white.

We should change the color in dark mode so there is no flash. There is code in Tangram for that IIRC

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the webview creation and initialization code in the Biblioteca repository, then compare it with the dark-mode webview handling in Tangram. Confirm the startup sequence in dark mode and make the webview background match it before documentation loads, with no bright flash visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.