OpenUserJS.org icon indicating copy to clipboard operation
OpenUserJS.org copied to clipboard

Consider a brief enumeration of script updates list with corresponding version

Open Zren opened this issue 11 years ago • 5 comments

Pushing a new version without updating the version number in the metadata will reset the counter. This might confuse the user as we label it as "since vXXX started" rather than "since last update".

https://github.com/OpenUserJs/OpenUserJS.org/commit/6621ee52182e6d4f45326f7d937a04a66ba57de6#diff-b755ddbc6b2edf964c5586d742e3afdaR332

Options

  1. Relabel it (meh)
  2. A quick fix to solve this would be to check if the version has changed before resetting the number.
  3. A proper fix would be to enumerate every script update.

Thanks to vBm for reporting this.

Zren avatar Sep 08 '14 16:09 Zren

Labeled as a bug. If you want to list all in the history for the proper fixing you mentioned it might be a good idea to limit how far back we go... that way we don't end up with a list that pushes any other panels that do exist or will exist so far down the page it becomes a hindrance.

Refs:

  • #333

Martii avatar Sep 08 '14 16:09 Martii

I suggest the proper fix.

jerone avatar Sep 08 '14 17:09 jerone

~~While you are at it here @Zren is it possible to fix the install counts for libraries?~~ Fixed

Martii avatar Sep 09 '14 21:09 Martii

I agree with @jerone. Having full history table would be awesome :)

vBm avatar Sep 12 '14 23:09 vBm

Renamed this issue as option 2 was implemented currently... the actual identifier name is fine as is and could be made into an array of versions to installs with a cap on the maximum number to store and list... e.g. as I stated above... let's not overflow the vertical height with those who do tons of refreshes of their script.

There is still the chance of a BUG that needs to be worked out of this section of the code... so please keep this in mind.

Martii avatar Jul 31 '15 18:07 Martii