sillsdev / sillsdev/languageforge-lexbox
Notify Linux users of new versions
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
Describe the feature
We don't have automatic install or download, but we can easily display a notification to linux users when there's a new version by calling https://lexbox.org/api/fwlite-release/should-update?appVersion={appVersion}&edition=Linux, most of the code needed is already in FwLiteReleaseService in the Maui project, it will need to be refactored a bit to move it into FwLiteShared, but a large chunk of that code will work there.
When an update is available, a notification should be shown in the web UI with a link to download it. This will be triggered via our event system and Published via the GlobalEventBus as a newly created event type. We don't want to show notifications for windows as that's already done via the windows app notifications.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with FwLiteReleaseService in the Maui project and trace how events are published through GlobalEventBus. Check the Linux should-update endpoint and the existing web UI notification flow. Done means Linux users see a download link when a new version is available, while Windows users do not receive this notification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100