Commit graph

692 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
e303c3da3b refac: inline codespan rich text input
Co-Authored-By: Abdul Moiz <86627657+abdulmoizjawed@users.noreply.github.com>
2026-03-07 17:45:00 -06:00
Timothy Jaeryang Baek
6d9996e599 refac 2026-03-06 20:12:37 -06:00
Timothy Jaeryang Baek
f962bae983 feat: improve XLSX preview + add code syntax highlighting
XLSX QoL:
- Custom table renderer (excelToTable.ts) with column letters,
  row numbers, right-aligned numbers, empty cell handling
- Monospace font, sticky headers + row nums, cell cursor
- Sheet tabs moved to bottom bar (like PPTX navigation)
- Unified styles between FileNav and FileItemModal

Code highlighting:
- Shiki-based syntax highlighting for code files in FileNav
- Line numbers, dark/light theme support
- Source/Preview toggle for code files
2026-03-04 15:59:55 -06:00
Timothy Jaeryang Baek
890949abe6 feat: add DOCX/XLSX/PPTX file preview
- DOCX: mammoth converts to semantic HTML (prose preview)
- XLSX: xlsx library extended to FileNav with sheet tabs at bottom
- PPTX: custom canvas renderer produces PNG images per slide
  with panzoom zoom/pan and slide navigation

