Commit Graph
28 Commits
Author SHA1 Message Date
merrick-2002andGenOffice d24c964a3e Sync snapshot (2026-09-09) (#271)
- **New app: GenOffice HTML.** Open, edit and generate .html pages: a source pane with a sandboxed live preview, click-to-select elements with a floating toolbar and style panel, device-size preview, image tools and a present mode. AI generates whole pages from a brief with style directions and offers page-wide Restyle, Theme and Summarize. Export to Word runs locally through the built-in html2docx converter (native, editable OOXML; no print-to-PDF detour).
- **AI:** separate BYOK providers for web search, image generation and image/video analysis; new Codex App Server provider; Ask AI quotes the selected text and keeps it highlighted while it runs; custom AI panel text size; blocked requests retry through the Chromium network stack.
- **App:** global AutoSave setting shared by every editor; AI panel text size and chat spellcheck toggles (genoffice#249); Czech (cs) UI locale (genoffice#259); Save As defaults to the document's folder; PDF export no longer aborts on CJK file paths on Windows.
- **Docs:** Export as HTML; comments and replies edit in place from the comments pane; the caret can leave a trailing table (genoffice#266); spellcheck re-marks text as soon as it is re-enabled; AI edits are character-precise on partial selections; zoom keeps the scroll position; pasting a cell from Sheets takes the destination font.
- **Sheets:** Find no longer freezes on wide or streamed grids; Replace searches as you type; cached values of external-workbook formulas are kept instead of #ERROR! (genoffice#235); "number stored as text" is a warning, not an error (genoffice#236); paste repeats into the target range like Excel; filter criteria survive save/reopen; saves retry when Windows locks the file; many Excel-fidelity fixes for column widths, row heights, charts, slicers, number formats and CJK fonts.
- **Slides:** PDF export works for large presentations (genoffice#264); EMF/WMF picture fonts and East Asian theme fonts resolve correctly; decks with missing layouts or embedded styles still open; outline-only pie slices render.
- **PDF:** highlight and underline geometry aligns with the text; Shift+arrows extend the selection instead of paging.
- **Markdown:** Find and replace (Ctrl+F / Ctrl+H) (genoffice#253); mermaid code blocks render as diagrams (genoffice#263); better print quality.
- Thanks to community contributors @GoodScholar, @aniruddhaadak80 and @Sun8854, and to @hanyscz, @qgzln, @zyp997, @bisslot, @krakotay and @Ben03151 for the reports.

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-09-09 18:19:13 +08:00
ANIRUDDHA ADAKandAniruddha Adak 41a6e1564e test(docs): cover mixed-width section page boxes (issue #246) (#257)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-08 21:13:05 +08:00
ANIRUDDHA ADAKandAniruddha Adak 6d16796094 fix(docs): decline Windows reserved names for auto file naming (#242)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-07 11:10:19 +08:00
merrick-2002andGenOffice 69b4ce0560 Sync snapshot (2026-09-06) (#243)
- Docs: Word-style dark page, phased fast open for long documents, fonts embedded in the DOCX, spellcheck toggle, hyperlink editing, and ~80 Word fidelity fixes (CJK/JP metrics, header/footer, tables, anchored pictures)
- Sheets: hold formula recalculation while file data streams in, large-workbook scroll/load performance, combo charts, duplicate/unique conditional formatting by display text, RTL frozen-pane fix, workbooks whose ZIP entries carry a leading slash
- Slides: MTX-compressed embedded font support, CJK/Latin face selection and PowerPoint script fallbacks, theme colors kept on paragraph defaults and bullets, more reliable AI edits with a layout audit after each batch
- PDF: AI page ops, text block move/align, notes and markup editing, watermark and header/footer, form check boxes, metadata; the cloud Export as Word fallback is removed, conversion is always on-device
- AI: Gemini tool schema translation, OpenCode Zen/Go providers, markdown tables and code blocks in chat, current date in the system prompt
- Shell: Office-style ribbon collapse across all editors, native Windows ARM64 installer, BUILD_DIR override for packaging

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-09-07 00:18:14 +08:00
f2c3d0879d fix(docs): drop staged attachments on New chat (#224)
* fix(ai-panels): clear restored history transcript on New chat (fixes #195)

* ci: retrigger checks after prosemirror teardown flake

* fix(docs): drop staged attachments on New chat

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
Co-authored-by: merrick-2002 <merrick@mainfunc.ai>
2026-09-06 11:17:28 +08:00
d9769d1c12 fix(ai-panels): clear restored history transcript on New chat (fixes #195) (#209)
* fix(ai-panels): clear restored history transcript on New chat (fixes #195)

* ci: retrigger checks after prosemirror teardown flake

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
Co-authored-by: merrick-2002 <merrick@mainfunc.ai>
2026-09-06 11:13:43 +08:00
ANIRUDDHA ADAKandAniruddha Adak a5b5903939 fix(docs): complete ruler tab cycle with Bar, hide clear stops (#223)
Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-06 11:12:31 +08:00
ANIRUDDHA ADAKandAniruddha Adak 567ad37013 feat(docs): per-side and inside table borders in ribbon (fixes #165) (#200)
* feat(docs): per-side and inside table borders in ribbon (fixes #165)

* style(docs): prettier-wrap border button props

* fix(docs): drop unused props from IconBorderDashedFrame

---------

Co-authored-by: Aniruddha Adak <aniruddhaadak80@users.noreply.github.com>
2026-09-06 11:08:54 +08:00
merrick-2002andGenOffice 9f971edafa Sync snapshot (2026-09-02) (#181)
- Docs: DOCX rendering and pagination fidelity (page borders, VML pictures, header/footer images, cross-page tables, anchored floats, character-unit indents, CJK typography)
- Docs: more reliable PDF export for huge documents; AI rewrites keep the replaced content's formatting
- Sheets: merge workbooks; Excel-standard keyboard shortcuts; PDF export with header/footer variants and pictures
- Sheets: rendering, conditional formatting, chart and formula fidelity fixes; right-to-left sheet support
- Slides: WordArt text warp, improved text layout and font substitution; AI table edits keep formatting

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-09-03 00:12:17 +08:00
konghaojie-k2 93b8938c45 fix docs per-section page margins and pct table widths (#177)
* fix docs canvas losing per-section left page margins

The editor pads .doc-page by the FIRST section's margins (--page-pad) and
only ever gave later sections their own wrap width, never their own x
offset. A document whose opening section is full-bleed (w:pgMar
w:left="0", typical for a cover page) therefore lost the 30mm left margin
on every following page: body blocks kept the correct width but were
glued to the paper edge, leaving a dead band on the right.

sectionWidthSpecs now emits a real dx (the block's section marginLeft
minus the canvas inset). It rides the existing visual-translate channel,
composes with column/vAlign offsets, and is neutralized while measuring,
so page slicing is untouched. Gap header/footer strips follow their own
section inset (--gap-ml on the gap box) instead of being pinned to the
first section's column; table gaps keep the canvas target.

Vertical margins were already per-page (the gap bands carry each
section's top/bottom), which is why only the horizontal offset leaked.

* fix docs pct-width tables spanning the whole paper

w:tblW type="pct" (and AutoFit to Window, which parses as 100%) is a share
of the section's TEXT COLUMN. Both rendered a bare width:100%, which
resolves against the canvas' padding box — and that box is padded by the
FIRST section's margins. A document opening with a full-bleed cover
section (w:pgMar w:left="0") therefore laid every later table across the
whole paper, hanging past the right edge as soon as the body sections'
own left inset was applied.

Both paths now resolve through the per-block --doc-content-w that
sectionWidthSpecs already delivers (unset → the old percentage, so
single-section documents are byte-identical). Protected tables get the
same treatment; nested tables keep their cell-relative % since they
inherit the outer table's --doc-content-w.
2026-09-02 20:06:25 +08:00
merrick-2002andGenOffice 2239cce9e7 Sync snapshot (2026-08-30) (#168)
- Docs: DOCX rendering fidelity - drop caps, hidden (vanish) runs, paragraph pattern shading, floating-table anchoring and clamping, footnote sizing, justified-line spacing
- Docs: editing - page breaks split the paragraph correctly, URLs auto-linkify, Insert Hyperlink prefills from the selection, more stable table pagination
- Sheets: large streamed workbooks are splittable and formula-capable for the AI; copy_range carries live formulas; range sort up to 200k cells; 1M-cell copies over 2x faster
- Sheets: correctness - sort by raw values, shared-formula edits, typed cached strings, empty-string cells, note edits reach the save; risky structural deletes are rejected up front
- Sheets: AI chat can export sheets as standalone files; the formula bar grows to fit wrapped formulas
- Slides: right-to-left support - paragraph direction toggle, RTL tables, mirrored margins and bullets
- Slides: rendering - scaled gradients, embedded fonts, complex-script shaping, chart plot layouts and legends, theme-override colors
- Shell: open documents by dropping them onto the window; per-type document icons for OS file associations
- AI: localized busy message for overloaded providers; degenerate tool loops stopped with a unified turn budget
- Markdown: prompts to save before pasting images into untitled documents

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-30 21:26:55 +08:00
merrick-2002andGenOffice 0a2c25d483 Sync snapshot (2026-08-26) (#159)
- Sheets: CSV export and save support, Excel-matching data validation
- Docs: image, shape, WordArt, and chart rendering fixes
- Slides: downloadable font catalog with a missing-font banner
- Slides: better AI text layout and a speaker-notes tool

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-26 17:34:55 +08:00
merrick-2002andGenOffice 5073e4d36b Sync snapshot (2026-08-24) (#143)
- Add Word-parity Docs shortcuts, shape-text formatting, and safer AI-created documents
- Add selection-scoped Ask AI, right-to-left grids, active row and column highlighting, and full-workbook Find improvements in Sheets
- Add local OCR text layers and persistent AI chat history in PDF
- Add selection Ask AI, effects editing, true vertical text, and rendering fidelity improvements in Slides
- Improve Korean font metrics and Office document layout fidelity across the suite
- Report an OS-locale country dimension in opt-out usage analytics with an updated privacy disclosure

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-24 23:20:31 +08:00
merrick-2002andGenOffice 6d9b6812dd Sync snapshot (2026-08-23) (#130)
- Convert scanned PDFs to editable text with local OCR, running through the operating system's own engine on macOS and Windows
- Add a much richer AI workflow to Docs, PDF, and Markdown: selection-scoped questions, batched edits, character-level edits, comment and tracked-change awareness, citations back to the source block, and in-document image generation
- Let Slides open the same presentation in a second window and edit it from both
- Improve PDF to Excel table recovery: tables spanning pages merge into one worksheet, and label/value grids and rule-less statement bands become real rows
- Fix a large wave of Word layout fidelity in Docs, Excel parity in Sheets, and PowerPoint import fidelity in Slides

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-23 23:10:02 +08:00
merrick-2002andGenOffice f68df70e22 Sync snapshot (2026-08-20) (#123)
- Add fully local PDF to Word, PowerPoint, and Excel conversion
- Add bring-your-own-key AI providers - Claude, OpenAI, Gemini, DeepSeek, Kimi, GLM, Qwen, Doubao, MiniMax, Grok, Mistral, OpenRouter, and custom OpenAI-compatible endpoints - with a refreshed AI settings UI
- Rework the Slides AI editing surface: canonical edit-op registry, atomic transactions with rollback, durable element ids, and batched apply_ops
- Improve Slides fidelity: chart, font, gradient, table-style, and text-shaping fixes, plus PPT-parity line editing and adjust handles
- Polish Docs: password-protection dialogs, anchored-image wrapping fixes, and selection and clipboard fixes
- Add themed dropdowns suite-wide with accent-derived selection states

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-21 00:33:18 +08:00
merrick-2002andGenOffice fe2e17403c Sync snapshot (2026-08-19) (#110)
- Improve Docs pagination, anchored-object fidelity, password protection, recovery safety, and multilingual font fallback
- Scale Sheets editing and saves for large workbooks with safer AI bulk operations, aggregation, undo, recovery, and richer visual fidelity
- Expand Slides fidelity with 3D rendering, SmartArt and WordArt improvements, pattern and texture fills, and resource cleanup
- Add AI PDF creation, text insertion, reading-position restore, safer atomic saves, and improved comments and page workflows
- Add Markdown math rendering and protect linked assets across save, conversion, and document lifecycle operations
- Read legacy DOC and PPT attachments locally and strengthen document package resource cleanup
- Document default-on usage analytics with a persistent Settings opt-out and a dedicated, tested privacy page

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-19 20:14:50 +08:00
merrick-2002andGenOffice 04a994b9e9 Sync snapshot (2026-08-16) (#99)
- Docs: print dialog with live preview, EMF/WMF rendering, nested tables, margin comments, Word-style table UX
- Slides: chart and SmartArt fidelity overhaul, Format Background pane, Shape Tools tab, PowerPoint line-spacing model
- Sheets: ribbon batches (themes, page breaks, protection, goal seek), AI formula audit and workbook search, import fidelity fixes
- PDF: comments margin with in-place note editing
- UI: unified color pickers and save icon across apps (icon by @ulangmeier in #96)

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-17 00:09:18 +08:00
merrick-2002andGenOffice d5558b6bbb Sync snapshot (2026-08-13) (#92)
- Docs: print dialog with live page preview and range selection; WYSIWYG print preview across apps
- Docs: header/footer fidelity - alignment, color, size, images, and tab layout (w:tabs, w:ptab)
- Docs: pagination and layout fixes - keepNext crash, blank pages, footnotes, line-height, font substitution, Tamil support
- Sheets: import implicit cell addresses and row/column default styles; keep dialog inputs inside narrow grid columns
- Slides: PowerPoint-style stage rulers, wheel page turning, and notes bar
- Slides: insert 3-D pie and 3-D column charts; render 3-D chart variants as 2-D projections
- PDF: comments margin with pin leader lines, note threads with replies, and selection-level text styles
- PDF: searchable text insertion, page management, and auto-opening of extract/split output

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-13 21:37:38 +08:00
merrick-2002andGenOffice dc4d7e5927 Sync snapshot (2026-08-12) (#87)
- Add text insertion and improved text editing in PDF files
- Expand PDF form filling, annotations, highlighting, and visual signature workflows
- Add PDF image crop, flip, transparency, replacement, and background removal
- Improve Sheets validation rendering, undo behavior, and workbook stability
- Add system font discovery and improve shared Office interface consistency
- Improve AI network resilience and response validation

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-12 08:36:35 +08:00
merrick-2002andGenOffice 7023e635bd Sync snapshot (2026-08-10) (#80)
- Improve DOCX rendering fidelity, pagination, image handling, and Markdown paste
- Expand PDF text editing with paragraph reflow, style preservation, and more reliable text matching
- Harden XLSX sheet deletion, localized date formats, multi-row autofit, charts, and system font support
- Add inline AI turn rollback and sent-attachment visibility across editors
- Add Office-style ScreenTips and refine ribbons, dialogs, menus, and themes
- Improve Slides cropping, rotate and flip tools, printing, animations, and editing workflows
- Add shell settings, configurable save locations, account credits, and update recovery guidance
- Add Intel macOS and RPM download support and refresh public documentation

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-10 23:17:11 +08:00
merrick-2002andGenOffice e249c3ba81 Sync snapshot (2026-08-09) (#75)
- PDF: in-place text editing — paragraph block selection with reflow, bold/italic and alignment controls, selection-level text color, original-font preservation
- PDF: AI image tools (search/generate, insert, transform, delete) plus image rotation and in-place replacement
- Docs: picture rotation and mirror flips, in-place image byte swap for crop/background removal, and several Word-fidelity rendering fixes
- Docs: fix a renderer hang on tab-heavy forms and a crash when exporting large documents
- Slides: AI picture tools (crop, opacity, replace), picture border controls, in-place picture source swap
- Linux: AppImage and deb packaging with stable/beta auto-update channels
- Refresh the README and clean up internal design-audit artifacts

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-10 01:43:24 +08:00
merrick-2002andGenOffice b3cab39441 Sync snapshot (2026-08-07) (#48)
- New AI Markdown app - the fifth suite app, with local image assets and ribbon AI entry points
- Shell: dark/light/system theme (imports public PR #41) with lint fix and dark-mode onboarding polish
- Docs: Word rendering fidelity fixes, 4x faster repagination, Shape Format contextual tab, auto-refreshing TOC page numbers
- Slides: built-in standard layouts, anchored zoom and jump-free editing, selectable Draw pen thickness
- Sheets: Insert Equation/Checkbox/Timeline, editing polish with undo for manual inserts and localized save errors
- Bump pdfjs-dist to 6.2.108 and js-yaml to 4.3.1

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-07 14:44:01 +08:00
merrick-2002andGenOffice 9d37beaf57 Sync snapshot (2026-08-06) (#40)
- Draw shapes with a crosshair drag on the canvas across Docs, Sheets, and Slides; the shared 104-preset shape gallery now lives in the UI package
- WordArt insert presets
- Reorganize the README download section into a single platform table
- Deflake the screenshot-insert e2e test by stubbing the OS capturer deterministically

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-06 20:25:35 +08:00
merrick-2002andGenOffice df358f2775 Sync snapshot (2026-08-06) (#38)
- Movable, resizable floating objects and a shared 104-preset shape gallery across Docs, Sheets, and Slides
- Sheets Insert menu: screenshot capture, recommended charts, and an icon library
- Slides: Home slideshow module and slideshow-exit fixes
- Docs: track-changes fixes (IME input, tracked-deletion re-deletion) and Word-parity font handling
- Redact secret-looking tokens from outgoing AI messages (community contribution from PR #32, hardened with narrower patterns and tests)
- Linux packaging: AppImage and deb download instructions

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-06 19:19:36 +08:00
merrick-2002andGenOffice d1de6ac44b Sync snapshot (2026-08-05) (#34)
- Add a user-selectable update channel (Stable/Beta) with a manual promote-to-stable release flow
- PDF: image signatures and WYSIWYG typed signatures with better placement, plus a status bar, keyboard navigation, and two-page spread reading upgrades
- Docs: Word-parity ribbon font controls and style gallery, an AI Format one-click preset, and restored headers/footers and TOC formatting for Pages-style docx
- Add GenOffice device-code sign-in for AI features
- Refresh UI: AI panel and ribbon styling aligned with the design system, new icons, save toasts, and content-width status bars beside a full-height AI dock
- AI reliability: retry transient image-download failures, detect empty gateway streams without killing long generations, and forward the resolved proxy to spawned CLI children
- Slides: bullet list gallery, type-ahead font filtering, and shorter clarify buttons across locales
- Add a Linux (AppImage) packaging target

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-05 21:44:14 +08:00
merrick-2002andGenOffice 8f523289d6 Sync snapshot (2026-08-04) (#19)
- Docs: paragraph writing direction (LTR/RTL) toggle with auto-detection
- Docs: hardened file lifecycle, docx fidelity, and editor performance
- PDF: Export as Word via cloud conversion, non-destructive Save As, and an in-progress export dialog
- Slides: treat full-page background shapes as the page background
- Sheets: faster recalculation with a session-resident engine; better xlsx compatibility (builtin number formats, auto-fit row heights, sheet-name resolution)
- AI: surface stream and gateway errors instead of finishing empty turns; parse non-SSE JSON gateway replies; stall watchdogs
- Fixes from alpha feedback batches 3 and 4 (TOC levels, Windows menus, honest AI applies, login flow diagnostics, credits-exhausted notice)
- CI: sheets save round-trip E2E and xlsx compatibility corpus gate
- Start the 0.5 release train (v0.5.0/v0.5.1)

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-04 21:26:02 +08:00
merrick-2002andGenOffice 4da673d4df Sync snapshot (2026-08-03) (#6)
- Fix AI table read/write column integrity in Sheets (cell text escaping, set_range validation)
- Slides: canvas follows window resize; restyle the AI quick-action toolbar
- Improve onboarding: stable card height, expanded copy across all 19 locales

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
2026-08-03 22:02:22 +08:00
GenOffice d2fe8ddaae Initial public release 2026-08-02 19:52:16 +08:00