mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #582] [MERGED] Clarify updater apply availability #4683
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4683
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/582
Author: @cha1latte
Created: 5/9/2026
Status: ✅ Merged
Merged: 5/9/2026
Merged by: @cha1latte
Base:
main← Head:fix/issue-537-updater-availability📝 Commits (2)
e380f7fClarify updater apply availability1dbe665Address updater count review feedback📊 Changes
4 files changed (+69 additions, -18 deletions)
View changed files
➕
docs/pr-evidence/issue-537/disabled-apply-desktop.png(+0 -0)➕
docs/pr-evidence/issue-537/disabled-apply-mobile.png(+0 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+41 -18)📝
packages/server/src/routes/updates.routes.ts(+28 -0)📄 Description
Linked issue
Closes #537
Why this change
What changed
/api/updates/checkso the frontend can know when browser-side apply is disabled or unsupported before a user clicks.Apply Updatewhen apply is unavailable and show install-specific guidance instead.origin/mainand may include unreleased development commits, not just tagged releases.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checksuccessfully.http://127.0.0.1:7861/api/updates/checkand confirmed it returnedapplyAvailable,updatesApplyEnabled, andapplyUnavailableReason.http://127.0.0.1:5174with an intercepted update-check response simulating26commits behind and disabled apply. It confirmed:26 commits behind origin/mainrendered.Apply Updatebutton rendered.Docs and release impact
No docs, version, or release files were changed. This is inline updater UI/API clarity for an existing feature.
UI evidence (if applicable)
Disabled apply state, desktop:
Disabled apply state, mobile:
Summary by CodeRabbit
Release Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.