cheeaun / cheeaun/phanpy

Respect (or remember) appearance preference on splash screen

Open
#402 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

**Is your feature request related to a problem? Please describe.**
My appearance preference is set to "auto", to follow my system's appearance, which is set to dark mode most of the time. But when i open Phanpy (installed as a PWA on my phone), the splash screen is in long mode.

This is my splash screen, though my phone is on dark mode and Phanpy's appearance set to auto:
![Screenshot_20240118-001659](https://github.com/cheeaun/phanpy/assets/27868414/39bfcff9-5f4a-47ff-9405-be8271b81b5d)

**Describe the solution you'd like**
Phanpy should remember whether it was in light or dark mode last time it was opened, and display the splash screen accordingly. Only then it should check the user's preference and make a change to the app's appearance, if relevant.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the PWA splash-screen startup path and the appearance-preference initialization. Trace how the saved light or dark mode and the system “auto” preference are applied; done means the splash screen matches the remembered appearance before any subsequent appearance update.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.