mirror of
https://github.com/bitbaum/heidi.git
synced 2026-12-04 21:59:15 +01:00
* feat(practice): sittings that stay fresh, a level the learner moves, and a summary worth reading Half of every sitting is new while the scope has anything new; reviews that find no seat lead the next one. A question answered and not yet due is not asked again, and a used-up scope says so and offers the wider sitting. One question per word or line per sitting. The level of new questions follows the learner's own setting (easier, just right, harder) and moves by itself on a run of right answers or repeated misses, said in a line with the way back. Five named modes over the existing kinds. The end of a round names what was new, one thing to take away, tomorrow's reviews and how far through the course. Also: «Pack» is gone from what a learner reads, a typed answer is told whether it counts with only the differing words marked, picked tiles are outlined instead of filled, and the session screen cannot be double-tap zoomed. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvb6xi489TfZMg7n9T * feat(shell): a calmer header, menu, footer and personal page; the languages of Switzerland; du in Swiss German Header: on a phone the bar is the brand, the account and one menu control, as plain glyphs. Language and light/dark moved into the menu sheet (and stay in the settings and the footer); from 1024px the language stays in the bar and its panel carries the appearance. site-header.tsx is 166 lines; the wide bar is header-nav.tsx. Menu sheet: rows with a line saying what is behind each page, one filled action, language and theme at the foot. Footer: the menu's groups, said once. Personal page: one action that names what it starts, one due line, three facts (where you left off, course progress, your words) and everything else behind one disclosure. Situations show their name, started ones only; channels are grouped with dates as people write them; no filled status pills. Languages: /languages and a home section from lib/config/languages.ts — one available, the rest planned, no dates. A 'tell me' form stores address, language, optional region, locale and time in language_interest (migration 0016, additive), rate-limited, listed on the privacy page, erased with the account whose address it is. No confirmation mail is sent, and the form says so. Feedback widget: drawn by the page (footer and menu entry, the widget's data-fc-place=host contract) instead of a tab floating over the text. Copy: Swiss German says du throughout; the German white paper and changelog too. 'Pack' is gone from learner-facing text in all seven dictionaries. French, Italian, Romansh and Russian still address the reader formally. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvb6xi489TfZMg7n9T * fix(practice): a takeaway that is true on its own, the answered states in the responsive audit The summary's takeaway and its list of new things read a pair that holds by itself (a gap's word is no longer shown beside its whole sentence's meaning) and prefer the line furthest from German. A wrong answer keeps one short part in sight (the reason, else the rule, else the word) and folds the rest under «more on this». «Stimmt» is outlined like every other picked answer. The responsive audit now opens a typed answer, its comparison and a revealed gap, the states a phone reported cut off. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvb6xi489TfZMg7n9T --------- Co-authored-by: Claude <noreply@anthropic.com>
10 lines
391 B
SQL
10 lines
391 B
SQL
CREATE TABLE "language_interest" (
|
|
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
|
"email" text NOT NULL,
|
|
"language" text NOT NULL,
|
|
"region" text,
|
|
"locale" text NOT NULL,
|
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE UNIQUE INDEX "language_interest_email_language_idx" ON "language_interest" USING btree ("email","language"); |