diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..7b6c1dc --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +neca.py \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..dc9ea49 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..29036a5 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/twitter-project.iml b/.idea/twitter-project.iml new file mode 100644 index 0000000..8b8c395 --- /dev/null +++ b/.idea/twitter-project.iml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/__pycache__/dashboard.cpython-310.pyc b/__pycache__/dashboard.cpython-310.pyc deleted file mode 100644 index 8e88d60..0000000 Binary files a/__pycache__/dashboard.cpython-310.pyc and /dev/null differ diff --git a/dashboard.py b/dashboard.py index fa975ac..6fb5a52 100644 --- a/dashboard.py +++ b/dashboard.py @@ -46,7 +46,7 @@ def generate_tweet(ctx, e): # emit to outside world emit('tweet', tweet) for w in words(tweet['text']): - emit('balk', { + emit('pie', { 'action': 'add', 'value': (str(w), 1) }) diff --git a/dashboard_static/index.html b/dashboard_static/index.html index 3cd4c9c..853a2e7 100644 --- a/dashboard_static/index.html +++ b/dashboard_static/index.html @@ -110,8 +110,10 @@ arrow_downward
- Sports Popularity Chart -
+ + Sports Popularity Filter +
+
@@ -126,12 +128,13 @@ +