Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a link from the metadomain to a filtered list of all the domains in that metadomain #125

Closed
bansp opened this issue Feb 24, 2022 · 14 comments
Assignees
Labels
homework stuff to think about actively between meetings SIS:documentation concerns the documentation provided inside the SIS SIS:enhancement
Milestone

Comments

@bansp
Copy link
Member

bansp commented Feb 24, 2022

This ticket is an offshoot of ticket #120 .

At page https://clarin.ids-mannheim.de/standards/views/list-domains.xq , the domain names are going to link to lists filtered by the given domain (that's what the original ticket is going to handle). So, from "Audiovisual Annotation", we are going to get to https://clarin.ids-mannheim.de/standards/views/recommended-formats-with-search.xq?domain=6

This ticket is for the 'metadomains' such as "Annotation" -- let's make them clickable as well, and let's make them take the user to lists filtered by several domains. So, clicking on "Annotation" would take us to a list containing recommendations for three domains: Audiovisual Annotation, Image Annotation, and Text Annotation.

An additional thing to make sure of is to have all three of them in the XML export, so the filter element in the export is going to be

<filter>
<domain>Audiovisual Annotation</domain>
<domain>Image Annotation</domain>
<domain>Text Annotation</domain>
</filter>
@bansp bansp added SIS:enhancement SIS:documentation concerns the documentation provided inside the SIS labels Feb 24, 2022
@bansp bansp added this to the SIS v. 2.3.0 milestone Feb 24, 2022
@margaretha
Copy link
Collaborator

We can provide a new page for listing the domains and their recommendations.

@bansp
Copy link
Member Author

bansp commented Mar 3, 2022

Definitely, let's experiment and see what works. And later on, we can try to restructure the information, if needed.

@bansp
Copy link
Member Author

bansp commented May 27, 2022

It seems to me that the primary focus should be moved here, or maybe made the topic of a separate ticket, with this one still being tagged as an enhancement. The actual primary task seems to be to be the ability to sort on more than one condition of the same kind: multiple domains, but also multiple formats, if someone searches for all STATA formats and wants to see how they are supported in some domains (including e.g. "Other"). Or someone clicking on a node in a format family tree, to see how the children of that node are supported. Or multiple domains, as in this very ticket.

image

(notice, incidentally, that something is off in this list, but that's an issue for a separate issue...)

One way or another, this issue needs to be postponed. Till September for now (task: split it into two tickets), and most probably till even later. So I'll change the milestone.

@bansp
Copy link
Member Author

bansp commented Oct 3, 2022

Postponing to ~2023.

@bansp
Copy link
Member Author

bansp commented Nov 16, 2022

This may be an important first step for many centres: they will identify the domain coarsely, simply to get the format recommendations in.
It doesn't make sense to prioritise this at this point, but I will assign it to Eliza, to make it easier to keep track of it.

@bansp bansp added the homework stuff to think about actively between meetings label Jan 24, 2023
@margaretha
Copy link
Collaborator

The actual primary task seems to be to be the ability to sort on more than one condition of the same kind: multiple domains, but also multiple formats

It seems that there is a certain grouping/categorization of the multiple formats or domains. Domains for example are grouped by meta-domain. How should multiple formats are grouped?

Like in the STATA example, should the formats be grouped by such criteria: "all formats with id starting with fSTATA"?

Or will the groups of similar/related formats be defined like the domains in meta-domain?

Or would we like to filter the recommendations by randomly select multiple formats/domains?

@bansp could you please clarify the task?

@bansp
Copy link
Member Author

bansp commented Feb 7, 2023

Let's have a separate issue on how formats are grouped (there's several ways, and the semi-structured ones are by keywords and by the format family tree). That was just an example to show that the issue is wider than domains.

And the issue is to be able to find results for multiple values of the same column (domain, format, centre(!)). Oh gosh, centre. Yes, this issue is fundamental.

Leaving the rest to our upcoming meeting and let's add to this ticket afterwards.

@bansp
Copy link
Member Author

bansp commented Feb 7, 2023

Eliza will see about filtering for multiple values for domains for now, and we can generalize from that afterwards.

@margaretha
Copy link
Collaborator

Multi-select mechanism (for domains) has been impemented in 2c528ea.

We still need to enable export with multiple domain filters.

@bansp
Copy link
Member Author

bansp commented Mar 7, 2023

Can't wait to test that, thanks, Eliza :-)
And you're right, we mustn't forget about export. Maybe let's have a separate issue for that, or is that going to be automatic?

@bansp
Copy link
Member Author

bansp commented Mar 7, 2023

I've posted a new issue #192 about some minor cosmetics.

@margaretha
Copy link
Collaborator

Thanks for the extended issue, @bansp. This issue has become bigger and bigger :-) We should have made a separate issue for the multi-select and export functions, since this issue depends on them.

Can't wait to test that, thanks, Eliza :-) And you're right, we mustn't forget about export. Maybe let's have a separate issue for that, or is that going to be automatic?

Maybe it is not bad to have a separate issue for the export. The multi-select drop-down function has been available in d803374, and the meta-domain links in the "Functional Domains" page have also been available in 0756175, but the table with multiple filter cannot be exported yet. It will produce almost an empty XMLdata.

What do you mean with automatic?

@bansp
Copy link
Member Author

bansp commented Mar 11, 2023

By "automatic" I meant I was wondering if it would be straightforward to move from querying multiple domains at once (via a metadomain) to exporting that same set of values. But since you're indicating that the two should be separated, I will post another ticket.

We should come back to the search issue though, let's try to keep in mind please for our next meeting. Ah, issue #192 is going to help us remember :-)

@bansp
Copy link
Member Author

bansp commented Mar 21, 2023

Closing, waiting for the update of the production (soon).

@bansp bansp closed this as completed Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
homework stuff to think about actively between meetings SIS:documentation concerns the documentation provided inside the SIS SIS:enhancement
Projects
None yet
Development

No branches or pull requests

2 participants