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

sidebar: recent sorting #1205

Merged
merged 3 commits into from
Nov 21, 2022
Merged

Conversation

arthyn
Copy link
Member

@arthyn arthyn commented Nov 18, 2022

Unfortunately I think I sent @tomholford down the wrong path for #1114 my apologies! The brief.last is the correct thing to use for the last message we just had a few issues. We weren't using nests, looking at all channel types, updating briefs for posts in all channel types, and our chat brief was going off out of order so it was always one behind. This corrects all of that and also changes the default sort for channels to arranged and default heap view to grid.

This does rip out the channel prefetching which I think we need to revisit after launch. The prefetching was incurring too many requests + subscriptions holding up loading anything else for like 10s+ which I think is not a decent enough trade off yet. Also we don't really want to be subscribed to all channel updates because that was why we split them out in the first place.

@vercel
Copy link

vercel bot commented Nov 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
chatstead ✅ Ready (Inspect) Visit Preview Nov 18, 2022 at 11:56PM (UTC)
homestead ✅ Ready (Inspect) Visit Preview Nov 18, 2022 at 11:56PM (UTC)
homestead-storybook ✅ Ready (Inspect) Visit Preview Nov 18, 2022 at 11:56PM (UTC)

@vercel vercel bot temporarily deployed to Preview – homestead-storybook November 18, 2022 23:55 Inactive
@vercel vercel bot temporarily deployed to Preview – homestead November 18, 2022 23:55 Inactive
@vercel vercel bot temporarily deployed to Preview – chatstead November 18, 2022 23:56 Inactive
Copy link
Contributor

@tomholford tomholford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled and played with it locally, nice work! Much better than the janky solution we had previously

@tomholford tomholford merged commit f02b321 into t/1187-performance-enhancements Nov 21, 2022
@tomholford tomholford deleted the hm/recent-sorting branch November 21, 2022 06:37
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.

2 participants