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

Feature: Compare multiple packages on a single chart #1

Closed
alexeyinkin opened this issue Nov 16, 2023 · 8 comments
Closed

Feature: Compare multiple packages on a single chart #1

alexeyinkin opened this issue Nov 16, 2023 · 8 comments

Comments

@alexeyinkin
Copy link

Often we need to see how a package is performing against similar ones over time.

There are also official uses for that. It could be to get funding from the parent company, or to apply for talent immigration program, or anything else. Sure we can look at separate charts, but there are always people in authority who will act on a single chart from a proven source but will not trust a chart I compile myself, and will not bother reading explanation of multiple charts.

Also, this is just fun.

As a bonus, if this is implemented, FlutterGems may be interested in building charts for each category, and you can get traffic from them.

@Rexios80
Copy link
Owner

I will need to think about how the UI for this will work, but that's a great idea! I haven't put much effort into useful features since this site has had zero traffic, but if you have any other features you want please make additional issues for them.

@alexeyinkin
Copy link
Author

I think Google Trends is a great example of the good UI to select multiple things and put them on a single chart. They even have clean and readable URLs when doing so.

@Rexios80
Copy link
Owner

How's this?

https://beta.pubstats.dev/#/packages/flutter_bloc?compare=riverpod

@alexeyinkin
Copy link
Author

The URL of flutter_bloc?compare=riverpod puts one package as the main one and the other as secondary. The problem is, to someone viewing this page it is not clear how to add a 3rd package.

If the URL was this:
https://beta.pubstats.dev/#/packages/flutter_bloc,riverpod
they could just append ,third_package

For reference, see the URLs in Google Trends:
https://trends.google.com/trends/explore?date=now%201-d&geo=GE&q=flutter,react%20native&hl=en

Also, there is riverpod (x) button to remove only one of the two packages. I think if viewing more than one package, the delete buttons should be for all packages: flutter_bloc (x) | riverpod (x)

These two changes will make the page more symmetric, and symmetry always pays when things develop further.

Also, I see some wrong data with riverpod showing 84% popularity while it is 98% in reality.

@Rexios80
Copy link
Owner

Popularity scores have been weird since the issues started. Things should normalize when that gets fixed. Data comes straight from the API.

I'm trying to make this work without making a whole new UI. I'll try to implement your suggestions.

@alexeyinkin
Copy link
Author

I like the project. In December, I may spend a few days helping on this.

@Rexios80
Copy link
Owner

@alexeyinkin
Copy link
Author

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants