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

Feat: allow filter original statuses on user profile #24267

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OmmyZhang
Copy link
Contributor

@OmmyZhang OmmyZhang commented Mar 26, 2023

The backend parameter is already added 5 years ago #9640 .

I continue to see users complaining that when they process follow requests, they sometimes have to spend a long time finding a original status. Therefore, I believe this feature is very useful.

I agree that one more column may not be suitable for small-screen phones and multi-column UI, especially after there's the sidebar since 4.0. So I add a switch. In the future, perhaps we can also change withReplies to a switch and keep only 2 columns.

How it looks:

image

image

This change also incidentally brings some minor optimizations to the display of loading. Returning a full screen<LoadingIndicator> is only necessary when account info is not ready, otherwise the isLoading of <StatusList> just works fine.

Close #18413 .

Some other related issues: #10011 #20575 #21418 .

@trwnh
Copy link
Member

trwnh commented Mar 26, 2023

So I add a switch. In the future, perhaps we can also change withReplies to a switch and keep only 2 columns.

imo it would be better if there were no tabs at all, just posts, and everything was a switch -- include replies, include boosts, include media

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link
Contributor

This pull request has resolved merge conflicts and is ready for review.

@OmmyZhang OmmyZhang force-pushed the account-statuses-no-reblog branch 2 times, most recently from d7ebe87 to cf2d022 Compare April 16, 2023 10:53
@jiangshanghan
Copy link

整挺好

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@OmmyZhang
Copy link
Contributor Author

@jiangshanghan Could you please remove your comment? It's somehow inappropriate.

可以删掉你的评论吗,不太合适。

@jiangshanghan
Copy link

jiangshanghan commented May 26, 2023

please do not scream like that. my comments had no offense.
of course I will not reply again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Show boosts" option on the account profile page
3 participants