bayan-api / src /index.html

Commit History

  1. feat: Add Quran + Dialect product links to footer

    e7a38b2
  2. fix: Correct toast types (warning/error) + analyze API error toast + cleanup

    b201fcd
  3. fix: tool count ٨→٧ + Bayyinah arrow ↗

    ef7cf4d
  4. fix: Bayyinah external link arrow direction (← → ↗)

    69686ba
  5. feat: UI/UX Overhaul Phase 1-9 — CSS modernization, RTL arrows, pricing features, confirm dialog, meta SEO, footer links, hero copy, shimmer/glow/glassmorphism

    844f147
  6. ux: Escape closes Quran modal + char counter on dialect textarea (red when >5000)

    d6c8b9f
  7. fix: Quran XSS escape + 30s timeout + hide buttons during loading (same fixes as dialect)

    4b39763
  8. fix: XSS escape error messages + 30s fetch timeout for dialect

    f17c70b
  9. remove: جديد badge from dialect panel

    808ac34
  10. polish: remove 'قيد التطوير' badge, add 'جديد' badge + loading state on convert button

    7feaacd
  11. feat: dialect-to-MSA conversion — backend API + frontend + Docker model cache

    7b67137
  12. fix: unified undo/redo - toolbar+keyboard use same stack, works with typing+formatting+Quran apply

    cc7b377
  13. fix: Ctrl+Q works with Arabic keyboard (e.code) + copy button for translations

    499c2f7
  14. feat: Amiri Quran font + copy button + Ctrl+Q shortcut

    9116539
  15. fix: use fullwidth brackets for ref delimiter to avoid [O Muhammad] collision

    463c715
  16. fix: quran text excluded from analysis models + styled ref + score preserved

    6453bf2
  17. feat: apply includes surah ref + quran-applied span protects from analysis models

    5bb4bf0
  18. fix: use correct editor ID (editor-container) - root cause of apply failures

    cd72e8b
  19. fix: simplify apply to direct textContent replace (guaranteed to work)

    7f379d2
  20. fix: apply uses window.find() + add translation apply button

    dffd543
  21. fix: robust apply using TreeWalker text search instead of fragile Range

    888a737
  22. fix: apply replaces text properly + translation shows ref + bigger font

    9985456
  23. feat: add 'Apply' button to replace editor text with verified Quran text

    d188337
  24. feat: Quran verification & translation endpoint + modal UI (13 languages)

    0c80121
  25. UI: add Quran verse translation to 14 languages feature in home + features page

    b987dcf
  26. feat: add Quran verse translation to 14 languages in features page

    da81290
  27. UI: add Quran verse translation to 14 languages in feature cards

    e383e71
  28. UI: swap nav order - pricing before editor (الأسعار then المحرر)

    a6feddf
  29. UI: remove pricing from nav, fix dialect colors to match theme, remove placeholder example

    f1df95b
  30. fix: grammar/quran icons different, tooltip no strikethrough, punctuation no duplicate dots

    7d889f4
  31. UI: nav logo, bayyinah hover, quran icon, hero autocomplete shadow, clean tooltip, fix punctuation dup + hamza كان

    20a34f1
  32. Full UI/UX modernization: fix hero examples, pricing beta, Apply All cursor/format fix, design polish

    90d59e9

  1. fix: move Bayyinah section inside max-w-7xl container to prevent stretching

    756cc7b
  2. fix: replace Bayyinah icons with actual book-open-text logo SVG

    fe0aa42
  3. fix: features page layout + update Bayyinah color to #14919b

    634f39b
  4. feat: add Bayyinah RAG feature to home page + features page

    12a4507
  5. fix: remove extra closing div causing gap above editor

    e6ca849
  6. update: replace Quran example with Yusuf:2 verse

    9a6ebff
  7. feat: add Quran verification + Dialect conversion features (UI only, no backend)

    526dc57
  8. feat: add Autocomplete feature to home page + features page

    ae29246
  9. feat(NLP-4): AutoComplete integration — hybrid bigram + GPT-2⁠

    d27ee08

  1. fix: Green traffic light (fullscreen) now works - Wrong selector: .editor-main-layout → .editor-layout - Grid override: grid-template-columns: 1fr !important - Hide both docs-panel and sidebar-desktop

    8167c44
  2. feat: Complete UI/UX audit — all 20 fixes implemented Critical: - #1 Text duplication on consecutive apply (re-index spans) ✅ - #2 Apply All button (remove confirm() dialog, direct apply) ✅ - #3 Backend suggestion categorization (noted, minor) ✅ UX Fixes: - #4 Toolbar RTL verified correct ✅ - #5 Punctuation highlight: blinking insertion marker instead of bg ✅ - #6 Document title truncation with ellipsis ✅ - #7 Sidebar scrollable (score circle visible) ✅ - #8 Empty editor placeholder RTL alignment ✅ Design: - #9 Hero CTA button contrast (border 0.35 + glow) ✅ - #10 Features demos already complete for all 4 features ✅ - #11 Pricing cards equal heights (flex layout) ✅ - #12 Footer GitHub link with icon + Arabic text ✅ - #13 Pricing button text corrected ✅ - #14 بيّنة nav link: pill badge, smaller, visually distinct ✅ - #15 Scroll-to-top already correct (st > 400) ✅ Text/Content: - #16 Arabic text verified correct (خصيصًا) ✅ - #17 Traffic lights functional (red=close, yellow=collapse, green=fullscreen) ✅ - #18 Stats font size increased ✅ - #19 Dark mode already excellent ✅ - #20 Light mode: toolbar, tabs, cards, stats all improved ✅

    23b1721
  3. fix: UI/UX audit fixes (10 items addressed) Critical: - Fix text duplication on consecutive suggestion apply (re-index spans) - Suggestion list now updates after apply (counters + cards refresh) UX Fixes: - Sidebar scrollable (score circle always accessible) - Suggestions max-height reduced: 420→320px - Stat items: larger font + better contrast in dark mode Text: - Pricing: 'الترقية للاحترافي' → 'الترقية للخطة الاحترافية' Undo/Redo: - formatUndo/Redo now use custom stack (unified) - Formatting commands save undo state before applying - Typing tracked via debounced pushUndoStateDebounced

    9eaed94
  4. ui: Better hero demo text - natural sentences with few clear errors

    7908da0
  5. ui: Update hero section - Remove 'مدعوم بالذكاء الاصطناعي' badge - Replace demo text with real spelling/grammar errors - Update error counts: 8 إملائي, 3 نحوي, 2 ترقيم, score 45

    7c0bffa
  6. fix: Remove double-inversion of summary length - Browser already reverses range slider in RTL - Sending raw value now matches correctly: طويل→3, قصير→1

    08aa431
  7. fix: Keep summary length label fixed as متوسط

    3d1867f
  8. fix: Invert summary length slider value for RTL - RTL slider: min=1 is RIGHT (طويل), max=3 is LEFT (قصير) - API expects: 1=short, 3=long - Fix: send (4 - value) to API so طويل→3 (long), قصير→1 (short)

    5b6a568
  9. feat: Summary UI improvements + PDF fix - Swap short/long labels on summary length slider (RTL: long left, short right) - Remove 'تلخيص النص كاملاً' checkbox and button - Replace single export button with dropdown (TXT/DOCX/PDF) in summary - Hide format toolbar when on summary tab, show on writing tab - Fix PDF export freeze: use foreignObjectRendering:false + lower scale - Add loading toast during PDF export - Add summary DOCX and PDF export functions

    010e380