Commit Graph

12 Commits

Author SHA1 Message Date
Cursor Agent
a70793f61a Fix Linux native window when uv venv hides system PyGObject
Isolated uv venvs cannot import apt-installed python3-gi, so native mode
always fell back to the browser. Append system dist-packages and verify
Gtk/WebKit typelibs before deciding native mode is unavailable; document
uv venv --system-site-packages as the durable install option.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 11:09:54 +00:00
Cursor Agent
d1e817f4ac Brand operator UI, shortcut, and exe as New QC Sheet
Keep the xlsx_clean package name; show New QC Sheet in the web window
title/heading, Desktop shortcut, and Windows PyInstaller output.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 11:03:16 +00:00
Cursor Agent
dc097a2da4 Document Linux GTK deps for native window and fall back
Native single-window mode on Linux needs apt GTK/WebKit packages that
uv cannot install. Document them in README/AGENTS, and auto-fall back
to the browser with a clear hint when those libs are missing.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 10:59:14 +00:00
Cursor Agent
aab7afee37 Migrate from rye to uv and bump deps to latest
Drop rye lockfiles and [tool.rye], add uv.lock, and resolve current
latest packages (pandas 3, beaupy 3.12, etc.). Setup/build scripts use
uv sync.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 10:34:50 +00:00
Cursor Agent
d46fe5b6a4 Add modern Desktop icon and bring Excel to front on COM save
Ship a multi-size teal spreadsheet ICO for shortcuts/exe, and after COM
SaveAs maximize Excel and force it to the foreground over the app window.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 09:51:18 +00:00
Cursor Agent
5c6451c32a Open UI in a single native app window by default
Use NiceGUI native mode (pywebview) instead of the default browser so
Desktop launchers get one dedicated window without existing tabs.
Add --browser / --no-browser overrides.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 09:08:29 +00:00
Cursor Agent
71c269b9f0 Standardize install and packaging scripts on uv
Add Setup.bat for one-click Windows uv venv/install/shortcut, switch
build_windows_exe.bat to uv, and document uv as the primary install path.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 08:35:14 +00:00
Cursor Agent
ff9d35f488 Rewrite README for operator-first desktop usage
Lead with the Desktop icon quick start, then admin install, backends,
and developer CLI/web commands.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 08:24:33 +00:00
Cursor Agent
afec00b50f Add desktop shortcut and Windows exe packaging
Operators can double-click XlsxClean without using the terminal: Windows
VBS/BAT launchers plus Install-DesktopShortcut, Linux .desktop installer,
and a PyInstaller spec/build script for a standalone Windows exe.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 08:12:44 +00:00
Cursor Agent
1be0c3ca0f Add NiceGUI web UI for set/ink/serial selection
Extract shared create_datasheet() for CLI and web. New xlsx-clean-web
entry point serves a local NiceGUI form with cascading dropdowns while
keeping the existing CLI.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 07:56:12 +00:00
Cursor Agent
2cfd530ced Add cross-platform OOXML backend alongside Windows Excel COM
Linux/macOS default to surgical zip edits that clear/set cells while
preserving queries, styles, and other non-worksheet parts. Windows keeps
the COM + add-in path. Paths remapped via XLSX_CLEAN_ROOT; pywin32 is
Windows-only.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 06:33:43 +00:00
94e99a5b72 initial commit 2024-04-11 21:25:37 +03:30