feat: add recently viewed page for posts and communities - #456
Open
christianjuth wants to merge 5 commits into
Open
feat: add recently viewed page for posts and communities#456christianjuth wants to merge 5 commits into
christianjuth wants to merge 5 commits into
Conversation
Contributor
Dependency GraphOne node per top-level folder in |
Contributor
Performance Comparison ReportSignificant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
Render Count ChangesThere are no entries Render Issues
Added EntriesThere are no entries Removed EntriesThere are no entries |
Deploying blorp with
|
| Latest commit: |
4c554e6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f6cb40d9.blorp-6rm.pages.dev |
| Branch Preview URL: | https://claude-add-recently-viewed-p.blorp-6rm.pages.dev |
christianjuth
force-pushed
the
claude/add-recently-viewed-page-aIC2u
branch
2 times, most recently
from
May 11, 2026 02:00
7a0f26b to
d0e0f4f
Compare
Track recently opened posts (with snapshot of post + community + creator) alongside the existing recent communities, and surface both in a new /home/recent page with a Posts/Communities toggle. Linked from the user dropdown and sidebar under Saved using a clock icon. Each recent entry is tagged with the accountUuid that viewed it so the page renders correctly across accounts. Snapshots are hydrated into the per-account caches when missing, keeping entries usable after the post cache evicts them. PostCard accepts an optional accountUuid prop that overrides which account's cache slot is read.
Recent is purely local tracking and works without a Lemmy account. Guest accounts have UUIDs, so the page functions identically for them. Remove the person guard from the Recent link while keeping it on Saved, Profile, and Logout which genuinely require authentication. https://claude.ai/code/session_019yMKPkGhTAFyLxsxTjtLgS
…is set When a post is rendered via an account override (e.g. the Recently Viewed page showing a post from a different account), voting, saving, reacting, moderation, and the action menu are all disabled. Share and download image actions remain available since they don't require an API call. https://claude.ai/code/session_019yMKPkGhTAFyLxsxTjtLgS
Cover dedupe by apId, ordering, max-size cap, accountUuid threading, and a persisted-shape snapshot. Also pass disabled to PostEmojiReactions buttons so they get the proper disabled visual treatment alongside the no-op onClick. https://claude.ai/code/session_019yMKPkGhTAFyLxsxTjtLgS
A post viewed under an account override is showing data that belongs to a different account, so any account-specific overlay is misleading. Make the suppression explicit with two props: - disabled: disables interactions (vote, reactions, action menu, double-tap) - hideMyVote: hides account-specific overlays (vote arrows + score offset, saved bookmark, read state styling) PostCard derives both from accountUuid being set, which preserves the existing recently-viewed behavior while making the intent legible at the call site. https://claude.ai/code/session_019yMKPkGhTAFyLxsxTjtLgS
christianjuth
force-pushed
the
claude/add-recently-viewed-page-aIC2u
branch
from
May 14, 2026 02:59
5257e42 to
4c554e6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.