Comments (10)
I think my only issue with the current FeedView changes is the page's sidebar is still visible, even in the smallest window width. I don't think page's sidebar is important enough to show all the time. In other views - that's not a problem, as the person's/community's sidebar is moved to the top of main column, but for Feed - that was never implemented, as page sidebars can be very, very long.
With that being said, good job and thanks for the changes :)
from leomard.
Yeah, but I know my code Swift was meh at the very least. I'll definitely borrow couple of tricks you have added in the future UI code.
I'll think about how to approach the page sidebar tomorrow. I already have something in my head that will work.
from leomard.
Actually will keep this issue open for now, since we need to apply scrolling optimizations to Community feed.
Thanks for that, as I have a scrolling related minor issue: When the mouse pointer is in the same window part as the feed but in the blank area left of the feed, scrolling does not work. I can only scroll when the mouse pointer is directly on the feed.
from leomard.
I did a quick test and removed GeometryReader
and ScrollViewReader
from FeedView
, but scrolling performance felt relatively the same.
from leomard.
Seems like the solutions are pretty simple:
- Push some post loading calls onto some background tasks in
FeedView
. In particular, the system hasher is using quite a bit of CPU time when processingPostView
. SessionStorage
appears to be causing some long main thread hangups on launch.
This is probably the top issue affecting my personal enjoyment of this app, so I might dive into this later tonight or possibly tomorrow =D
from leomard.
I think my only issue with the current FeedView changes is the page's sidebar is still visible, even in the smallest window width. I don't think page's sidebar is important enough to show all the time. In other views - that's not a problem, as the person's/community's sidebar is moved to the top of main column, but for Feed - that was never implemented, as page sidebars can be very, very long.
With that being said, good job and thanks for the changes :)
No worries =) Very fun to work on a Mac app and something new
Ohh, that explains why FeedView
implementation looked slightly different from the others haha. I almost never use Mac apps in narrow width (angrily shakes fist at new System Settings). Definitely a design issue to be dealt with separately.
from leomard.
Got scrolling performance to a better level, and reduced the number of times where scroll view doesn't catch a swipe gesture because it blocked the main thread.
- Also moved a post-processing task in PostUIView off the main thread (need to clean this up before I make a PR). This seems like this was causing quite a bit of the missed swipes.
from leomard.
Actually will keep this issue open for now, since we need to apply scrolling optimizations to Community feed.
from leomard.
Actually will keep this issue open for now, since we need to apply scrolling optimizations to Community feed.
Thanks for that, as I have a scrolling related minor issue: When the mouse pointer is in the same window part as the feed but in the blank area left of the feed, scrolling does not work. I can only scroll when the mouse pointer is directly on the feed.
Ah yes, good point, I noticed that too. That's because the Feed view has a maximum width, so that blank area isn't scrollable at the moment. I guess at the very least, we could make the Feed view be leading aligned, so that blank space to the left gets taken out. Perhaps @Athlon007 has more ideas here =)
from leomard.
Actually will keep this issue open for now, since we need to apply scrolling optimizations to Community feed.
Thanks for that, as I have a scrolling related minor issue: When the mouse pointer is in the same window part as the feed but in the blank area left of the feed, scrolling does not work. I can only scroll when the mouse pointer is directly on the feed.
Ah yes, good point, I noticed that too. That's because the Feed view has a maximum width, so that blank area isn't scrollable at the moment. I guess at the very least, we could make the Feed view be leading aligned, so that blank space to the left gets taken out. Perhaps @Athlon007 has more ideas here =)
It's definitely something worth to take a look at, however, not for 0.2. I consider 0.2 feature locked.
from leomard.
Related Issues (20)
- [BUG] Cannot upvote or downvote HOT 8
- [BUG] Subscribe list does not fully load HOT 2
- [FEATURE] Compact View HOT 2
- [BUG] Not all comments seem to always load HOT 4
- [FEATURE] Increase PostUIView padding/corner radius HOT 1
- [DEV] Refactor View body into separate @ViewBuilder var/func HOT 2
- [FEATURE] Multi-Account Support
- [BUG] Post images reload when cell reappears after scrolled off-screen HOT 4
- [BUG] Feed List reloads to top when switching between tabs HOT 4
- [BUG] Duplicate posts in GetPostResponse.posts HOT 5
- [BUG] Unable to log in to accounts with 2FA enabled HOT 2
- [FEATURE] New Community preview for search
- [BUG] Duplicate call to updateUnreadMessagesCount() in ContentView HOT 2
- [BUG] Inbox: When showing all replies, after replying back, the message disappears HOT 1
- [BUG] Sending post has no status indication HOT 1
- [FEATURE] Cross-post HOT 2
- [BUG] Notification indicator eventually stops updating automatically
- [BUG] Inserting images does not insert them at cursor position
- [FEATURE] UI changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leomard.