GithubHelp home page GithubHelp logo

Comments (14)

ThEditor avatar ThEditor commented on June 10, 2024 2

Alright, thanks! I've drafted a PR #11671 . Currently I've done some code changes to upgrade to vue-virtual-scroller v1.1.2 using RecycleScroller. I'll try to look into implementing DynamicScroller.

from kolibri.

marcellamaki avatar marcellamaki commented on June 10, 2024 1

I had forgotten too!! 😄 Great. No rush on this though :) if you'd like something to work on through the end of the year and this seems fun - it would be great for you to work on. But if you have other things to do that you'd rather focus on, that's okay too. We might be able to get this into one of our planned patches for 0.16.x though, which would be great. Thanks, @AlexVelezLl !

from kolibri.

AlexVelezLl avatar AlexVelezLl commented on June 10, 2024 1

Yes @ThEditor , you can import our QA channel as explained in this comment. Let me know if you have any issue!

from kolibri.

AlexVelezLl avatar AlexVelezLl commented on June 10, 2024 1

Oh, there's nothing to apologize for, take your time. We all have our things to do and you are taking a little of your time to help us! So thank you for that! 👐 No rush =)

That should be alright I suppose?

Yes! That's it.

from kolibri.

marcellamaki avatar marcellamaki commented on June 10, 2024

Completing the upgrade to Vue virtual scroller 1.1.2 and using the DynamicList and DynamicListItem components that support dynamic sizing would probably be the best approach for resolving this

from kolibri.

AlexVelezLl avatar AlexVelezLl commented on June 10, 2024

I had completely forgotten that I had a PR draft to update vue-virtual-scroller 😅, I'll take a look at that!

from kolibri.

ThEditor avatar ThEditor commented on June 10, 2024

I've looked into this a bit and noticed that the migration from RecycleList (v0.12.0) to RecycleScroller (v1.1.2) has not been completed yet. I've got RecycleScroller to work locally and might be able to get DynamicScroller to work too.
I was wondering if I should look into it further and maybe draft a PR? @AlexVelezLl @marcellamaki

from kolibri.

AlexVelezLl avatar AlexVelezLl commented on June 10, 2024

Hi @ThEditor! Sure, you can! I remember that the migration to vue-scroller 1.1.2 had some minor issues that needed to be resolved. But if you already tried it and were able to run it locally, then cool! You're welcome to pen a PR 👐

from kolibri.

ThEditor avatar ThEditor commented on June 10, 2024

I think I might've found a solution for DynamicScroller, however, I don't have a pdf to test these against. I tried visiting the ones mentioned in #11145 , however, I'm encountering "resource not found". Is there any other pdf content I can use for testing?

from kolibri.

ThEditor avatar ThEditor commented on June 10, 2024

So, I imported the pdfs and the height issue seems to be fixed. Though there are two issues that still need to be addressed

  • Fit to width: I'm not sure how we're planning to do this, a fit to width button might just be the solution? Is that what we will be going with?
  • Loaded pages: From what I can understand, the latest commit in my PR isn't pre-loading pages before and after the current page. I think I might have to look at the buffer property provided by vue-virtual-scroller for this.

from kolibri.

AlexVelezLl avatar AlexVelezLl commented on June 10, 2024

Oh, no, that is out of scope. This issue was just to render dynamic sizing virtual list for PDF Renderer 😄

from kolibri.

ThEditor avatar ThEditor commented on June 10, 2024

alright then, I've opened the PR #11671 for review, thanks!

from kolibri.

AlexVelezLl avatar AlexVelezLl commented on June 10, 2024

Perfect! Ill take a look in the afternoon. For now, can you please add some preview images?

from kolibri.

ThEditor avatar ThEditor commented on June 10, 2024

I wasn't active when you mentioned me, apologies. I've added a preview video to PR. That should be alright I suppose?

from kolibri.

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.