APP-Backend / src /views /learn /learn-view.js

Commit History

  1. Savestate: Replace window.speechSynthesis with Capacitor TextToSpeech plugin to fix crash on Android

    ffac483
  2. Savestate: Fix undefined property deck.name to deck.title

    af9ff46
  3. Savestate: Add TTS speaker button to flashcards

    f5f73d3
  4. Savestate: Fix flashcard cutting off bug

    905b1d0
  5. Savestate: Implement E2E encrypted flashcard sync with Supabase backend

    f2ca8a4
  6. Savestate: Prevent scrolling in Study Mode to fix awkward top gap offset

    26ada3d
  7. Savestate: Fix syntax error in pull-to-refresh JS

    d8fba3b
  8. Savestate: Add pull-to-refresh logic in LearnView as fallback for background queue sync

    9e80b8a
  9. Savestate: Make Flashcards UI auto-refresh when background sync completes

    94e5b7b

  1. Savestate: Add background card stack effect in learn view, bump version to 1.8.68

    3a6fed5

  1. UI: Add native inline back buttons to subviews (Lernen, Scan, IServ) instead of floating pill

    0f41e17
  2. UI: Parse markdown bold formatting to HTML in the study session card back view

    883e14b
  3. UI: Align language input fields perfectly at the bottom in the deck creation and deck edit modals

    45892ca
  4. Feat: Add language support for flashcard decks, enabling accurate translations and concise AI explanations

    43e916c
  5. UI: Add a dedicated save button to flashcard preview modal to control when edits and AI generations are triggered

    72f741b
  6. Feat: Automatically ask AI to regenerate the card's back (translation, explanation, example, image) when the vocabulary word on the front is changed

    d6bb80e
  7. UI: Add a gradient background that fades out to the bottom for the sticky header in deck details

    7bb1271
  8. UI: Fix vertical centering bug in preview modal that clipped the top of long text blocks

    645ada0
  9. UI: Center the main vocabulary word on preview flashcards while keeping explanations left-aligned; AI: Enhance example generation prompt for specificity

    498c7fc
  10. UI: Align text in preview flashcard to the left instead of center

    418eaa8
  11. Fix: Render markdown formatting in preview modal and parse back HTML tags to markdown on inline edit save

    35345f5
  12. Feat: Allow inline text editing directly on the preview flashcard and update AI prompt for target language

    a3e8ceb
  13. UI: Make deck details header sticky when scrolling

    3151e23
  14. Feat: Open individual flashcard preview modal on click, with an edit option inside

    0eba486
  15. Fix: Escape newlines in onclick handler to prevent syntax errors when opening flashcard edit modal

    3a73ec8
  16. Fix: Hide explanation in flashcard list preview and make entire row clickable for editing

    2c1bed8
  17. Feat: Add inline editing functionality for flashcards and fix list display showing only limited cards

    645689d
  18. Savestate: Fix syntax error missing bracket in learn-view.js

    4df129b
  19. Savestate: Replace Android native popups with app-native modals

    6f3f719
  20. Savestate: Add rename and delete buttons to deck header

    a714927
  21. Savestate: Fix empty getCardsForDeck by using allCards directly

    b5312da
  22. Savestate: Replace table with flexbox list to fix mobile rendering issues

    ce7dbe1
  23. Savestate: Fix null reference error preventing list from opening

    d0962ce
  24. Savestate: Add flashcard table view in deck details and global vocabulary search bar in learn overview

    5945064
  25. Savestate: Fix bottom tab bar disappearing in Learn View due to virtual keyboard DOM removal bug by explicitly blurring active elements before rendering

    25024a8
  26. Savestate: Refine AI prompt for flashcards to generate simple, obvious, and clearly recognizable images instead of complex metaphors

    7eacb56
  27. Savestate: Fix back button spacing in Learn Study mode and upgrade to glassmorphism style

    f4b8495
  28. Savestate: Style header buttons in Learn view with standard glassmorphism icon-btn styles

    21dd1a0
  29. Savestate: Replace native alert/prompt dialogs in Learn section with custom styled App Modals

    5358ce3

  1. Savestate: Fix flashcard CSS not loading in production by explicitly defining learn.css in index.html

    d9bbddc
  2. Savestate: Switch flashcard generation model to Llama 3.3 70B via Groq

    68a6108
  3. Savestate: Require bold formatting for target words in flashcards and enforce single photo in image search

    a359212
  4. Savestate: Instruct AI to forbid grids/collages in flashcard image searches

    1305752
  5. Savestate: Fully implement Anki's intra-session learning steps (Again, Hard, Good, Easy delays)

    83f3a73
  6. Savestate: Bump version to force frontend reload for the Anki repetition fix

    b02f9a1
  7. Savestate: Ensure AI explains the translation/target word instead of the source word

    c7856be
  8. Savestate: Improve AI prompt to strictly forbid text/diagrams and force photographic images

    2a44ba3
  9. Savestate: Format AI flashcard explanation and example into a clean, separated UI

    8b32a81
  10. Savestate: Fix flashcard AI model by using gemini-2.5-flash and add error message to alert

    edb7bc4
  11. Savestate: Update AI model for flashcards to gemini-3.1-flash-lite as requested by user

    c177976