Introduce a new Google Tasks workspace mode that performs a one-way,
read-only pull from the Google Tasks API into the local
FileSystemStorage format. This adds a Google Tasks client (token
refresh, paginated list fetching, stable UUID v5 mapping), desktop
PKCE+loopback OAuth flow (Android stub), credential storage, workspace
creation and sync commands, UI flows for sign-in/creation, and guards to
disable write operations for Google Tasks workspaces. Changes also
include Cargo dependency updates and exports to wire the new module into
the app.
Hide editing UI for Google Tasks workspaces
Make Google Tasks workspaces read-only by hiding editing controls and
the FAB when app.isGoogleTasks is true. This prevents rename,
delete-completed, and new-task actions in read-only Google Tasks
workspaces and adjusts menu options (Rename removed, Group by due date
and Show subtasks remain with proper toggles). The change clarifies the
UX for Google Tasks by disabling interaction where appropriate and
conditionally showing the FAB only for editable workspaces.
Add Google Tasks workspace (read-only)
Introduce Google Tasks as a third workspace mode to allow one-way,
read-only sync from the Google Tasks API into local FileSystemStorage.
This includes a new WorkspaceMode::GoogleTasks, workspace google_account
metadata, a GoogleTasks client and sync logic (with stable UUID v5 task
IDs), OAuth PKCE+loopback flow for desktop (Android uses a
credential-manager stub), UI changes to mark Google Tasks workspaces as
read-only and disable write operations, and commands to create and sync
Google Tasks workspaces. Dependency updates add sha2/sha1_smol/reqwest
for OAuth and API calls.
when I go to create a google tasks workspace, I see the content associated with creating a webdav workspace as part of the interface
- SetupScreen.svelte: fixed template structure where WebDAV branches lacked mode === "webdav" guards, causing them to render when mode === "googletasks"; folded Google Tasks steps into the main if/else chain and removed the separate Google Tasks {#if} block that was appending below the WebDAV content
32 lines
863 B
TOML
32 lines
863 B
TOML
[package]
|
|
name = "onyx-core"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Core library for local-first task management with markdown storage and WebDAV sync"
|
|
license = "GPL-3.0-or-later"
|
|
repository = "https://github.com/SteelDynamite/onyx"
|
|
|
|
[features]
|
|
default = ["keyring-storage"]
|
|
keyring-storage = ["keyring"]
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
serde_json = "1.0"
|
|
serde_yaml = "0.9"
|
|
uuid = { workspace = true, features = ["v5"] }
|
|
chrono = { workspace = true }
|
|
directories = "5.0"
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
sha2 = { workspace = true }
|
|
quick-xml = { workspace = true }
|
|
tokio = { workspace = true }
|
|
keyring = { version = "3", features = ["apple-native", "windows-native", "sync-secret-service"], optional = true }
|
|
zeroize = "1"
|
|
log = "0.4"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.0"
|
|
wiremock = "0.6"
|
|
tokio = { workspace = true }
|