Changes:
- New: src/lib/utils/pptxToHtml.ts (canvas-based PPTX renderer)
- FileNav.svelte: office format detection, blob download, conversion
- FilePreview.svelte: office rendering branches, sheet tabs, slide viewer
- FileItemModal.svelte: DOCX/PPTX preview tabs
- package.json: added mammoth dependency
2026-03-04 15:50:37 -06:00
Shirasawa
67893b9a57
fix: fix memory leaking in CodeEditor (#22110) 2026-03-01 15:52:20 -05:00
Timothy Jaeryang Baek
2e8c4da17b refac 2026-03-01 14:45:35 -06:00
Timothy Jaeryang Baek
ff9f761d65 refac 2026-03-01 14:44:12 -06:00
Timothy Jaeryang Baek
5645d5bccc refac 2026-03-01 14:38:10 -06:00
Shirasawa
242b3f0c01
fix: Fix Tooltip memory leaking and type define (#21969) 2026-02-28 14:01:28 -05:00
Timothy Jaeryang Baek
bbab64b53e refac 2026-02-27 13:36:55 -06:00
Timothy Jaeryang Baek
1cb74b0bf7 refac 2026-02-25 19:06:46 -06:00
Timothy Jaeryang Baek
1f77691b01 refac 2026-02-25 18:16:20 -06:00
Timothy Jaeryang Baek
8b2160f2f7 refac 2026-02-25 16:13:18 -06:00
Timothy Jaeryang Baek
9dff497abf refac 2026-02-25 13:12:34 -06:00
Timothy Jaeryang Baek
2461121637 refac 2026-02-23 18:31:26 -06:00
Timothy Jaeryang Baek
9044abf3bb chore: format 2026-02-23 01:40:53 -06:00
G30
a8a3098782
fix(ui): apply select-none to remaining dropdown menus globally to prevent text highlighting (#21763) 2026-02-23 01:22:02 -06:00
Timothy Jaeryang Baek
4853ededca refac 2026-02-22 18:05:25 -06:00
Timothy Jaeryang Baek
3ad2ea6f28 refac 2026-02-22 17:38:22 -06:00
Timothy Jaeryang Baek
bab64c9d52 refac 2026-02-22 17:38:14 -06:00
Timothy Jaeryang Baek
1cd26372fb refac 2026-02-22 17:26:59 -06:00
Classic298
16e567df57
fix(a11y): enhance accessibility for chat settings components (#21715)
This commit adds aria-labels to the text inputs and textareas that previously lacked them, applies role=switch to inputs, and adds accessible titles to floating quick actions.
2026-02-22 14:33:07 -06:00
Classic298
ff837031e4
Update iframe sandbox attributes based on settings (#21529)
Co-authored-by: :o <52920416+gg0h@users.noreply.github.com>
2026-02-19 16:05:47 -06:00
Timothy Jaeryang Baek
e0bdef85ab chore: format 2026-02-17 01:11:48 -06:00
Timothy Jaeryang Baek
2ce935bdb1 refac 2026-02-17 01:10:19 -06:00
Timothy Jaeryang Baek
23b1e2cca4 refac 2026-02-17 01:00:19 -06:00
Timothy Jaeryang Baek
ef04a704ce chore: format 2026-02-16 01:26:29 -06:00
Timothy Jaeryang Baek
c26e8110af enh: renderMarkdownInPreviews 2026-02-16 01:23:56 -06:00
Timothy Jaeryang Baek
38ae91ae23 refac 2026-02-15 23:35:40 -06:00
Timothy Jaeryang Baek
d215e46315 refac: styling 2026-02-15 22:49:56 -06:00
Timothy Jaeryang Baek
e1b3e7252c enh: preview image in file modal 2026-02-15 17:53:20 -06:00
Timothy Jaeryang Baek
f376d4f378 chore: format 2026-02-11 16:24:11 -06:00
Algorithm5838
e3e4e1d9d3
fix: handle Gboard clipboard strip multi-line paste via beforeinput (#21265)
Gboard's clipboard suggestion strip sends multi-line pastes as
'insertText' in beforeinput rather than a standard paste event,
causing ProseMirror to drop the text content and insert only a
newline. Add a beforeinput handler that intercepts multi-line
insertText events on Android and manually inserts with hard breaks
to preserve the formatting.
2026-02-09 16:15:08 -06:00
Tim Baek
c3fa0f30fe refac 2026-02-08 06:45:01 +04:00
Tim Baek
9cf4d34832 refac 2026-02-06 23:21:09 +04:00
Timothy Jaeryang Baek
68a1e87b66 enh: analytics model modal 2026-02-04 23:42:46 -06:00
Timothy Jaeryang Baek
405dc26cc6 refac 2026-02-04 00:04:09 -06:00
Timothy Jaeryang Baek
fe681abd33 refac: tags 2026-02-03 23:58:11 -06:00
Timothy Jaeryang Baek
43c68468f7 refac 2026-02-03 23:38:03 -06:00
Timothy Jaeryang Baek
6719558150 refac 2026-02-01 20:06:38 -06:00
Timothy Jaeryang Baek
1441d0d735 refac 2026-01-31 17:03:29 -06:00
Timothy Jaeryang Baek
934bebd8cd refac 2026-01-28 01:02:10 +04:00
Timothy Jaeryang Baek
171940869b refac 2026-01-28 00:49:12 +04:00
Timothy Jaeryang Baek
57a2024c58 refac 2026-01-27 23:55:49 +04:00
Timothy Jaeryang Baek
0c79a566ac feat: prompt history frontend 2026-01-24 02:40:17 +04:00
Timothy Jaeryang Baek
474427c67e enh: dynamic select options valve 2026-01-22 03:55:07 +04:00
Timothy Jaeryang Baek
8c70453b2e enh: password valve type 2026-01-22 03:18:38 +04:00
G30
98cb2d3411
feat: Add MATLAB syntax highlighting support for code blocks (#20773)
* feat: Add MATLAB syntax highlighting support for code blocks

Add MATLAB syntax highlighting support by fixing issues in both CodeEditor (editable) and CodeBlock (read-only) components.

Changes:
- CodeEditor.svelte: Added 'matlab' alias to CodeMirror's Octave language (MATLAB-compatible syntax)
- CodeBlock.svelte: Fixed highlight.js usage to use highlight() directly when language is recognized, falling back to highlightAuto() only for unknown languages

* revert: not needed
2026-01-19 13:58:48 +04:00
Timothy Jaeryang Baek
700349064d chore: format 2026-01-08 01:55:56 +04:00
Timothy Jaeryang Baek
1148d1c927 fix/refac: images 2026-01-06 03:25:39 +04:00