Commit graph

20 commits

Author SHA1 Message Date
Ben Halpern
302e8f202d
Add HTML variants for cta optimization and other nav bar adjustments (#970)
* Add HTML variants for cta optimization and other nav bar adjustments

* Fix 1==1 non-random mistake

* Spruce up org call-to-action

* Change default text color

* Add html variant trial and success request specs

* Fix article sidebar caching issue

* One line adjustment

* Modify schema

* Add include ActionView::Helpers::TagHelper to user_tag_spec

* Modify follow_button to remove session context

* Dummy commit

* Change Edit Article to Edit Post

* Dummy commit

* Fix rubocop concerns

* Fix rubocop style
2018-10-22 17:03:57 -04:00
Ben Halpern
8184baed83
Adjust analytics styling and accuracy (#951)
* Adjust analytics styling and accuracy

* Add video button back in
2018-10-18 12:19:49 -04:00
Ben Halpern
95dacf67fa
Fix feed issue which caused wrong posts to show up sometimes (#827) 2018-10-04 19:07:36 -04:00
Ben Halpern
12fee733f7
Change from OR to proper AND (#816) 2018-10-04 11:34:20 -04:00
Ben Halpern
4d02005108
Fix query instruction for GoogleAnalytics events (#812)
* Add tracking for home page featured impressions/clicks

* Change impression event to view in Google Analytics

* Fix typo in GoogleAnalytics object

* Fix query instruction for GoogleAnalytics events
2018-10-04 10:46:45 -04:00
Ben Halpern
6aa6d7f737
Fix typo in GoogleAnalytics object (#807)
* Add tracking for home page featured impressions/clicks

* Change impression event to view in Google Analytics

* Fix typo in GoogleAnalytics object
2018-10-03 17:55:01 -04:00
Ben Halpern
a0491657dd
Add tracking for home page featured impressions/clicks (#804) 2018-10-03 14:05:00 -04:00
Ben Halpern
7e48a23afa
Ben/add more recent posts to home feed (#775)
* Add meta to sidebar and adjust ranking algo

* Update home feed to show more recent posts from folks you follow

* Only show recent posts on home feed if user signed in
2018-09-30 14:05:59 -04:00
Ben Halpern
be11d8fda1
Add meta to sidebar and adjust ranking algo (#766) 2018-09-29 12:58:44 -04:00
Ben Halpern
dffd0218e1
Add user quota to Google Analytics fetch (#765)
* Add page_views_count to articles and track from analytics

* Modification in google analytics fetch

* Chunk article requests in analytics requests

* Fix test

* Fix test in analytics

* Add user quota to Google Analytics fetch
2018-09-28 18:15:33 -04:00
Ben Halpern
eae8b6332f
Change various admin pages (#758)
* Change int to float for more granular admin controls

* Change int to float for more granular admin controls

* Add details to /mod for admins
2018-09-27 18:03:49 -04:00
Ben Halpern
dd32580ab1
Make article actions bar sticky (#648)
* Make article actions bar sticky

* Fix article load edge case

* Fix logic check
2018-09-13 13:52:35 -04:00
Ben Halpern
91f99036df
Update feed for slightly more customized top articles (#642)
* Update home feed logic and display

* Remove console log
2018-09-12 15:27:54 -04:00
rhymes
e588fa7ece Code cleanups (#659)
* Initial automatic cleanup with rubocop

* Fix syntax error introduced by rubocop

* Cleanup seeds file

* Cleanup lib folder

* Exclude bin folder because it contains auto generated files

* Make Rubocop a little bit more chatty

* Block length should not include comments in the count

* Cleanup config folder

* Cleanup specs

* Updated Rubocop version and generated a todo file

* Fix broken ArticlesApi spec

* Fix tests

* Restored rubocop pre-commit hook
2018-08-07 11:00:13 -04:00
Mac Siri
40f488d991 Migrate to Travis CI (part 2) (#591)
* Update Travis.yml

* Update README

* Update README

* Adjust test to not rely on env vars

* Update encryption

* Refactor

* Update env key

* Stub AWS calls

* Create ApplicationConfig

* Fix specs

* Fix lint

* Update ApplicationConfig

* Remove travis env vars

* Fix lint

* Extend character limit to 100

* Add env to travis

* Take out auto-restart after deploy

* Immediately discarded test cache

* Stub GA in request specs

* Stub Pusher

* Fix broken specs

* Update fixture

* Add CodeClimate id

* Change CodeClimate key

* Remove merge mistakes

* WIP

* Add Envied gem & Change README

* Add missing keys

* Add missing key

* Update fixture

* Fix broken spec

* Add Slack Notification for Travis

* Fix wording

* Fix typo
2018-07-20 20:17:18 -04:00
Ben Halpern
cd33d96e10
Adjust blackbox (#405) 2018-06-08 11:00:30 -04:00
Ben Halpern
532c379eff Adjust recency bonus (#402) 2018-06-07 13:02:35 -04:00
Ben Halpern
ab4b4fba6e Add reaction score to article hotness score 2018-06-07 11:14:11 -04:00
Mac Siri
e3a270d317 Update blackbox's API endpoint (#259) 2018-04-30 12:24:32 -04:00
Mac Siri
301c6080e3 Initial commit 2018-02-28 16:11:08 -05:00