Skip to content

Compact results table for foldables, NFS media previews, CodeQL fixes (2.10.11) - #93

Merged
ttlequals0 merged 5 commits into
mainfrom
fix/iphone-duo-inner-table
Nov 5, 2026
Merged

ttlequals0 merged 5 commits into
mainfrom
fix/iphone-duo-inner-table

Conversation

@ttlequals0

@ttlequals0 ttlequals0 commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

Why

On the unfolded iPhone Duo in landscape (about 951 CSS px in Safari 27.1) the results table was unusable: each row stacked five full-width action buttons, so rows ran a screen tall, and the container clipped the Tool, Details, Scan Date, and Actions columns off screen. The folded screen already used the card layout and was fine. The same clipping hides the Actions column on a 1280 px laptop.

What changed

  • Between 769 and 1023 px the results table shows Status, Path, Size, Type, and Actions; Tool, Details, and Scan Date are hidden (all three remain in the View and Details dialogs). Action buttons sit in one row as icons, with the label kept as tooltip and aria-label. The file path column drops its fixed 350 px width.
  • The results container scrolls horizontally inside itself at every width instead of clipping.
  • The sidebar starts collapsed below 1024 px until you choose otherwise; a stored choice wins either way.
  • Table buttons wrap their label in a btn-text span; card buttons on phones are unchanged.
  • Version 2.10.10 with changelog entry.
  • Worker startup: kombu is pinned to 5.6.2. kombu 5.7.0, released after the 2.10.9 image was built, requires redis-py 6.1 while the image pins redis 5.2.1, so the worker in a fresh image died with Redis transport requires redis-py versions 6.1.0 or later. This is what failed the image integration job three times. The script now prints the worker log when a launch fails.
  • CI: the image integration script retries the baseline scan launch at most four times, 35 s apart, while the worker container is still registering, and keeps non-JSON error bodies readable. An earlier one-second retry tripped the endpoint's two-per-minute limit.

Verification

  • npm run test:dom covers the compact-range CSS, the template ids, the button label markup for rows versus cards, and the sidebar default at 951, 1280, and 600 px.
  • Local app run with four seeded rows, measured with Playwright: at 951 x 610 rows are 92 px (before: about 450 px), no overflow, three columns hidden, sidebar collapsed. At 1280 px all nine columns and labelled buttons are unchanged. At 466 x 678 the card layout renders as before.
  • npm ci && npm run build and the Python suite pass.

Release

  • Image ttlequals0/pixelprobe:2.10.10 pushed after CI, CodeQL, and the image integration job passed on 54f0d11. Trivy: 0 HIGH, 0 CRITICAL, 555 MEDIUM.
  • Deployed via Portainer; /api/version reports 2.10.10.
  • latest is unchanged.

2.10.11: previews, container-based table tiers, CodeQL

  • Image previews showed "Preview could not be loaded" while videos played. Reproduced with curl against production and then locally: a plain GET /api/view/<id> returned a 0-byte body with the full Content-Length when the media mount is NFS, because gunicorn served it with os.sendfile. Range requests, which videos use, go through Python and worked. gunicorn's sendfile is now off (gunicorn.conf.py), and the same thumbnail arrives byte-identical from the NFS mount through the released image with that config. A test asserts the setting.
  • The results table now tiers its columns by its own container width (CSS container queries) instead of the viewport, so opening the sidebar re-tiers it: under 1100 px it hides Tool, Details, and Scan Date and shows icon-only actions; under 760 px it also hides Type; under 640 px it also hides Size. Measured on the local app at 951 x 610: sidebar collapsed (779 px container) shows Status, Path, Size, Type, Actions; sidebar open (579 px) shows Status, Path, Actions, with no overflow either way.
  • CodeQL alerts 107 and 108 (stack-trace exposure in export error responses) are fixed by returning each exception's fixed message field instead of str(e); response bodies are unchanged.

2.10.11 release

  • Image ttlequals0/pixelprobe:2.10.11 pushed after CI, CodeQL, and the image integration job passed on c19bae7. Trivy: 0 HIGH, 0 CRITICAL, 555 MEDIUM.
  • Deployed via Portainer; /api/version reports 2.10.11.
  • The branch's CodeQL analysis no longer reports the two stack-trace alerts; they close on main at merge.
  • latest is unchanged.

Between 769 and 1023px, which is the unfolded iPhone Duo in landscape
(about 951 CSS px in Safari 27.1), the desktop table stacked five
full-width action buttons per row and the container clipped the Tool,
Details, Scan Date, and Actions columns off screen.

At that width the results table hides Tool, Details, and Scan Date,
shows the action buttons as icons in one row with the label as tooltip
and aria-label, and drops the fixed file path width. The results
container scrolls horizontally at every width instead of clipping. The
sidebar starts collapsed below 1024px until the user chooses.
…ine scan

The web container reports healthy before the worker container has
registered, so the first scan launch could be refused with 503 and fail
the job. Retry the launch for up to 120 seconds while that is the reason.
…limit

/api/scan allows two launches a minute. Retrying every second after the
early 503 exhausted that limit and the 429 body was not JSON. Retry at
most four times, 35 seconds apart, and keep non-JSON error bodies
readable.
kombu 5.7.0, released after the 2.10.9 image was built, requires
redis-py 6.1 or later. A fresh image resolved it next to the pinned
redis 5.2.1 and the Celery worker died at startup with a transport
version mismatch, which is what failed the image integration job. The
integration script now prints the worker log when a launch fails.
…th (2.10.11)

Image previews failed while videos played. A plain GET /api/view/<id>
went through gunicorn's os.sendfile, which delivers a 0-byte body with
the full Content-Length when the media mount is NFS; Range requests are
served by Python and worked. gunicorn sendfile is now off.

The results table tiers its columns by its own container width with CSS
container queries instead of the viewport, so opening the sidebar on a
foldable or a laptop re-tiers the columns: under 1100px hide Tool,
Details, and Scan Date and show icon-only actions; under 760px also hide
Type; under 640px also hide Size.

Export error responses return each exception's fixed message field
instead of str(e), clearing two CodeQL stack-trace-exposure alerts.
@ttlequals0 ttlequals0 changed the title Compact results table for the unfolded iPhone Duo and small tablets (2.10.10) Compact results table for foldables, NFS media previews, CodeQL fixes (2.10.11) Nov 5, 2026
@ttlequals0
ttlequals0 merged commit c480ab2 into main Nov 5, 2026
8 checks passed
@ttlequals0
ttlequals0 deleted the fix/iphone-duo-inner-table branch November 5, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant