Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
10.94k stars 775 forks source link

Analytics: Use remote default favicon #1327

Closed jrobinAV closed 2 months ago

jrobinAV commented 3 months ago

Description

Gui can use an image hosted on a Taipy server for the default favicon. Each time a GUI application is launched, the browser tries to fetch this image. If no favicon is found on the remote, whatever the reason, if possible, use a local favicon provided with the package so we can still run the app without internet access if needed.

The icon could be stored in Git Hub, which would make it transparent for users and allow Git Hub to process the information for use directly.

Motivation

The purpose is to get Taipy usage information with metadata for better analytics. The analytics part will be done in another ticket.

EDITED: Link to the favicon: https://github.com/Avaiga/taipy-assets/blob/develop/favicon.png

EDITED: Add some documentation to explain how to change the favicon and use a local one for unconnected users.

florian-vuillemot commented 3 months ago

We'll use 2 images to differentiate between the one used by the application and the one only scrolled by the robots. When merged, we need to update our traffic analyzer to retrieve traffic data from the taipy-assets repository and perform repository usage analyses.

FredLL-Avaiga commented 2 months ago

is it possible to get the new favicon in the following formats:

FredLL-Avaiga commented 2 months ago

URL is https://raw.githubusercontent.com/Avaiga/taipy-assets/develop/favicon.png

jrobinAV commented 2 months ago

is it possible to get the new favicon in the following formats:

  • 64x64px ico format
  • 192x192px png format both with transparent background

@RymMichaut can you provide these?

FredLL-Avaiga commented 2 months ago

not sure it is necessary anymore, I used what's available