Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize blocks table from status/revoked to begin/end/status columns #4200

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AntonKhorev
Copy link
Collaborator

@AntonKhorev AntonKhorev commented Aug 24, 2023

Currently blocks tables contain too much repeated text like "Ends in almost 10 years and after the user has logged in." which could be made shorter. Partly such messages can be replaced by the column containing just dates.

The Revoked by column is almost never used. Here I merge it with Status column because revoked block is no longer active.

Start date would be useful to see, especially if sorting by this date is added. This was earlier attempted in #1656.

Fixes #907.

blocktable

@tomhughes
Copy link
Member

Do you have a feel for how dependent on #4199 this is? I guess it tends to make the list wider, making that change more important?

@AntonKhorev
Copy link
Collaborator Author

Table is going to be wider with longer usernames. When I made #4199 I was planning for one extra column , but I merged it into Status later.

@AntonKhorev
Copy link
Collaborator Author

Before:
blocktable-before

After:
blocktable-after

Doesn't seem to be wider.

@AntonKhorev AntonKhorev force-pushed the blocks-table branch 3 times, most recently from a21a9de to 3ad717a Compare March 21, 2024 23:02
@AntonKhorev AntonKhorev added the moderation Related to moderator features, like reports, issues or user blocks label Jul 3, 2024
@AntonKhorev AntonKhorev force-pushed the blocks-table branch 2 times, most recently from b257abe to 7097763 Compare September 11, 2024 16:47
Could display when block was viewed before. That's going to be unintuitive if sorting by different times is introduced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moderation Related to moderator features, like reports, issues or user blocks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change relative summary dates on user_blocks pages to absolute ones
2 participants