Code Monkey home page Code Monkey logo

Comments (10)

LaatonWalaBhoot avatar LaatonWalaBhoot commented on August 25, 2024

Hey this would be a great addition. Any idea if this can be included @vinceglb ?

from filekit.

santiwanti avatar santiwanti commented on August 25, 2024

Take a look at PR #60. There are quite a few limitations to this feature. I will keep working on it and try to cover as much area as possible, but I'm not sure how useful it is if it works on few platforms and fewer usecases.

from filekit.

LaatonWalaBhoot avatar LaatonWalaBhoot commented on August 25, 2024

@santiwanti Maybe take a look at https://github.com/onseok/peekaboo for reference?
This already has the functionality but is not actively maintained.

from filekit.

santiwanti avatar santiwanti commented on August 25, 2024

@LaatonWalaBhoot I will take a look at this for the iOS side. But still, keep in mind that FileKit supports more platforms than just iOS / Android and more files than just media

from filekit.

LaatonWalaBhoot avatar LaatonWalaBhoot commented on August 25, 2024

Thanks @santiwanti
However I wonder. Such a functionality would be useful for all platforms right?
Use case being e-commerce or social media apps

from filekit.

santiwanti avatar santiwanti commented on August 25, 2024

I do think it would be helpful, the problem is that maintaining it for some platforms will be harder than for others because we have to do it manually instead of letting the systems libraries handle it for us.

The only platforms I have seen that have library support for maxSelection are Android and iOS and only when it comes to images

from filekit.

LaatonWalaBhoot avatar LaatonWalaBhoot commented on August 25, 2024

Agreed. I guess we can keep this open once mobile platforms are supported. I can try putting in a PR for other platforms

from filekit.

santiwanti avatar santiwanti commented on August 25, 2024

@LaatonWalaBhoot the PR for mobile platforms is done. If it's decided that it will be merged I will probably have to clean it up a bit, but the functionality is there.

Regarding implementing the feature for other platforms, I would advise to wait until @vinceglb confirms that that is something he wants. Implementing the feature is the first step, it then has to be maintained and removing features is harder than adding them.

from filekit.

LaatonWalaBhoot avatar LaatonWalaBhoot commented on August 25, 2024

Sure thanks @santiwanti

from filekit.

LaatonWalaBhoot avatar LaatonWalaBhoot commented on August 25, 2024

@vinceglb There is a draft PR for this available. Any ideas if it will be reviewed and merged?

from filekit.

Related Issues (19)

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.