Git Product home page Git Product logo

Comments (5)

jez500 avatar jez500 commented on May 28, 2024

Hi kopf

I think the main cause of the sluggishness comes from the artists list (which basically renders every artist to the screen). I do have lazy loading on the images in this section but I think it isn't enough.

I have looked at other solutions and it looks like the fix is to add only a placeholder then as you scroll, load in the items that are visible (or almost visible) into their respective placeholders. I'll look into this more for you.

I don't really want to paginate the artists as I find it really convenient to be able to scroll straight to Z with no extra clicks.

And almost all requests are cached, on load it caches all artists, albums and songs.

from chorus.

kopf avatar kopf commented on May 28, 2024

I have looked at other solutions and it looks like the fix is to add only a placeholder then as you scroll, load in the > items that are visible (or almost visible) into their respective placeholders. I'll look into this more for you.

Great! That's just what I meant with using infinite scrolling.

Thanks for putting your time into this interface. It's an absolutely beautiful UI, and exactly what XBMC needs - a pleasant way to control remotely from another PC (as opposed to phone or tablet, for which there are plenty of great solutions).

from chorus.

jez500 avatar jez500 commented on May 28, 2024

Cool, I'll post any progress updates on that on here, currently knees deep in implementing browser streaming.

Glad you are liking it! Yeah I use this thing every day at work so as soon as a UI aspect starts to annoy me, I try and tweak it for the better. Kinda helps that web UX is my day job :)

from chorus.

kopf avatar kopf commented on May 28, 2024

Having upgraded to 0.2.6, I've noticed Chorus to be significantly snappier when scrolling through my artists list. Good work!

It is, however, still pretty sluggish. Are there further optimizations that can be made, or have you already implemented everything you were talking about?

from chorus.

jez500 avatar jez500 commented on May 28, 2024

Great to hear! There will always be refinements that improve performance as we go, lots of them just come from noticing silly bugs I added in the past.
So not finished yet but not really actively working on it at the moment either.

from chorus.

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.