summaryrefslogtreecommitdiff
path: root/src/token/secret.rs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-10-26 16:46:04 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-11-07 17:01:41 -0500
commit78d901328261d2306cf59c8e83fc217a63aa4a64 (patch)
treeb2999341645dec61e8143d7bb1b8a9d0056e0db1 /src/token/secret.rs
parent1f44cd930cdff94bb8cf04f645a5b035507438d9 (diff)
Add a button to the client to set up a push subscription.
Once a user has set up a push subscription, the client will re-establish it as needed whenever possible, falling back to manual intervention only when it is unable to create a push subscription. This change imposes some architectural changes to the client, though they're not huge: the `session` type now includes a body of state (`push`) whose methods also call into the Pilcrow API. Previously, calls to the API were not made within the `session` types, and were instead only made by page and layout code, but orchestrating that for the push subscription lifecycle proved too complex to deal with. This is an experimental alternative, but it might be something we explore further in the future.
Diffstat (limited to 'src/token/secret.rs')
0 files changed, 0 insertions, 0 deletions