Skip to content

feat(ui): show a message of the day on about one day in three - #1037

Merged
ixuz merged 1 commit into
mainfrom
daily-message
Nov 25, 2026
Merged

ixuz merged 1 commit into
mainfrom
daily-message

Conversation

@ixuz

@ixuz ixuz commented Nov 25, 2026

Copy link
Copy Markdown
Member

What and why

Learners rarely hear of features they haven't found. The project's own requests (ideas in Discussions, a star, donations) are only in the footer and on the About page. This adds a slim Message of the day strip at the top of the deck list, under the "New in Solid Memo" card.

  • Which days: the date alone decides, so every device shows the same message that day. The days since 1970 are split into blocks of three, with exactly one message day in each block. So there are never more than two message days in a row and never more than four days without one.
  • Which message: nine messages in all six app languages: donating (linking to the About page), Discussions, a star for the source code, and six "Did you know?" tips about features. They go round in a different shuffled order each round, so none comes back before the others have been shown.
  • Hide for today: the cross keeps the day in localStorage (solid-memo:dailyMessageDismissed) until the next day. Nothing is written to the pod.
  • No decks: an instance with no deck or course shows no strip. It has the course for newcomers to start with.

The list lives in packages/ui/src/ui/dailyMessages.ts. The new key is listed in api/browser-storage/ui.txt and docs/privacy.md, and the user guide describes the strip under "Your decks". The German, Spanish, French and Korean texts could use a native speaker's read.

Closes: #1036

@ixuz ixuz added enhancement New feature or request i18n labels Nov 25, 2026
@ixuz
ixuz enabled auto-merge November 25, 2026 16:54
@ixuz
ixuz added this pull request to the merge queue Nov 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 25, 2026
Learners rarely hear of features they haven't found, and the project's
own requests (ideas in Discussions, a star, donations) sit only in the
footer and on the About page. A slim strip above the deck list now shows
one of nine short messages on one day of every three, picked by the date
alone, so every device shows the same one and nothing but a hidden day
is kept. The days come in blocks of three with one message day each,
and the messages go round in a shuffled order, so the strip stays rare
and even rather than random. Hide for today keeps the day in
localStorage until the next one. An instance without a deck shows none:
it has the course for newcomers to start with.

Closes: #1036
@ixuz
ixuz added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit f63075f Nov 25, 2026
81 of 106 checks passed
@ixuz
ixuz deleted the daily-message branch November 25, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request i18n

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Learners rarely hear of features they haven't found, or of ways to take part in the project

1 participant