bayan-api / src /js /ui.js

Commit History

  1. Update extension UI, app pipeline and model loaders

    9c49fff

  1. chore: revert frontend UI changes to 7aa0d90 to fix layout blowout

    078df28
  2. Fix error filtering logic (add data-type to suggestion-card, fix querySelectors)

    f3e25f2
  3. Wire up all 8 missing UI elements: Arabic tools dropdown, paragraph spacing, typewriter mode, version history buttons, error chart + sparkline hooks

    c1ede9b

  1. feat: Apply All button shows count + empty states already functional

    edade2f
  2. Full UI/UX modernization: fix hero examples, pricing beta, Apply All cursor/format fix, design polish

    90d59e9

  1. fix: QA sweep — 6 issues resolved (sidebar chips, corrected field, input sanitization, punc cap, docs, tests)⁠

    10ec354
  2. feat: Pipeline Hardening v3.3 — stage ownership, punctuation safety, UUID migration⁠

    a1c20fd

  1. audit-v5: Complete ALL remaining green items - #8: Nav logo uses favicon.svg + clickable to home - #9: CTA button arrow indicator - #12: Word count goal (localStorage bayan_word_goal) - #13: Export summary as .txt file - #14: Character limit warning (already existed) - #15: Auto-save indicator in toolbar - #16: 404 page with Arabic numerals - #17: Loading skeleton animation for suggestions

    1bc4049
  2. audit-v4: 10 fixes and improvements - FIX: Footer replaced with multi-column layout (Product + Resources) - FIX: cta_primary config now matches button text - FIX: Enterprise 'contact sales' button navigates to editor - FIX: Mock editor 'الكتابه' now has spelling-error class (3 errors) - FIX: Status bar updated to '٣ إملائي' - FIX: Scroll-to-top fallback to window.scrollY - FIX: Remove @view-transition experimental CSS - FIX: Remove injected Cloudflare challenge script - ADD: Toast on applyCorrection + applyAllSuggestions - ADD: confirm() on applyAllSuggestions - ADD: Smart empty state (no text vs no errors) - ADD: Toggle switch HTML for summary checkbox

    5f053cc
  3. feat: 12 UI improvements batch - 1. Editor surface flush (no margin/border, Google Docs style) - 2. Custom styled summary slider (gradient thumb) - 3. Empty states with icons for suggestions - 4. Enhanced status bar (chars, sentences, reading time) - 5. Mobile scrollable formatting toolbar - 6. Summary word count + compression ratio - 7. Document search bar with filter - 8. Text color + highlight color pickers - 9. Lists (bullet/ordered) + indent/outdent + clear format - 10. Animated sun/moon theme toggle - 11. Summary bullet points mode toggle - 12. Print styles (only editor content)

    ecec9e1

  1. feat: Show 3 spelling alternatives + keep-as-is option - Backend: Generate alternatives via EditDistanceCorrector - Tooltip: Multiple clickable correction buttons - Sidebar cards: Alt chips for each suggestion - Dismiss button removes error highlight (keep original word)

    3f8001b

  1. added light theme and ISLAMIC RAG and fixed the UI/UX issues and added the auth

    012d0ac