Compare commits
3 Commits
v1.24
...
someday-in
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
adcf79fdcc | ||
|
|
d7c55a3c19 | ||
|
|
5337f74a86 |
@@ -20,7 +20,10 @@
|
||||
},
|
||||
"submit": {
|
||||
"production": {
|
||||
"ios": {}
|
||||
"ios": {
|
||||
"ascAppId": "6809718684",
|
||||
"appleTeamId": "HZ6XCKM95R"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
42
app/public/privacy.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>GTD: Next Up — Privacy Policy</title>
|
||||
<style>
|
||||
body { font: 17px/1.55 -apple-system, system-ui, sans-serif; color: #16161A; background: #F7F7F9; margin: 0; padding: 40px 20px; }
|
||||
main { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #E6E6EB; border-radius: 16px; padding: 32px; }
|
||||
h1 { font-size: 28px; letter-spacing: -0.5px; margin: 0 0 4px; }
|
||||
.meta { color: #6E6E76; margin-bottom: 24px; }
|
||||
h2 { font-size: 18px; margin: 28px 0 8px; }
|
||||
a { color: #2F6FED; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>Privacy Policy</h1>
|
||||
<p class="meta">GTD: Next Up · Effective 8 September 2026</p>
|
||||
|
||||
<p>GTD: Next Up is a self-hosted to-do app. The developer does not run a service for you and does not collect, store, sell or share any of your data.</p>
|
||||
|
||||
<h2>What the app stores</h2>
|
||||
<p>Your tasks, projects and settings are stored on your device. If you enter a server URL and API token in Settings, the app syncs those tasks and projects with that server. That server is chosen and operated by you, not by the developer.</p>
|
||||
|
||||
<h2>What the developer receives</h2>
|
||||
<p>Nothing. The app contains no analytics, no advertising, no crash reporting and no third-party SDKs that phone home. The developer has no way to see your tasks or your server.</p>
|
||||
|
||||
<h2>Network access</h2>
|
||||
<p>The app only connects to the server address you enter. It makes no other network requests.</p>
|
||||
|
||||
<h2>Your rights</h2>
|
||||
<p>Because your data lives on your device and your own server, deleting it is entirely in your hands: delete the app, or remove the rows from your server.</p>
|
||||
|
||||
<h2>Changes</h2>
|
||||
<p>If this policy changes, the new version will be published at this address with a new effective date.</p>
|
||||
|
||||
<h2>Contact</h2>
|
||||
<p>Questions: open an issue at <a href="https://git.rehbock.xyz/marcus/gtd">git.rehbock.xyz/marcus/gtd</a>.</p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
BIN
app/screenshots/01-next-up.png
Normal file
|
After Width: | Height: | Size: 287 KiB |
BIN
app/screenshots/02-today.png
Normal file
|
After Width: | Height: | Size: 390 KiB |
BIN
app/screenshots/03-lists.png
Normal file
|
After Width: | Height: | Size: 293 KiB |
BIN
app/screenshots/04-work-next.png
Normal file
|
After Width: | Height: | Size: 260 KiB |
BIN
app/screenshots/6.5/01-next-up.png
Normal file
|
After Width: | Height: | Size: 374 KiB |
BIN
app/screenshots/6.5/02-today.png
Normal file
|
After Width: | Height: | Size: 491 KiB |
BIN
app/screenshots/6.5/03-lists.png
Normal file
|
After Width: | Height: | Size: 385 KiB |
BIN
app/screenshots/6.5/04-work-next.png
Normal file
|
After Width: | Height: | Size: 333 KiB |
@@ -124,3 +124,37 @@ describe("area lens", () => {
|
||||
expect(spawned.area).toBe("work");
|
||||
});
|
||||
});
|
||||
|
||||
describe("someday tasks that belong to a project", () => {
|
||||
const somedayIds = () => store.tasksByStatus(store.getState(), "someday").map((t) => t.id);
|
||||
|
||||
test("stay off the Someday list while their project is live", () => {
|
||||
const proj = store.createProject({ name: "Move to USA" });
|
||||
const loose = store.createTask({ title: "learn the cello", status: "someday" });
|
||||
const step = store.createTask({ title: "ship the boxes", status: "someday", project_id: proj.id });
|
||||
|
||||
expect(somedayIds()).toContain(loose.id);
|
||||
expect(somedayIds()).not.toContain(step.id);
|
||||
// still counted on the project, so it is reachable from the Projects list
|
||||
expect(store.openTaskCount(store.getState(), proj.id)).toBe(1);
|
||||
});
|
||||
|
||||
test("come back to Someday when the project is dropped or completed", () => {
|
||||
const proj = store.createProject({ name: "Old idea" });
|
||||
const step = store.createTask({ title: "parked step", status: "someday", project_id: proj.id });
|
||||
expect(somedayIds()).not.toContain(step.id);
|
||||
|
||||
store.updateProject(proj.id, { status: "completed" });
|
||||
expect(somedayIds()).toContain(step.id);
|
||||
|
||||
store.updateProject(proj.id, { status: "active" });
|
||||
store.dropProject(proj.id);
|
||||
expect(somedayIds()).toContain(step.id);
|
||||
});
|
||||
|
||||
test("other lists are unaffected by project membership", () => {
|
||||
const proj = store.createProject({ name: "Things to Buy" });
|
||||
const next = store.createTask({ title: "buy towel", status: "next", project_id: proj.id });
|
||||
expect(store.tasksByStatus(store.getState(), "next").map((t) => t.id)).toContain(next.id);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -369,8 +369,22 @@ function byManualOrder(a: Task, b: Task): number {
|
||||
return a.sort_order - b.sort_order || byPriorityDue(a, b);
|
||||
}
|
||||
|
||||
/**
|
||||
* A someday task that belongs to a project lives on that project's page, not in
|
||||
* the Someday list — otherwise a project's parked steps drown the real
|
||||
* someday/maybe ideas. Tasks whose project is gone, dropped or completed stay
|
||||
* in Someday so they can never become invisible.
|
||||
*/
|
||||
function shownOnProjectPage(s: State, t: Task): boolean {
|
||||
if (!t.project_id) return false;
|
||||
const p = s.projects.find((x) => x.id === t.project_id);
|
||||
return !!p && p.status !== "dropped" && p.status !== "completed";
|
||||
}
|
||||
|
||||
export function tasksByStatus(s: State, status: Task["status"]): Task[] {
|
||||
return inArea(s, s.tasks).filter((t) => t.status === status).sort(byManualOrder);
|
||||
return inArea(s, s.tasks)
|
||||
.filter((t) => t.status === status && !(status === "someday" && shownOnProjectPage(s, t)))
|
||||
.sort(byManualOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||