Repository navigation
Compact results table for foldables, NFS media previews, CodeQL fixes (2.10.11) - #93
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
btn-textspan; card buttons on phones are unchanged.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.Verification
npm run test:domcovers 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.npm ci && npm run buildand the Python suite pass.Release
ttlequals0/pixelprobe:2.10.10pushed after CI, CodeQL, and the image integration job passed on 54f0d11. Trivy: 0 HIGH, 0 CRITICAL, 555 MEDIUM./api/versionreports 2.10.10.latestis unchanged.2.10.11: previews, container-based table tiers, CodeQL
GET /api/view/<id>returned a 0-byte body with the full Content-Length when the media mount is NFS, because gunicorn served it withos.sendfile. Range requests, which videos use, go through Python and worked. gunicorn'ssendfileis 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.messagefield instead ofstr(e); response bodies are unchanged.2.10.11 release
ttlequals0/pixelprobe:2.10.11pushed after CI, CodeQL, and the image integration job passed on c19bae7. Trivy: 0 HIGH, 0 CRITICAL, 555 MEDIUM./api/versionreports 2.10.11.latestis unchanged.