question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Obtain the "Category" tag among all the labels of an entry

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently, the labels of an entry look like this: image image

We want only the categories of this entry to be displayed on the entry index inside collections(mock): image

Describe the solution you’d like We first need to decide what categories are and then go from there, suggest running it through with Kim, Denis and Charles first. Might need to add a new column inside the Entry class in the web-service to hold onto the categories.

Describe alternatives you’ve considered Leave it as it is

Additional context Previously, I returned all the entry’s labels(PR), if it’s needed, please revert these changes. Anyways please still refer to this optimization ticket when the new solution is being applied: https://github.com/dockstore/dockstore/issues/4152

┆Issue is synchronized with this Jira Story ┆fixVersions: Dockstore 1.12 ┆friendlyId: DOCK-1765 ┆sprint: Sprint 72-Yellowspotted Catsha ┆taskType: Story

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
coverbeckcommented, Apr 13, 2021

This could be something that curators set, so that there is consistency across Dockstore. Not sold on this, just a thought.

0reactions
garyluucommented, Dec 10, 2021

I see it: image

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Label element - HTML: HyperText Markup Language | MDN
The label text is not only visually associated with its corresponding text input; it is programmatically associated with it too.
Read more >
javascript - Find html label associated with a given input
var getLabelsForInputElement = function(element) { var labels = []; var id = element.id; if (element. labels) { return element. labels; } id && ......
Read more >
Using label elements to associate text labels with form ...
The objective of this technique is to use the label element to explicitly associate a form control with a label. A label is...
Read more >
HTML <label> Tag
Firstly, use <label> tag by providing the <input> and id attribute. The <label> tag needs a for attribute whose value is the same...
Read more >
HTML Inputs and Labels: A Love Story
In this post, I want to focus on situations where the lack of a semantic label and input combination makes it much harder...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found