[openstreetmap/openstreetmap-website] Remove "expired unread" short block status (PR #5454)
Anton Khorev
notifications at github.com
Thu Jan 2 05:49:19 UTC 2025
### Description
Changes *Status* column of `/user_blocks` to no longer say "expired unread".
It was supposed to mean that the block is past its end date but still wasn't read by the user. That turned out to be confusing because although it said "expired", such blocks were active.
### How has this been tested?
Added tests for `block_short_status` helper.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5454
-- Commit Summary --
* Remove "expired unread" short block status
-- File Changes --
M app/helpers/user_blocks_helper.rb (10)
M config/locales/en.yml (3)
M test/helpers/user_blocks_helper_test.rb (16)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5454.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5454.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5454
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5454 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250101/2c3e026f/attachment.htm>
More information about the rails-dev
mailing list