GithubHelp home page GithubHelp logo

Comments (10)

Athlon007 avatar Athlon007 commented on June 26, 2024 1

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.

Athlon007 avatar Athlon007 commented on June 26, 2024 1

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.

BraveSentry avatar BraveSentry commented on June 26, 2024 1

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.

boscojwho avatar boscojwho commented on June 26, 2024

I did a quick test and removed GeometryReader and ScrollViewReader from FeedView, but scrolling performance felt relatively the same.

from leomard.

boscojwho avatar boscojwho commented on June 26, 2024

Seems like the solutions are pretty simple:

  1. 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 processing PostView.
  2. 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.

boscojwho avatar boscojwho commented on June 26, 2024

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.

boscojwho avatar boscojwho commented on June 26, 2024

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.

boscojwho avatar boscojwho commented on June 26, 2024

Actually will keep this issue open for now, since we need to apply scrolling optimizations to Community feed.

from leomard.

boscojwho avatar boscojwho commented on June 26, 2024

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.

Athlon007 avatar Athlon007 commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.