Skip to content

Conversation

@pafmoura
Copy link
Contributor

#1619 Adds a dynamic icon to home screen greeting that changes based on the time of day:

  • Displays β˜€οΈ between 6:00 AM and 5:59 PM (generic daytime)
  • Displays πŸŒ™ between 6:00 PM and 5:59 AM (generic nighttime)

In a more advanced implementation, if the user's country is available in their profile, we could use the average latitude and longitude in combination with the current date to estimate these times more accurately. However, this might be an over-engineered solution for the current use case.
Greeting Icon

lichess-org#1619 Adds a dynamic icon to home screen greeting that changes based on the time of day:
- Displays β˜€οΈ between 6:00 AM and 5:59 PM (generic daytime)
- Displays πŸŒ™ between 6:00 PM and 5:59 AM (generic nighttime)

In a more advanced implementation, if the user's country is available in their profile, we could use the average latitude and longitude in combination with the current date to estimate these times more accurately. However, this might be an over-engineered solution for the current use case.
 (Sorry, IDE missconfig)
Copy link
Contributor

@veloce veloce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@veloce veloce merged commit 25a55fd into lichess-org:main Apr 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants