wbond / packagecontrol.io

The Package Control website
https://packagecontrol.io
Other
111 stars 46 forks source link

Fix #152 Show ST4 badges #161

Open gerardroche opened 1 year ago

gerardroche commented 1 year ago

Fix #152

Q. Do I need to include the app.css and app.js files?


Listing before

listing-before

Listing after

listing

Package page before

package-before

Package page after

package-after

FichteFoll commented 1 year ago

I think this needs a bit of a discussion. Technically, this is a correct approach, but I'd argue that supporting the latest version is the expected behavior and does not need to be highlighted explicitly and ST2 support will be removed on the next PC release (finally), so I propose the following:

  1. package supports ST 3 and ST 4: no badge
  2. package supports ST 4 only: has ST4 badge or has "no ST3" badge
  3. package supports ST 3 only: has ST3 badge

This is basically the same as when we had ST2 and ST3 in parallel. Since ST2 is still technically supported by the latest version (though not really?) and we still have packages listed for it, I would also be ok with showing both ST3 and ST4 badges for the secondfirst case here until that is finalized. However, I don't think we need "ALL".

gerardroche commented 1 year ago

If we do away with the all then the st4 badge doesn't need to be green. The only reason I made that green is because the ALL tag seem to shadow the ST4 one which I don't think is right.

I think that makes sense and is much cleaner. Will I go ahead and make that change?

FichteFoll commented 1 year ago

Will I go ahead and make that change?

SGTM. I can't merge or deploy any of this, though, since only wbond has the permissions to do so.