Skip to content

Fix Actions menu and add duplicate columns to exports (2.10.5) - #91

Merged
ttlequals0 merged 2 commits into
mainfrom
fix/actions-dropdown-and-export-duplicates
Oct 30, 2026
Merged

ttlequals0 merged 2 commits into
mainfrom
fix/actions-dropdown-and-export-duplicates

Conversation

@ttlequals0

Copy link
Copy Markdown
Owner

Since 2.9.3 the per-file Actions toggle on mobile cards and desktop rows threw a TypeError on every tap, so the menu never opened. The CSV export also gave no way to tell which files are duplicates (#88 follow-up).

Changes

  • The Actions toggle calls the app handler instead of the table renderer. jsdom regression test covers cards and rows.
  • CSV and JSON exports add content and filename duplicate group columns with group file counts. Exports honor the Duplicates filter and its hash or name mode and return 503 with Retry-After until the duplicate index is ready.
  • API docs, OpenAPI, and changelog updated. Version 2.10.5.

Verification

  • Full suite against PostgreSQL 18: 929 passed, 2 skipped. Export columns and filter checked on PostgreSQL as well as SQLite.
  • npm ci and build, docker compose config, and app startup against PostgreSQL reporting 2.10.5.
  • Dropdown opened and each item tapped in Playwright at 390px.

The Actions toggle on mobile cards and table rows called the handler on
the table renderer instead of the app, raising a TypeError on every tap
since 2.9.3.

CSV and JSON exports now carry content and filename duplicate group
columns and honor the Duplicates filter and mode, returning 503 until
the duplicate index is ready. Refs #88.
return Response(stream_with_context(generate_csv()), mimetype='text/csv', headers={'Content-Disposition': f'attachment; filename={filename}'})

except _InvalidDuplicateMode as e:
return {'error': str(e)}, 400
except _InvalidDuplicateMode as e:
return {'error': str(e)}, 400
except _DuplicateIndexNotReady as e:
return {'error': str(e), 'duplicate_status': e.status}, 503, {'Retry-After': '30'}
Pillow 13.0.0 fixes 28 vulnerabilities reported against 12.3.0,
including CVE-2026-112393. Lockfile overrides move undici to 8.12.3,
fast-uri to 4.2.3, and serialize-javascript to 7.1.4; npm audit is
clean.
@ttlequals0
ttlequals0 merged commit c487130 into main Oct 30, 2026
8 checks passed
@ttlequals0
ttlequals0 deleted the fix/actions-dropdown-and-export-duplicates branch October 30, 2026 02:18
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.

2 participants