CodeZwei / shisho

Chrome Extension and Database for saving and recording metadata about hentai images.
MIT License
1 stars 0 forks source link

Display a Warning Icon if API version is mismatched #4

Open CodeZwei opened 1 year ago

CodeZwei commented 1 year ago

Backend is serving a /version API which includes the API Version being used by the Server.

These should be a check in the Extension so that it knows which API Version it is using. If there is a mismatch, inform the user and prevent extension operations until it is resolved (usually by renewing the Extension / Server).


It can inform the User by switching to a Yellow/Orange PageAction Icon, and changing the title to "API Version Mismatch"


Will record an Orange Status Icon if there is a version mismatch. Updates the title.

Still won't more directly inform the user.