Mango-information-systems / twitto_be

twitto_be is a real-time tweets analytics dashboard
https://twitto.be
Other
12 stars 2 forks source link

color tweet dots based on language #107

Closed mef closed 7 years ago

mef commented 7 years ago

In the tweets map, dots could be colored based on the tweets language.

Advantages:

Languages to show: NL, FR, EN, Other (DE is probably too rarely used, to be checked)

mef commented 7 years ago

linking related commits:

mef commented 7 years ago

Storage of tweets language has been pulled inside branch 3.0.0-wip. This means that once finalized, this feature can be deployed in production not earlier than 24 hours after the deployment of v3.0.0.

mef commented 7 years ago

Branch 3.0.0-pre, which includes the storage of tweets languages, has just been deployed in production. This means that in 24 hours, this feature can be deployed.

mef commented 7 years ago

Heads-up @11digitlabs params.json now needs to have a "colors" property inside nested under maps.

        , "colors": {
            "en": "rgba(0, 172, 237, .3)"
            , "fr": "rgba(0, 128, 0, .3)"
            , "nl": "rgba(255, 115, 0, .3)"
            , "other": "rgba(0, 0, 0, .3)"
        }

This determines the dot colors based on tweet's language.

Currently in branch issue-107-wip, may be merged inside 3.0.0-wip depending on deployment schedule / progress on the other issues.