docs(readme): document desktop app setup, build process, and clean up stray files #23
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/desktop-readme-and-cleanup"
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?
Summary
Part of release-readiness to-do list (Task 3).
Problem
README.mdlacked documentation for the Tauri v2 / Svelte 5 desktop application, backend URL configuration, and release artifact locations.test_mcp.js,backend/pom.xml.versionsBackup) were present in the repository.tauri.conf.json.Solution
README.mdwith complete documentation for desktop app prerequisites, dev mode, build commands, and artifact naming conventions.VITE_API_URL.webviewInstallMode: { type: "embedBootstrapper" }intauri.conf.json.*.versionsBackupto.gitignore.Review — PR #23 (README + cleanup)
Solid improvement overall — the README rewrite is a genuine upgrade and the junk-file removal is correct. A few accuracy nits and one ordering concern.
Correct
test_mcp.jsandbackend/pom.xml.versionsBackupis right (both are stray, and I confirmedtest_mcp.jshas no references anywhere).*.versionsBackupto.gitignoreis the right guard so the file can't sneak back in.webviewInstallMode: embedBootstrapperis a good call for a reliable Windows install.npm run tauri dev,npm run tauri build, backend URL config) is accurate and useful.Accuracy — the
webviewInstallModeJSON is missing thesilentfieldYou added:
The Tauri schema for
embedBootstrapperincludes asilentflag (defaultstrue). It's optional, so this is valid — but if you intended silent install, be explicit:Not a blocker, just clarity. (Note: PR #24 doesn't touch this, so no conflict there.)
Accuracy — README version literals will drift
The README hardcodes
backend-1.13.0-exec.jar,inventory-manager-desktop_1.13.0_amd64.deb,Inventory Manager_1.13.0_x64-setup.exe, etc. Those are correct today but will be stale the moment the next version is cut. Consider using a placeholder or a "check the bundle dir for the exact filename" note instead of pinning version numbers in prose. Minor.Ordering concern — overlaps with PR #20 (draft)
This branch is based on
dev, and it independently re-does the same cleanup + README + tauri changes that already exist in draft PR #20 (chore/release-readiness). When both targetdev, one will conflict onREADME.mdandtauri.conf.json. Recommend: close/retire #20 (or rebase it to consume this) so there's a single source of truth for the README and tauri config changes. Duplicate-but-divergent edits to the same files across two open PRs is asking for a messy merge.Bottom line
Mergeable after confirming the
silentfield intent and deciding how to reconcile with #20. Content is accurate and well-organized; no code correctness issues.Review Fixes Applied
"silent": trueonwebviewInstallModeindesktop/src-tauri/tauri.conf.json.README.mdto dynamic<version>placeholders so prose does not drift.Re-review — follow-up
Both nits are addressed in
972192a:webviewInstallModenow has"silent": true— explicit, good. ✓<version>/backend-*-exec.jarplaceholders — no more drift. ✓Still open: overlap with draft PR #20
This is the one thing I'd resolve before merge. This PR and the still-open draft
#20 chore/release-readinessboth:test_mcp.jsandbackend/pom.xml.versionsBackupdesktop/src-tauri/tauri.conf.json(webview install mode)README.mdThey're separate branches based on
dev, so whichever merges second will hit conflicts onREADME.mdandtauri.conf.json— and they're making slightly different edits (e.g. #20 setsembedBootstrapperwithsilent, this one also sets it). Two divergent edits to the same files across two open PRs is the thing to avoid.Recommendation: close draft #20 (or rebase it to only track the checklist as a PR body with no overlapping file changes) and let this PR be the canonical source for the README/cleanup/tauri changes. Otherwise the merge order will decide which version of the truth survives.
Otherwise
Content is accurate, cleanup is correct,
*.versionsBackupgitignore guard is good. Ready to merge once the #20 overlap is settled.Follow-up — draft #20 is now closed
Quick note: I closed draft PR #20 (
chore/release-readiness) — the overlap I flagged is now resolved, and this PR can proceed as the canonical source for the README/cleanup/tauri changes. No merge-order conflict remains.One small cross-reference
This PR sets
webviewInstallMode: embedBootstrapper. That's correct and independent — no conflict with PR #24 (which uses--bundles nsisat build time but doesn't touch this config). Nothing further needed here.This is ready to merge from my side once the README accuracy looks good to you.