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

Following: handle removed channels better #2986

Merged
merged 3 commits into from
Oct 7, 2023

Conversation

infinite-persistence
Copy link
Collaborator

Closes #2132
Test: inf

Behavioral changes

  1. Sidebar: do not show deleted channels
  2. FollowingManage: show deleted channels so users can delete 'em
    • This can be argued both ways I guess -- never show them, or allow users to decide what to do with it. For me, it's nice to be able to see past subs were deleted.
    • blah

Internal changes

  1. Move initial subscription-resolve to proper place (patch.a4ede547)

## Issue
If your subscriptions contain deleted channels, the app continuously resolves it on every page navigation.

## Why
2549 resolves all subs at startup, but it was done inside a component that gets remounted on every navigation. Even if there the sub list is clean, we still end up having to loop the resolve cache to see if the subs are resolved.

## Fix
There is a dedicated place for these one-item post-startup actions, so let's move business logic away from Views.
This can be argued both ways I guess -- never show them, or allow users to decide what to do with it.

For me, it's nice to be able to see past subs being deleted.
@infinite-persistence infinite-persistence merged commit 595d4e0 into master Oct 7, 2023
1 check passed
@infinite-persistence infinite-persistence deleted the handle.deleted.channels branch October 7, 2023 03:59
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.

Following: handle removed channels better
1 participant