feat: replace X-space banner with latest newsletter update banner - #3343
Open
m4r1m0 wants to merge 1 commit into
Open
feat: replace X-space banner with latest newsletter update banner#3343m4r1m0 wants to merge 1 commit into
m4r1m0 wants to merge 1 commit into
Conversation
m4r1m0
force-pushed
the
feat/latest-update-banner
branch
from
September 1, 2026 00:21
c4d3840 to
ff14799
Compare
Author
|
I did it this way because it was quickest and only required updating Tari Universe as opposed to updating the website first and then updating Tari Universe. But if there's time, or in the future, it might be best to add an RSS feed to the website and pull the newsletters to TU that way |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Replaces the X-Space event banner in the top-right corner of the app with a "latest update" banner that links to the newest Tari newsletter published on https://tari.com/updates.
Motivation and Context
The top-right banner previously promoted X Space events via the airdrop backend. It now links to the latest Tari newsletter instead, always showing the newest one without an app update: the backend fetches the updates listing hourly, detects changes, and pushes them to the UI automatically via a Tauri event.
How Has This Been Tested?
pnpm lint(eslint + knip + tsc) passespnpm test— 1054 tests pass (X-space store test cases removed)cargo fmt --checkpasses; new Rust module compiled, clippy-clean, 3 unit tests for the HTML parser passhttps://tari.com/updates/2025-02-14-update-142/ "Obeisance of the Ootle")cargo checkof the Tauri crate still to run on a machine with GTK dev libraries installedWhat process can a PR reviewer use to test or verify this change?
pnpm tauri dev)Caveat
The banner resolves the latest update by parsing https://tari.com/updates, which lists entries from the
_updates/collection of the tari-dot-com website repo. The newsletter must be published as a new entry on that page for the banner to pick it up. This is also documented insrc-tauri/src/latest_update.rs.Breaking Changes