Commit Graph

86 Commits

Author SHA1 Message Date
d3960cdbf7 Merge pull request #28 from s-diaco/cursor/enter-key-submit-26b5
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Fix Enter key to create QC datasheet
2026-09-27 11:39:02 +03:30
Cursor Agent
a9c31148e0 Fix Enter key to submit QC sheet form
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Wrap fields in a form with type=submit Create button so Enter in
serial (or closed combobox) creates the datasheet without a mouse click.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-09-27 07:59:59 +00:00
e4cdb540e9 Fix intermittent win32com CLSIDToPackageMap errors on Windows. (#27)
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Corrupt gen_py early-binding cache is cleared and EnsureDispatch retried
(with late-bound Dispatch fallback), matching the manual Temp\gen_py workaround.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-09-22 23:43:35 +03:30
fb9295ce65 Restyle New QC Sheet GUI to OmniRoute visual language (#25)
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
* Restyle New QC Sheet GUI to match OmniRoute visual language.

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>

* Flatten GUI chrome so the form sits on the graph-paper canvas.

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>

* Stop the form panel from stretching so the graph-paper canvas shows through.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

* Make floating field labels transparent so the grid shows through.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

* Set field-label backgrounds to 50% opacity of the canvas color.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

* Float field labels on focus or value, Material outlined style.

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>

* Revert "Float field labels on focus or value, Material outlined style."

This reverts commit 757781f7a0.

* Sit field labels just above the boxes, clear of the border.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

* Give field labels more clearance above the input borders.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

* Place field labels in document flow above the inputs.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

* Sync the ink combobox text as soon as the set's ink list rebuilds.

Previously the visible value stayed on the old ink until the box was
clicked, because rebuild only copied the select when the input was empty.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

* Reopen combobox on input mousedown after selection.

Selecting an option closes the list without blurring the input, so a later
click never fires focus. Open the panel on mousedown as well.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

* Require the combobox mousedown handler to call open().

The previous substring only checked that a mousedown listener exists.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 12:23:15 +03:30
1d18dbd7c4 Merge pull request #26 from s-diaco/cursor/fix-linux-gi-venv-c182
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Keep apt gi by pinning Linux setup to system Python
2026-08-15 10:41:05 +03:30
Cursor Agent
b013181d35 Drop --python-preference from Linux setup; it conflicts with --no-managed-python.
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:07:22 +00:00
Cursor Agent
94791dcd67 Keep apt gi by pinning Linux setup to system Python.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
uv sync --active was honoring .python-version (3.12) and replacing the
system-site-packages venv, so python3-gi from Ubuntu's interpreter was
no longer importable.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-15 07:00:10 +00:00
1cad94b8d5 Merge pull request #24 from s-diaco/switch-ui-to-html-based-tools
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Switch UI to HTML based tools
2026-08-12 05:01:52 +03:30
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
7c50480324 Merge pull request #22 from s-diaco/fix/pyinstaller-spec-relative-paths
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
fix(packaging): resolve PyInstaller spec paths relative to SPECPATH
2026-08-11 03:11:10 +03:30
f04ca3fe72 fix(packaging): resolve PyInstaller spec paths relative to SPECPATH
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
2026-08-11 03:09:32 +03:30
31dd69c2aa Merge pull request #21 from s-diaco/bump-version-1.0.0
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Bump major version to 1.0.0
2026-08-10 14:29:29 +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
a39cccb0dc Bump major version to 1.0.0
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
2026-08-10 14:25:37 +03:30
5d827ae70d Merge pull request #19 from s-diaco/cursor/automate-version-bumps-d2eb
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Automate package version bumps
2026-08-08 20:23:34 +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
a07d3b46dc Merge pull request #18 from s-diaco/cursor/bump-minor-0-2-0-d2eb
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Bump version to 0.2.0
2026-08-08 19:07:00 +03:30
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
89bb9689e9 Merge pull request #17 from s-diaco/cursor/file-data-beige-cell-d2eb
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Update KRBG1600T Beige clear cell to Batch!F12
2026-08-08 18:56:58 +03:30
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
8443149979 Merge pull request #16 from s-diaco/cursor/gitea-mirror-action-d2eb
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Add GitHub Action to mirror repo to Gitea
2026-08-08 18:49:37 +03:30
Cursor Agent
3a0e02d9e0 Fix Gitea mirror by skipping GitHub pull refs
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Push only refs/heads and refs/tags so Gitea no longer rejects
refs/pull/* with "hook declined" and fails the mirror job.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-08 15:18:22 +00:00
Cursor Agent
19b81201b8 Add GitHub Action to mirror repository to Gitea
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Push all branches and tags to git.faryad.top after every GitHub ref
change so Gitea stays identical to GitHub when GITEA_TOKEN is set.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-08-08 15:07:18 +00:00
f1b99e5da9 Merge pull request #15 from s-diaco/cursor/datasheet-creation-logging-d2eb
Add timestamped logging for QC datasheet creation
2026-08-08 18:13:14 +03:30
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
34a68b4e22 Merge pull request #14 from s-diaco/cursor/ui-version-label-b26a
Show package version in window title and UI footer
2026-08-08 12:41:07 +03:30
61f1a737a4 Merge pull request #13 from s-diaco/cursor/prefer-usr-bin-python3-b26a
Prefer /usr/bin/python3 over PATH uv-managed interpreters
2026-08-08 12:40:46 +03:30
f0a004b637 Merge pull request #12 from s-diaco/cursor/linux-system-python-gi-b26a
Force Linux venv onto OS Python so apt _gi loads
2026-08-08 12:40:27 +03:30
7e305f18be Merge pull request #11 from s-diaco/cursor/linux-native-system-gi-b26a
Fix Linux native window falling back to browser
2026-08-08 12:40:05 +03:30
6b2d13272f Merge pull request #10 from s-diaco/cursor/new-qc-sheet-branding-b26a
Brand UI, shortcut, and exe as New QC Sheet
2026-08-08 12:39:50 +03:30
8f5d0d24c9 Merge pull request #9 from s-diaco/cursor/linux-native-deps-b26a
Document Linux native-window system deps and fall back
2026-08-08 12:39:30 +03:30
911e6f3612 Merge pull request #8 from s-diaco/cursor/uv-latest-deps-b26a
Migrate to uv and upgrade dependencies to latest
2026-08-08 12:39:17 +03:30
0fc5eecfb4 Merge pull request #7 from s-diaco/cursor/icon-excel-focus-b26a
Add modern Desktop icon and bring Excel to front
2026-08-08 12:38:56 +03:30
b389a13add Merge pull request #6 from s-diaco/cursor/native-app-window-b26a
Open UI in a single native app window
2026-08-08 12:38:35 +03:30
5fb66a2794 Merge pull request #5 from s-diaco/cursor/uv-install-b26a
Standardize install and packaging on uv
2026-08-08 12:38:02 +03:30
9e317e41df Merge pull request #4 from s-diaco/cursor/desktop-launcher-b26a
Add desktop shortcut and Windows exe packaging
2026-08-08 12:37:34 +03:30
d5f1a563e2 Merge pull request #3 from s-diaco/cursor/nicegui-web-ui-b26a
Add NiceGUI web UI for datasheet selection
2026-08-08 12:37:13 +03:30
a9f1e90fc1 Merge pull request #2 from s-diaco/cursor/cross-platform-ooxml-b26a
Add cross-platform Linux + Windows Excel clean support
2026-08-08 12:36:43 +03:30
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
7f60185536 Merge pull request 'Prefer /usr/bin/python3 over PATH uv-managed interpreters' (#4) from cursor/prefer-usr-bin-python3-b26a into main 2026-07-25 06:03:21 +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
c38d9a93be Merge pull request 'Force Linux venv onto OS Python so apt _gi loads' (#3) from cursor/linux-system-python-gi-b26a into main 2026-07-25 05:59:05 +00:00
Cursor Agent
0e0a2c5e62 Note .python-version minor pin in AGENTS.md
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
2026-07-25 05:55:10 +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
cf08d35767 Merge pull request 'cursor/linux-native-system-gi-b26a' (#2) from cursor/linux-native-system-gi-b26a into main
Reviewed-on: #2
2026-07-25 05:31:16 +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