Giter Club home page Giter Club logo

Comments (10)

rogiervandenberg avatar rogiervandenberg commented on May 20, 2024 4

I'd really love to see the same. My use case is that we are using a custom asset management (so not a real file based one, with files on disk), with many properties (status (public, draft, etc.), description, tags, etc.).

In my case, when listing file in their list view, I'd like to be able to add/hide columns to show these details.

from chonky.

TimboKZ avatar TimboKZ commented on May 20, 2024

Hi, at the moment this is not a supported feature.

I think the best solution for you right now is to fork Chonky and customise it as necessary.

Can you give me some more details about your use case? What properties do you want to display instead?

from chonky.

TimboKZ avatar TimboKZ commented on May 20, 2024

Hi @rogiervandenberg, your use case is very common, so I'm very keen to add support for it.

That said, I still haven't pinned down the best way to implement this. The obvious solution is to let users provide, say, an array of custom FileData keys they want to display, and then just loop through that in Chonky. The problem here is that Chonky doesn't actually use a real <table> under the hood (because of virtualisation concerns), so it will be hard to get accurate column widths. This will also not work if users want to render some React components inside the table cells.

A more future-proof solution is to let users define their own ListFileEntry/GridFileEntry components, but right now the internal implementation of these components is far too complicated to expect users to reproduce it. I need to make it more modular before people start reusing it.

With the above in mind, I think at this point in time the best solution for your problem is to fork Chonky and customise it as necessary. If you end up doing this and come up with something interesting, please let me know!

from chonky.

RickeyWard avatar RickeyWard commented on May 20, 2024

I want to nudge for this request. I'd like to be able to show linux file permissions -rw-rw-rw etc. Currently just adding it to the beginning of the file name, but it looks odd in icon mode, ideally it would be only shown in detail view and in its own column.

from chonky.

Ionut-Milas avatar Ionut-Milas commented on May 20, 2024

I have the same usecase as @rogiervandenberg

from chonky.

adam-qualio avatar adam-qualio commented on May 20, 2024

Is there any movement on this? Our use case is very similar to above - wanting to show some extra metadata (name of the author etc)

from chonky.

rajancherma avatar rajancherma commented on May 20, 2024

I too want to display the user who have created the file. Can anyone please help me

from chonky.

VsKatshuma avatar VsKatshuma commented on May 20, 2024

Agree with this issue. Adding custom data columns to list entries would be a really welcome feature.

from chonky.

nikhilchauhankrantitechservices avatar nikhilchauhankrantitechservices commented on May 20, 2024

Is this resolved yet. I also want to show a field "uploaded by".
Please let me know if this is gonna be implemented in future.

from chonky.

zhyang-liu avatar zhyang-liu commented on May 20, 2024

I have same issue with @RickeyWard. And plus that, the date column is too narrow to display full datetime.

from chonky.

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.