promote: dev → main (bookmarks fixes: SSR script tag, phantom save at cap) #123

Merged
admin_emi merged 2 commits from dev into main 2026-07-26 19:17:48 +00:00
Owner

Promotion of dev → main. Carries the two fixes that landed after PR #119 was merged.

Commits to carry (2):

  • b57e280a#120 frontend: load bookmarks-ui.js from the Go SSR home template too. Without this the bookmarks UI never loaded at all: the script tag had only been added to the old Python Jinja template, but the home page is rendered by the Go SSR service. Verified fixed on the running dev site.
  • 3ec72ca7#121 bookmarks: don't fabricate a local save when the server rejects it. add() in bookmarks.js fell back to a local-only save on any non-2xx, so a signed-in user at the 200-bookmark cap saw the star light up "Saved" for a bookmark that was never created, then watched it silently vanish on the next sync.

Verified on dev: home page loads the module, /api/v2/bookmarks live (401 not 404), bookmark table migrated at head 0004_bookmarks.

Not verified: the backend bookmark tests were not executed this run (stale local checkout, pytest blocked) — CI's build is the only evidence there.

Merge method must be merge, not squash — squashing a promotion rewrites history main already shares.

Promotion of dev → main. Carries the two fixes that landed after PR #119 was merged. **Commits to carry (2):** - `b57e280a` — #120 frontend: load `bookmarks-ui.js` from the Go SSR home template too. Without this the bookmarks UI never loaded at all: the script tag had only been added to the old Python Jinja template, but the home page is rendered by the Go SSR service. Verified fixed on the running dev site. - `3ec72ca7` — #121 bookmarks: don't fabricate a local save when the server rejects it. `add()` in `bookmarks.js` fell back to a local-only save on any non-2xx, so a signed-in user at the 200-bookmark cap saw the star light up "Saved" for a bookmark that was never created, then watched it silently vanish on the next sync. **Verified on dev:** home page loads the module, `/api/v2/bookmarks` live (401 not 404), `bookmark` table migrated at head `0004_bookmarks`. **Not verified:** the backend bookmark tests were not executed this run (stale local checkout, pytest blocked) — CI's build is the only evidence there. Merge method must be `merge`, not squash — squashing a promotion rewrites history main already shares.
admin_emi added 2 commits 2026-07-26 19:14:30 +00:00
frontend: load bookmarks-ui.js from the Go SSR home template too (#120)
All checks were successful
Build + push images (Forgejo registry) / build-push (backend) (push) Successful in 10s
Deploy / deploy (backend) (push) Successful in 11s
secrets-guard / encrypted (push) Successful in 9s
shell-lint / shellcheck (push) Successful in 16s
Build + push images (Forgejo registry) / build-push (frontend) (push) Successful in 49s
Deploy / deploy (frontend) (push) Successful in 58s
b57e280ad6
bookmarks: don't fabricate a local save when the server rejects it (#121)
All checks were successful
Build + push images (Forgejo registry) / build-push (backend) (push) Successful in 8s
Deploy / deploy (backend) (push) Successful in 8s
secrets-guard / encrypted (push) Successful in 6s
shell-lint / shellcheck (push) Successful in 12s
Build + push images (Forgejo registry) / build-push (frontend) (push) Successful in 41s
Deploy / deploy (frontend) (push) Successful in 53s
PR build (required check) / changes (pull_request) Successful in 6s
secrets-guard / encrypted (pull_request) Successful in 5s
PR build (required check) / build-backend (pull_request) Has been skipped
shell-lint / shellcheck (pull_request) Successful in 6s
PR build (required check) / validate-observability (pull_request) Has been skipped
PR build (required check) / build-frontend (pull_request) Successful in 41s
PR build (required check) / gate (pull_request) Successful in 2s
3ec72ca75b
admin_emi merged commit beb5fa5259 into main 2026-07-26 19:17:48 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Jinemi/thermograph#123
No description provided.