Skip to content

Please release 0.79 #23

Open
Open

Description

@marcolarosa

There's been a couple of bugfix release since the last (0.78.9 and 0.78.10) and 0.79.0 has a new control:

https://github.com/describo/crate-builder-component/releases/tag/v0.79.0

Activity

  1. beepsoft commented on Oct 23, 2024

    @beepsoft
    Collaborator

    Hi Marco,

    I see you added Bulk add:

    image

    I can't really see how this supposed to work. For example, in the date field above I would expect that I can bulk add dates, but instead it seems that I need to add manually @type and also @id, which doesn't really makes sense in this case. What is the use case for this Bulk add feature?

  2. marcolarosa commented on Oct 23, 2024

    @marcolarosa
    Author

    It should not be visible when there's only primitives available. Thanks for picking that up.

    It only makes sense for adding a set of entities (e.g. a set of people) where the user wants to add name and @id without having to navigate to back and forth within describo.

    https://github.com/describo/crate-builder-component/releases/tag/v0.79.2 fixes this

  3. beepsoft commented on Oct 24, 2024

    @beepsoft
    Collaborator

    Thanks for the fix, I just published 0.79.2.

  4. beepsoft commented on Oct 24, 2024

    @beepsoft
    Collaborator

    Just one more idea. My guess is that Bulk add will be a rather niche feature not used by many RO-Crate authors (only by advanced users), however this button will appear for every entity type. What do you think about using a combined button like this?

    image

    This is the second example here: https://element-plus.org/en-US/component/dropdown#triggering-element

    The normal button click would add/search the entity as usual and the dropdown would offer the Bulk add feature.

    Something like this.

  5. marcolarosa commented on Oct 24, 2024

    @marcolarosa
    Author

    I went down that path initially but then decided against it because it felt like a lot of overhead for it. It also meant that it would be attached to every entity type.

    The use case came from trying to create a dataset of tklabels (https://localcontexts.org/labels/traditional-knowledge-labels/). There are 20 entries and it was a lot of stuffing around creating them one by one. In this use case I created a profile to attach TKLabel entities via hasPart so the extra toggle would have been on CreativeWork, URL, Dataset, File and TKLabel. That's why I did it this way - one extra button to bulk add and the existing buttons just work as they do.

    Screenshot 2024-10-24 at 4 37 01 PM

    With two clicks the user opens the dialog and selects the type they want to add.

    I did think that maybe it should be a config option on the component so that it could actually just be disabled. What do you think?

  6. beepsoft commented on Oct 24, 2024

    @beepsoft
    Collaborator

    I can see where this is useful. A Profile input configuration would make sense, I totally agree, as in case of most entities I don't feel that bulk addition is ever necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions