Skip to content

Saved calculation history for signed-in users #115

Description

@YurMil

Store a signed-in user's recent calculations (utility id + input snapshot + timestamp) so they can reopen previous work from their profile.

Builds on the shareable-link input serialization (same versioned schema) and the existing Supabase infrastructure (user_settings / user_utility_usage patterns, RLS per user).

Why: recurring calculations (same vessel family, similar orders) are the norm in this domain; history turns a one-off visit into a returning habit and gives an account real utility.

Acceptance criteria:

  • History list in the profile with reopen action
  • RLS: each user sees only their own entries; capped per user with oldest-first eviction
  • Delete-account flow wipes history (extend existing self-service functions)
  • Localized UI in all 6 locales


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #115 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @YurMil (replace 20 with the amount, and @YurMil with the user to tip).

📖 If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions