Commit Graph

54 Commits

Author SHA1 Message Date
Cursor Agent
1b933d9042 Give field labels more clearance above the input borders.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 08:03:54 +00:00
Cursor Agent
97130034dd Sit field labels just above the boxes, clear of the border.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 08:02:27 +00:00
Cursor Agent
653d569149 Revert "Float field labels on focus or value, Material outlined style."
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
This reverts commit 757781f7a0.
2026-08-15 07:59:54 +00:00
Cursor Agent
757781f7a0 Float field labels on focus or value, Material outlined style.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Empty labels sit inside the box; they move up to the border when the
field is focused or has a value.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 07:53:44 +00:00
Cursor Agent
0d6c215fa7 Set field-label backgrounds to 50% opacity of the canvas color.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 07:45:46 +00:00
Cursor Agent
48d9356d10 Make floating field labels transparent so the grid shows through.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 07:37:45 +00:00
Cursor Agent
6d27bceb14 Stop the form panel from stretching so the graph-paper canvas shows through.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 07:32:25 +00:00
Cursor Agent
f2150f9243 Flatten GUI chrome so the form sits on the graph-paper canvas.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Remove the nested traffic-light window, drop desktop/demo.html, and keep
the OmniRoute grid visible behind the operator form in both themes.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 07:30:02 +00:00
Cursor Agent
95cc827a0a Restyle New QC Sheet GUI to match OmniRoute visual language.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Dark graph-paper canvas, coral-to-violet tokens, traffic-light card chrome, and a terminal-style status panel replace the teal Material form while keeping the Set/Ink/Serial workflow and pywebview bridge.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 07:16:42 +00:00
f1d9693966 Switch UI to HTML based tools
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
2026-08-12 04:56:02 +03:30
95e0acbe71 Add GUI refactor, modern theme, and configuration improvements
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
2026-08-10 14:28:49 +03:30
Cursor Agent
8ee6cebea3 Automate package version bumps with bump-my-version
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Use a non-numeric web UI fallback, configure bump-my-version against
pyproject.toml, and add a workflow_dispatch Action that opens a bump PR.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-08 15:42:43 +00:00
Cursor Agent
78d1a0a5fc Bump package version to 0.2.0
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Advance the minor version in pyproject.toml and the web UI fallback
so the displayed app version matches the release.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-08 15:34:57 +00:00
Cursor Agent
86d0006291 Update KRBG1600T Beige clear cell from G12 to F12
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Align the Kimia Razi beige row cells_to_clear with the intended
Batch!F12 target in file_data.csv.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-08 15:24:50 +00:00
Cursor Agent
7cc3a350cd Add timestamped file logging for QC datasheet creation
Log every create_datasheet outcome (success, skip, validation/backend
errors with traceback) to a dated append-only log file so CLI and web
UI share one audit trail.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-08 10:31:23 +00:00
Cursor Agent
0bca5e551e Show package version in window title and muted UI footer
Read xlsx-clean version from package metadata and display it as
"New QC Sheet · X.Y.Z" in the title and "vX.Y.Z" under Create, without
changing the 900x700 native window size.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-25 07:06:03 +00:00
Cursor Agent
3463fb74df Prefer /usr/bin/python3 over PATH uv-managed interpreters
setup_linux.sh used command -v python3, which with an activated .venv or
uv on PATH resolved to ~/.local/share/uv/python/... and failed the gi
preflight even though apt python3-gi was installed. Always use
/usr/bin/python3 for the native-window venv.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-25 06:03:16 +00:00
Cursor Agent
b9ea8b2d36 Force Linux venv onto OS Python so apt _gi loads
uv was recreating .venv with managed CPython 3.12.2 (from .python-version),
which cannot import apt python3-gi's _gi. Pin .python-version to 3.12, create
and sync the venv with --no-managed-python using /usr/bin/python3, fail setup
if GTK is still unusable, and document the ABI mismatch.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-25 05:54:59 +00:00
Cursor Agent
ba1231c73d Add Linux setup script and clearer native-window diagnostics
Provide desktop/setup_linux.sh for apt + system-site-packages uv venv,
point docs at it, and print Python version plus the real gi/typelib error
when falling back to the browser.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 11:22:09 +00:00
Cursor Agent
63bd3b0f0e Tighten Linux native fallback hint text
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-22 11:09:58 +00:00
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
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
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
90823a6f00 update file_data.csv 2026-07-22 09:34:10 +03:30
e3569da2da added ICJ/EH630 2026-02-18 08:46:40 +03:30
e3c6fe8112 begin year 2026 2026-01-07 07:53:08 +03:30
cbdda5f210 fix: pink csv data 2025-10-14 08:41:13 +03:30
1fddd7df4c added ICJ152 & ICJ109 to "file_data.csv" 2025-10-06 13:34:00 +03:30
a520144faf Added beads to kw sheet 2025-08-06 15:14:28 +03:30
3975572f96 fix icj 308 2025-02-11 09:41:07 +03:30
680f3668d4 using ClearContents() function 2025-02-09 15:28:45 +03:30
b7cb7d70cc Empty other Serial rows 2025-02-05 16:45:12 +03:30
3b2aa47c82 WIP 2024-09-25 12:00:07 +03:30
ff2af84c4d WIP 2024-09-14 11:21:47 +03:30
71848c9f72 added inco brown 407 and black 610 2024-08-17 11:55:58 +03:30
a1135e8c79 added inco pink 2024-07-17 11:38:22 +03:30
f998538b54 bring new excel to front and maximise it 2024-06-19 10:00:53 +03:30
3cd99eca5b bugfixes 2024-06-13 13:26:23 +03:30
c60a682d27 replaced openpyxl with pywin32 2024-06-13 12:35:48 +03:30
c4ecebf4b9 edied file_data.csv 2024-06-02 14:14:38 +03:30
117d34273e bugfix 2024-05-26 08:31:33 +03:30
3c6add7583 updated file_data.csv - added pink 2024-05-20 10:44:23 +03:30
fc8c9502e4 Fixed file_data.csv 2024-05-12 09:43:54 +03:30
ecf0e5678e updated file data 2024-05-12 09:21:04 +03:30
c801780fe8 upadated file data 2024-04-20 12:13:09 +03:30