Giter Club home page Giter Club logo

Comments (3)

ramonski avatar ramonski commented on July 3, 2024

Hi Leonid,

Thanks for sharing the requirement of your lab!

Did you know that by holding the Shift key after a first item was selected, you can select the range in between where you select the second item?
However, having a frame over the items a user wants to select would be indeed a nice feature!

Regarding the select options:

The ones you shared are quite specific to the samples listing only.
How would you define such a predicate for different listings, e.g. for those in the Setup folder?

from senaite.core.

toropok avatar toropok commented on July 3, 2024

Hi!

Did you know that by holding the Shift key after a first item was selected, you can select the range in between where you select the second item?
However, having a frame over the items a user wants to select would be indeed a nice feature!

NO! I didn't know that! Thank you :) it works amazingly!

The ones you shared are quite specific to the samples listing only.
How would you define such a predicate for different listings, e.g. for those in the Setup folder?

When user makes a right-click on app.listing item context menu displays. This menu contains sub-items related to the table at the whole, e.g. "Select All"/"Deselect All" and commands available for apply to specific selected [item or items].

In our everyday routine we noticed that analyst want quickly click on table item and ask to select all other items in this table with same property (or grouping criteria) as clicked one. Initially I was think to use columns as such criteria, that makes approach universal. Lets consider listing used in Setup folder for AnalysisServices, with right click analyst can select:

  • all items by group, by method, by sort key and etc.

Obviously, you're right such functionality make no sense for most Setup folder tables :) but may be it could be configurable from the View object?

from senaite.core.

ramonski avatar ramonski commented on July 3, 2024

Hi Leonid,

Did you know that by holding the Shift key after a first item was selected, you can select the range in between where you select the second item?
However, having a frame over the items a user wants to select would be indeed a nice feature!

NO! I didn't know that! Thank you :) it works amazingly!

Glad it works for you!
It also works the other way around, so that you can deselect a range of selected items.
The logic depends on the last item you clicked was selected or deselected.

The ones you shared are quite specific to the samples listing only.
How would you define such a predicate for different listings, e.g. for those in the Setup folder?

When user makes a right-click on app.listing item context menu displays. This menu contains sub-items related to the table at the whole, e.g. "Select All"/"Deselect All" and commands available for apply to specific selected [item or items].

In our everyday routine we noticed that analyst want quickly click on table item and ask to select all other items in this table with same property (or grouping criteria) as clicked one. Initially I was think to use columns as such criteria, that makes approach universal. Lets consider listing used in Setup folder for AnalysisServices, with right click analyst can select:

  • all items by group, by method, by sort key and etc.

Obviously, you're right such functionality make no sense for most Setup folder tables :) but may be it could be configurable from the View object?

Yes indeed. It should be somehow configurable in the Listing View, similar to the columns, review states etc.

Jordi and I had recently a discussion about a similar use case and came up with an extended search field. I.e. that you can select there specific Indices to query and allow a combined search similar to how GitHub is doing it.
I think this would cover your use-case as well without any hard-coded functionality.
The available indices could be looked up dynamically and used for search.

However, for the time being there might be the following workaround:

Selected items keep selected in the listing. This allows you to search multiple times and collect the items you wish to have in the listing.

from senaite.core.

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.