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 index 52532bb..883c995 100644 Binary files a/__pycache__/dashboard.cpython-310.pyc and b/__pycache__/dashboard.cpython-310.pyc differ diff --git a/dashboard.py b/dashboard.py index 7196e39..4f7468e 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..9e26092 100644 --- a/dashboard_static/index.html +++ b/dashboard_static/index.html @@ -62,7 +62,7 @@
Latest Cluccs -
+
@@ -91,27 +91,34 @@
Filtered Cluccs +
+ +
- - -
- Sort By arrow_drop_down + + +
+ Sort By
    -
  • Time
  • -
  • Likes
  • -
  • Retweets
  • -
  • Replies
  • +
  • Time
  • +
  • Time
  • +
  • Likes
  • +
  • Retweets
  • +
  • Replies
+ arrow_drop_down
arrow_downward
- Sports Popularity Chart -
+ + Sports Popularity Filter +
+
@@ -126,13 +133,14 @@ +