Backlog.md icon indicating copy to clipboard operation
Backlog.md copied to clipboard

BACK-487/488 - SSL fetch error handling, wiki pasted image promotion (split 6/9 of #669)

Open MrLesk opened this issue 5 months ago • 0 comments

[!NOTE] Maintainer-split slice 6/9 of #669. All commits are authored by @kuwork — I only rebased them onto current main and resolved conflicts. Merge with Rebase and merge to keep the per-task commits and original authorship.

Stack

Based on pr669/5-search-sidebar-board (slice 5). Review only the two commits unique to this PR. After the previous slice merges, restack with git rebase --onto main pr669/5-search-sidebar-board pr669/6-net-wiki-fixes.

Tasks in this slice

BACK-487 — Gracefully handle SSL network errors in GitOperations.fetch

  • src/git/operations.ts: wrap fetch() and map SSL errors to a user-friendly GitError
  • src/test/git.test.ts: SSL error handling tests

BACK-488 — Fix wiki pasted images not promoted on save

  • WikiDetail.tsx: on save, promote .temp/ assets via the existing asset promotion API and rewrite URLs — matches task/document editor behavior

Notes

  • Smallest slice; BACK-487 is fully standalone and could merge independently of the wiki decision (it only sits at this stack position because of commit order).
  • Validated at this tip: bun install --frozen-lockfile, bunx tsc --noEmit.

Original combined PR: #669.

Full stack: #675 editor/paste → #676 wiki → #677 i18n → #678 doc editing → #679 search/sidebar → #680 fixes → #681 dates/stats → #682 Gantt → #683 timezone/polish — split from #669, all commits authored by @kuwork.

MrLesk avatar Jun 09 '26 22:06 MrLesk