Skip to content

feat(home): add Recently Responded sort and i18n the Pending filter#1526

Open
lol2x wants to merge 1 commit into
getfider:mainfrom
lol2x:feat-recently-responded-sort
Open

feat(home): add Recently Responded sort and i18n the Pending filter#1526
lol2x wants to merge 1 commit into
getfider:mainfrom
lol2x:feat-recently-responded-sort

Conversation

@lol2x
Copy link
Copy Markdown
Contributor

@lol2x lol2x commented May 6, 2026

Summary

  • New sort option Recently Responded in the home page sort dropdown — orders posts by response_date (when an admin last changed status), newest first.
  • Filters out posts with response_date IS NULL so the sort stays meaningful regardless of the active status filter. Without this, picking the new sort while the default Open/Started/Planned filter is active produces a long tail of unresponded posts in arbitrary order.
  • i18n the Pending status filter (collaborator/admin only) and the inline "pending" badge in ListPosts — both were previously hardcoded English.
  • Adds Polish translations for the two new keys plus the previously-untranslated Pending key.

Why

Admins/collaborators often want to review what's been recently dealt with — completions, declines, planned items — without having to also remember to flip the sort manually. Sorting by id/creation date doesn't surface this; the existing per-status planned/completed/declined views are deprecated in favor of status filters but those don't carry the response-date sort. This stitches that gap.

Behavior

  • Pairs naturally with a Completed + Declined status filter to get a chronological "what got done" feed.
  • With default filters, the IS NOT NULL guard means only posts that have ever been responded to appear (e.g. a post reopened after being marked complete still shows because its response_date is preserved).
  • Filter and sort remain independent — picking this sort doesn't override your status selection.

Adds a new sort option that orders posts by when an admin last responded
(changed status). The view filters out posts with no response_date so the
sort is meaningful regardless of the active status filter — i.e. selecting
"Recently Responded" while the default Open/Started/Planned filter is on
shows only posts that have actually been acted on, instead of a long tail
of unresponded posts in arbitrary order.

Also wires the Pending status filter (visible to collaborators/admins) and
the inline "pending" badge in ListPosts through i18n; both were previously
hardcoded English. Adds Polish translations for the new and existing keys.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant