Code Monkey home page Code Monkey logo

Comments (14)

robertoandrade avatar robertoandrade commented on May 24, 2024

I noticed that the current pagination feature break when you filter the results, you have to keep on skipping blank pages in order to find the results in the matching pages.

from dynamodb-admin.

lordciccio avatar lordciccio commented on May 24, 2024

Yes, it's a known issue. I've been working on this kind of problems in a project recently: the complexity is due to how dynamo works: scan results can be limited but that limit has nothing to do with filtered results, so when filtering is applied it's not a straightforward task to get only filtered items in pages, or to know total number of pages from the beginning.
I pushed a branch called "pagination" to try to solve the problem, can you give feedback please?
Thank you

from dynamodb-admin.

robertoandrade avatar robertoandrade commented on May 24, 2024

Works great!

from dynamodb-admin.

lordciccio avatar lordciccio commented on May 24, 2024

@aaronshaf, you might just want to check it out so we can merge.

from dynamodb-admin.

robertoandrade avatar robertoandrade commented on May 24, 2024

from dynamodb-admin.

aaronshaf avatar aaronshaf commented on May 24, 2024

@lordciccio Which PR? Seems already merged?

I can cut another release.

from dynamodb-admin.

lordciccio avatar lordciccio commented on May 24, 2024

I put it on branch, it's called "pagination"

from dynamodb-admin.

aaronshaf avatar aaronshaf commented on May 24, 2024

from dynamodb-admin.

lordciccio avatar lordciccio commented on May 24, 2024

sure, just done

from dynamodb-admin.

aaronshaf avatar aaronshaf commented on May 24, 2024

Merged.

from dynamodb-admin.

aaronshaf avatar aaronshaf commented on May 24, 2024

@lordciccio What is your npm username? I'll make you a fellow npm owner.

from dynamodb-admin.

lordciccio avatar lordciccio commented on May 24, 2024

it's lordciccio :)
thank you

from dynamodb-admin.

aaronshaf avatar aaronshaf commented on May 24, 2024

Done

from dynamodb-admin.

aaronshaf avatar aaronshaf commented on May 24, 2024

Thank you

from dynamodb-admin.

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.