Warehouse 0.2.4: Row taps work on iPad and purchase price proposals
Warehouse 0.2.4 fixes the document lists on Safari, iPhone and iPad, where tapping any row opened the last document in the list instead of the one tapped.
The lists of goods issues, goods receipts, internal orders, supplier orders, stocktakes and transfers make the whole row clickable. Safari let that clickable area spread over the entire table, so the last row won every tap. Each row now keeps its own area, and the row’s action menu still works.
A posted goods receipt with a supplier can now show Purchase price proposals: the receipt lines whose price differs from the cost the catalogue keeps for that item and supplier, with the current cost next to the receipt price. An administrator can update the catalogue cost line by line, or all at once with Update all. Items with no supplier entry in the catalogue get no proposal, and a catalogue without these supplier costs shows none.
Full release notes: Warehouse 0.2.4
0.2.4 · 20 July 2026
Fixed
- Row-link overlay escaped its row on Safari/iPad (PR #10) — Safari
doesn’t honor
position: relativeon<tr>, so the whole-row-clickable::afteroverlay on every index table (goods issues, goods receipts, internal orders, supplier orders, stocktakes, transfers) escaped to the<table>‘s containing block; every row’s overlay covered the entire table and the last row won hit-testing, so any row tap on iOS/iPadOS navigated to the last item. Fixed by adding Tailwind’stransform-gpuutility alongside the existingrelativeclass on each row — WebKit does honor atransformas a containing block on table rows. Reviewed: no affected file was missed, and the fix doesn’t interact badly with the per-row⋮action menu (which portals to<body>on open) or any pinned/sticky table variant.
Changed (review of PR #9)
permission_metadata/0’s attempted gettext declaration was reverted — PR #9 addedgettext_backend/gettext_domainto the warehouse’spermission_metadata/0, intending to translate its label in the admin permissions matrix the same wayadmin_tabs/0already translates sidebar labels. Against the dependency actually pinned inmix.lock(phoenix_kit1.7.205, published 2026-07-19, before core’slocalized_module_label/1work landed), no code reads those two keys — the permissions matrix still renders through the plain, untranslatedPermissions.module_label/1— so the addition was inert in production and only introduced a newmix dialyzercallback_type_mismatchagainst the publishedpermission_meta()behaviour type. Revertedpermission_metadata/0to its original 4-key shape. Re-adding the two keys is the correct follow-up oncephoenix_kitpublishes a Hex release containing the localized-permission-labels feature and this repo’s pin is bumped to it —admin_tabs/0’s per-tab gettext declarations are unaffected (that feature is real and already published). Full findings:dev_docs/pull_requests/2026/9-permission-label-i18n/CLAUDE_REVIEW.mdanddev_docs/pull_requests/2026/10-safari-row-link/CLAUDE_REVIEW.md.
Maintenance
- Removed a stale, unused
mix.lockentry (beamlab_ex_aws_sqs, hex package v4.0.0) left over from the priorphoenix_kit1.7.199 → 1.7.205 bump, which renamed the dependency’s key toex_aws_sqs(same hex package, v5.0.0) and made the old lock entry unreferenced. Caught bymix deps.unlock --check-unused.
Warehouse 0.2.4. Install or update: {:phoenix_kit_warehouse, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.