WordPress / openverse

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
https://openverse.org
MIT License
250 stars 202 forks source link

Dark mode #3592

Open fcoveram opened 10 months ago

fcoveram commented 10 months ago

Description

Include a feature that changes the UI from light to a dark color scheme.

Background

Dark mode is a product-wide setting that adapts the user interface to provide a comfortable experience in low-light environments and, in some cases, improve accessibility for those with visual impairments, as pointed out by NN/g.

As described in Material Design documentation, dark themes also reduce the luminance emitted by device screens and conserve battery power, as devices with OLED screens benefit from the ability to turn off black pixels at any time of day.

Documents

Designs

Milestones/Issues

These milestones can be worked on in parallel:

Launch Plan

See launch plan here.

zackkrida commented 8 months ago

Hi @fcoveram! Once you're ready with some preliminary designs, it would be excellent if you could update the project status and begin a proposal. The priority here hasn't changed or anything, I'm just following up on last month's priorities meeting.

fcoveram commented 7 months ago

Update 2024-03-25

openverse-bot commented 6 months ago

Hi @fcoveram, this project has not received an update comment in 14 days. Please leave an update comment as soon as you can. See the documentation on project updates for more information.

fcoveram commented 6 months ago

Update on 2024-04-16

openverse-bot commented 6 months ago

Hi @fcoveram, this project has not received an update comment in 14 days. Please leave an update comment as soon as you can. See the documentation on project updates for more information.

fcoveram commented 6 months ago

Update on 2024-05-01

zackkrida commented 6 months ago

The implementation plan for the project is approved and merged.

Next, I will create issues and milestones for the project. Once created I will outline the workflows and link to the milestones in the project issue body. At that point I will move the project to "On Hold" while we work on the Nuxt 3 migration. This will not be worked on until that project is completed, or is again put on hold due to limiting circumstances.

zackkrida commented 5 months ago

Update 05-10-2024

All issues and milestones have been created and added to the parent issue ✨. The project is ready to be worked on but will be moved to "On Hold".

There is some remaining work around color names that I raised here and am awaiting reply.

fcoveram commented 5 months ago

Update 14-05-2024

cc: @zackkrida

zackkrida commented 3 months ago

Update 2024-07-31

I've initialized work on dark mode in light of the successful Nuxt 3 deployment. I've put up a PR for the first part of the "color palette" milestone. That milestone introduces the dark mode colors but doesn't expose them to end users.

https://github.com/WordPress/openverse/pull/4687

I've also created an initial PR to add the dark mode color palette. It's close to being ready for review:

https://github.com/WordPress/openverse/pull/4690

After that, the first milestone will be closed when we add visual regression tests and store screenshots for the dark version of components.

zackkrida commented 2 months ago

Update 2024-08-12

The first dark mode milestone is nearly completed, with one issue remaining #4305.

But first, we need to do two things:

Once those are both completed, we can "lock in" the visual regression tests for dark mode.

Given that our Storybook Playwright tests are paused, I will constrain the scope of that issue to creating dark mode page screenshots for now.

openverse-bot commented 2 months ago

Hi @zackkrida, this project has not received an update comment in 14 days. Please leave an update comment as soon as you can. See the documentation on project updates for more information.

zackkrida commented 2 months ago

Update 2024-08-27

Progress! Dark mode is under extensive community review in #4783, with @obulat already pushing some improvements in #4808.

Work has begun on the second milestone. I've started writing the basic prerequisites in #4809 and #4810, while @dhruvkb plans to implement the Dark mode toggle component.

fcoveram commented 2 months ago

Yesterday, I spent half a day cleaning up some views to support dark mode. If you have edit permission in the Design Library, you can easily switch the theme of mockup sections marked as "ready for dev."

To avoid unintentional changes in the file, it is highly recommended that you switch between design and dev modes (Shift + D) and use the hand tool (H) to move around the file.

https://github.com/user-attachments/assets/52f0edcc-ca47-422b-a412-954325970713

openverse-bot commented 1 month ago

Hi @zackkrida, this project has not received an update comment in 14 days. Please leave an update comment as soon as you can. See the documentation on project updates for more information.

dhruvkb commented 1 month ago

Update 2024-09-19

[!IMPORTANT] The notice currently points to the Make site. The URL must be updated when the Make post has been published. https://github.com/WordPress/openverse/blob/3ac64779288c09db9ba7ff677a265b3a0c4a3984/frontend/src/components/VFeatureNotice/VDarkModeFeatureNotice.vue#L16

openverse-bot commented 1 month ago

Hi @zackkrida, this project has not received an update comment in 14 days. Please leave an update comment as soon as you can. See the documentation on project updates for more information.

openverse-bot commented 2 weeks ago

Hi @zackkrida, this project has not received an update comment in 14 days. Please leave an update comment as soon as you can. See the documentation on project updates for more information.

obulat commented 3 days ago

Update 2024-10-30

Done

The work on the two dark mode milestones has finished. Here are some bigger issues closed recently:

To do

New issues were identified after the milestones were closed:

Follow-up work

According to the project launch plan, we will need to write a make post and start the launch after the issues in the todo are done. Note that we might need to do one more testing after the dark mode is launched on staging before publicizing the launch.