Add reading plans: catalog, progress tracking, and custom plans
Replaces the old single-book reading goal with a full Reading Plans page: 9 built-in plans (Whole Bible, OT/NT, topical) with cover photos and color-themed cards, day-by-day checklists synced to the server per user, inline "mark today read" in the Bible reader, and user-created plans with their own book picker and an optional uploaded cover photo. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f1026dc194
commit
600b3d3ab9
21 files changed
+1166
-159
No files matched your search
@@ -65,6 +65,20 @@ export async function deleteRemoteProject(id) {
|
||||
return request('DELETE', `/projects/${id}`);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Reading plan progress
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/** Returns the signed-in user's whole reading-plan progress list. */
|
||||
export async function getRemoteReadingProgress() {
|
||||
return request('GET', '/reading-plans');
|
||||
}
|
||||
|
||||
/** Overwrites the signed-in user's whole reading-plan progress list. */
|
||||
export async function saveRemoteReadingProgress(progress) {
|
||||
return request('PUT', '/reading-plans', progress);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Read-only share links
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user