8000 Leftovers from the parent product: Canadian-dollar estimates, "your own key", account deletion · Issue #310 · alexbeeken/skrongle-mini · GitHub
[go: up one dir, main page]

Skip to content

Leftovers from the parent product: Canadian-dollar estimates, "your own key", account deletion #310

Backlog

Description

@alexbeeken

Mini has no plans, no metering, no per-learner keys, no e-mail and no account deletion. These still talk as if it had. The first two are visible to people using it.

Visible on screen:

  • The Generate dialog's cost estimate is in Canadian dollars "like its plans", for a self-hoster paying a provider in US dollars: src/routes/courses/generate.rs:60-68 (CAD_CENTS_PER_USD, to_cad), :121, data-cad-cents; static/gen-estimate.js:23-24; courses.js.estimate_cost: "roughly CA${cost}" in six languages; docs/features.md:169-174. Show US dollars, the unit the price table is in.
  • "Your own key" wording in i18n/en.yaml:502, :1706, :1854, :2272 (and the other five languages). Keys are the server's, set by the owner on Manage Users.
  • docs/api.md:6 and docs/connect-an-assistant.md:7 mention an "AI allowance". docs/faq.md:89 and docs/self-hosting.md:743 describe deleting an account, which no screen or command does.

In code:

  • Account deletion: the three drop_user methods, users.delete_at, .profile-delete CSS, and futures-core in Cargo.toml kept "for exports.rs", which does not exist.
  • Compatibility with databases mini never had: refusing one with username or google_sub columns (src/db.rs:54-62, :73-75, :325-327, about 15 lines and a test).
  • Fallbacks for rows "from before" a parent change: src/earnings.rs:312-345 backfill (about 35 lines; check first that nothing writes history before the first ledger load), src/activity.rs:111-113, src/ai.rs:425,430, src/ai/queue.rs:364, src/ai/prompt.rs:65. Trace each before removing.
  • src/ai/error.rs failure_kind_from_text: needed only for failed courses from before 0.3.0, and failed courses are purged after 30 days. It can go now.
  • scripts/package-release.sh:48 and scripts/release-qa/package-smoke.sh:62 handle fact-check-ok.txt, which does not exist.

Decision needed: 18 #[serde(alias)] names in src/content.rs:355-641 (verb, tense, es, en, level, category, journey, dmode, …) "so existing files keep loading". No shipped course uses one, but docs/course-format.md:777 documents them, so someone's own course file could. Keep until 1.0, or remove and say so.

Docs that point at things that are gone: docs/architecture.md:552 (deploy/aws), :559 and src/jobs/retention.rs:15 (TODO.md), :564 (a warning no code prints); docs/testing.md:896 (static/modal.js, which is scripts/core-src/modal.js).

Names from the parent, for a decision and not for this clean-up: the package and binary spanish-learning in Cargo.toml, the default database learn.db, window.LearnSpeech.

From the code review of 24 November 2026. Line numbers are as of 0.5.0 (2547b36).

Activity

  1. added
    review
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0