Repository navigation
Add QfNewsParser to expose opt-in QField blog news items - #8082
Merged
Merged
Conversation
Collaborator
🍎 MacOS DMG universal buildsDownload a MacOS DMG universal build of this PR for testing. 📱 Android buildsDownload an Android arm64 build of this PR for testing. Other Android architectures🪟 Windows buildsDownload a Windows build of this PR for testing and for arm64. (Built from commit 52cb9d0) 🐧 Linux AppImage buildsDownload a Linux AppImage build of this PR for testing. |
nirvn
reviewed
Oct 2, 2026
kaustuvpokharel
force-pushed
the
newsHandler
branch
from
October 12, 2026 14:59
211b091 to
697de38
Compare
nirvn
reviewed
Oct 13, 2026
kaustuvpokharel
force-pushed
the
newsHandler
branch
from
October 14, 2026 15:26
697de38 to
4a03fa3
Compare
nirvn
reviewed
Oct 15, 2026
nirvn
approved these changes
Oct 15, 2026
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.
This pr adds QfNewsParser, which reads an RSS feed (the qfield.org blog) and shows the latest posts as cards on the welcome screen
News is opt-in. Only posts published after the user turns it on, and within the last 30 days, are shown. Each card has a title, a short description, a Read more button that opens the post, and an X to dismiss it. Either way, a handled post wont come back. When there is more than one post, you can swipe between them and dots show where you are. Nothing is fetched while the option is off, and the last fetched feed is cached so the cards still show offline.
Also in here:
htmlToPlainTextmoved toQfStringUtilsso plugins can use itScopedIniSettingsmoved intotest/testutils.h, shared by the four tests that use itQfWelcomeCard.Panelgets acloseClickedsignal and acollapseOnCloseproperty, so a panel can handle its own X (defaults keep the existing cards unchanged)Demo, on clicking read more, it redirects you to the blog site which is missing in the video
Screen.Recording.2026-10-12.at.10.54.56.AM.mov