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

Add a plugin tag cloud to the front page and search windows #137

Closed
oleg-nenashev opened this issue Feb 27, 2020 · 12 comments
Closed

Add a plugin tag cloud to the front page and search windows #137

oleg-nenashev opened this issue Feb 27, 2020 · 12 comments

Comments

@oleg-nenashev
Copy link
Contributor

It would be cool if we could use labels to generate a tag cloud. It would help to highlight the most popular areas/technologies and help users to discover them.

Nice 2 have: each label is a hyperlink

image

@tkelley-eg
Copy link
Contributor

I spent just a little time on this and it seems this component would be nice:

https://github.com/madox2/react-tagcloud

This query should do the trick and can be reduced down to the data structure required by the component:

query MyQuery {
  allJenkinsPlugin {
    nodes {
      labels
    }
  }
}

I hope to take a crack at the javascript code to translate the structure sometime this week.

@daniel-beck
Copy link
Contributor

Given what the actual tags that are used most often seem to be per the linked PR, I seriously doubt this would be all that useful. We're not highlighting all the cool technologies you can use with Jenkins, but mostly expose the exciting categories of "builder", "notifier", "external", "post-build", "report", and "misc".

Highlighting how popular the tags "adopt-this-plugin" and "deprecated" are is also not quite front page material.

@oleg-nenashev
Copy link
Contributor Author

oleg-nenashev commented Oct 19, 2020 via email

@tkelley-eg
Copy link
Contributor

Given what the actual tags that are used most often seem to be per the linked PR, I seriously doubt this would be all that useful. We're not highlighting all the cool technologies you can use with Jenkins, but mostly expose the exciting categories of "builder", "notifier", "external", "post-build", "report", and "misc".

Highlighting how popular the tags "adopt-this-plugin" and "deprecated" are is also not quite front page material.

It seems valuable that we've actually been able to see what the cloud looks like so there can be some debate on whether the information is useful or not. I'm not sure what process you all might use to determine if this is a worthwhile feature for the front page or anywhere else in the app? I'm happy to invest more time to complete this, but only if it's seems valuable enough to get merged :-)

It's not a problem to add an block list to prevent some less useful labels from appearing. It would seem reasonable that the new react component could just store that locally.

cc: @halkeye @zbynek

@halkeye
Copy link
Member

halkeye commented Oct 20, 2020

Highlighting how popular the tags "adopt-this-plugin" and "deprecated" are is also not quite front page material.

yea lets hide those tags. Once we get rid of the hard to read colors, i'm happy to merge it, and then revisit

@tkelley-eg
Copy link
Contributor

Highlighting how popular the tags "adopt-this-plugin" and "deprecated" are is also not quite front page material.

yea lets hide those tags. Once we get rid of the hard to read colors, i'm happy to merge it, and then revisit

ok, sweet. When someone has a moment, can I have a list of specific tags we want to hide?

@halkeye
Copy link
Member

halkeye commented Oct 20, 2020

https://plugins.jenkins.io/api/labels
"adopt-this-plugin"
"deprecated"
"must-be-labeled"
"plugin-test"

There's def some not useful (ex "file", "website") tags in the full list, but they'll be okay now, and hopefully encourage people to tag their repos

@tkelley-eg
Copy link
Contributor

Here are some color options, which are considerably darker than my first (default) attempt:

{luminosity: 'dark',format: 'rgba',alpha: 1.0}

image

{luminosity: 'dark',format: 'rgb'}

image

@halkeye
Copy link
Member

halkeye commented Oct 20, 2020

Can I defer to @zbynek?

I like the second one better except the yellow on white is hard for me to read.

@tkelley-eg
Copy link
Contributor

If anybody wants to play with some colors - https://randomcolor.lllllllllllllllll.com/

@RiyaGupta89
Copy link

@zbynek Is this issue still open and can I work on this issue?

@zbynek
Copy link
Contributor

zbynek commented Oct 2, 2021

@RiyaGupta89 I don't think there is enough consensus on how/whether this should be implemented.
@oleg-nenashev I'm closing this for now, if you want this implemented let's discuss the goals first.

@zbynek zbynek closed this as completed Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants