Commit graph

42 commits

Author SHA1 Message Date
Ben Halpern
524052234a
Add email_digest_eligible check to non-following emails (#278) 2018-05-03 17:34:31 -04:00
Ben Halpern
f2101410ea
[WIP] Improve article boosting abilities and insights (#237)
* Update email subjects split test

* Create alternate editor

* Add proof of concept to emails

* Add utm for internal nav

* Add ability to boost in DEV Digest

* Adjust articles.scss

* Adjust article_form.scss

* Remove unnecessary files

* Remove files from PR

* Adjust boosted email settings

* Conditionally include organization in additional box

* Modify schema.rb
2018-05-02 12:24:54 -04:00
Ben Halpern
e713710c4c Fix who to follow issues 2018-05-01 11:36:35 -04:00
Andy Zhao
d6e3344da7 [Updated] Suggested Follows Sidebar (#240)
* MVP of follow sidebar

* Prettier linted stuff

* More prettier lint

* Load only one widget

* fix github issue comment liquid tag (#242)

* Adjust Flatiron school copy/link (#241)

Per Flatiron School request, updating the homepage copy and link

* Add sticky sidebar to article show page (#243)

* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

*  Fix styling issues on side nav (#244)

* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav

* Ben/article show redesign (#245)

* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav

* Modify article order

* Fix issue in side bar

* Fix issue in side bar

* Ben/article show redesign (#246)

* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav

* Modify article order

* Fix issue in side bar

* Fix issue in side bar

* Not show author image as other images

* Remove current article id from potential queried articles (#247)

* Add optimistic rendering for follow buttons

* Remove redundant line

* Fix inline stylesheet issue (#248)

* Remove current article id from potential queried articles

* Fix inline stylesheet issue

* Modify sticky_articles source to be more similar to post

* Move assign sticky nav around

* Modify sticky articles

* Attempt to fix sticky

* Fix article show to call 404

* Fix

* Conditional

* Add tag_line to org admin and add conditional on hiring post (#250)

* Modify sticky_article criteria (#251)

* Add tag_line to org admin and add conditional on hiring post

* Modify sticky_article criteria

* Move suggestions to single route

* Exclude self and already followed from suggestions

* Update readme with new API key instructions (#252)

* Modify query to be more performant and correct

* Add br instead of hr for last element

* Remove code for development woops

* Add user articles to sidebar (#253)

* Add user articles to sidebar

* Add organization save-all functionality

* Adjust articles that show up in side sticky bar (#254)

* Add user articles to sidebar

* Add organization save-all functionality

* Adjust articles that show up in side sticky bar

* Add conditional for @user_stickies to show up

* Misc change to styles (#255)

* Add user articles to sidebar

* Add organization save-all functionality

* Adjust articles that show up in side sticky bar

* Add conditional for @user_stickies to show up

* Misc change to styles

* Slight change

* Modified footer center show stuff

* Remove current article author from sticky sidebar (#256)

* Fix article preview issue (#257)

* Update blackbox's API endpoint (#259)

* Modify user tag follow suggestions
2018-04-30 17:45:01 -04:00
Ben Halpern
8ec9991bd8 Merge branches 'master' and 'andy/feature/suggested-follows-sidebar' of github.com:thepracticaldev/dev.to_core 2018-04-30 14:39:40 -04:00
Mac Siri
e3a270d317 Update blackbox's API endpoint (#259) 2018-04-30 12:24:32 -04:00
Zhao-Andy
a0a9d654f0 Remove code for development woops 2018-04-27 17:33:15 -04:00
Zhao-Andy
70e0329f5a Modify query to be more performant and correct 2018-04-27 17:04:09 -04:00
Zhao-Andy
c25cd81d15 Exclude self and already followed from suggestions 2018-04-26 16:54:31 -04:00
Zhao-Andy
be14ed029d MVP of follow sidebar 2018-04-25 13:56:04 -04:00
Mac Siri
4bc9020956 Implement comment preview feature (#223)
* Create #preview endpoint for CommentController

* Create comment preview button WIP

* Implement preview feature for reply comment W

* Style preview button CSS WIP

* Style preview button CSS WIP

* Tweak markdown toggle logic and add styling

* Update comment feature spec

* Add error handling for comment preview & fix lint

* Extract handleCommentPreview into it's own file

* Adjust functionality for comment preview [WIP]

* Modify comment preview functionality and CSS

* Adjust code style based on linter
2018-04-24 14:30:52 -04:00
Mac Siri
02ab21726d Create "invalid token" page for EmailSubscriptionController (#218)
* Update email-unsubscription expiration to 31 days

* Create invalid_token template

* Fix lint
2018-04-18 13:19:08 -04:00
Mac Siri
0ea3f38dbf Implement one-click-unsubscribe (#192)
* Implement one-click-unsubscribe feature WIP

* Adjust email subscription page's css

* Add mobile scss

* Apply subscription logic to other email type

* Add back default email footer

* Create EmailSubscriptions request spec
2018-04-09 14:05:45 -07:00
Andy Zhao
deb63ab643 Add Save Articles Page to Onboarding (#182)
* Add MVP of onboarding articles

* Lint and fix unfollow all button bug

* Update onboarding tests

* Fix typo and adjust when saveAll request gets sent

* Set default to always save all articles

* Fix when request is sent for follows/saves

* Check for article length when for initial request

* Add a loading indicator for follows page

* Prevent multiple follow/save requests

* Update tests

* Add some hover and click effects

* Adjust onboarding test and suggested articles
2018-04-05 11:41:28 -07:00
Ben Halpern
b4695151a8
Add featured clause to email logic for non-following (#163)
* Change loop in email_digest to find_each

* Add featured clause to email logic for non-following
2018-03-30 12:18:24 -04:00
Ben Halpern
ae7b8efc8b
Change loop in email_digest to find_each (#162) 2018-03-30 11:58:00 -04:00
Ben Halpern
c8ae0d08c3
Modify digest email copy and add rescue (#161)
* Modify digest email copy

* Rescue failure in digest email
2018-03-29 17:10:25 -04:00
Ben Halpern
4f1c771b55
Modify fresh date to be a few days ago rather than a month ago (#154) 2018-03-28 15:51:14 -04:00
Mac Siri
5f1bcf15a4 Improve RssReader's nbsp parsing (#155) 2018-03-28 15:48:56 -04:00
Ben Halpern
4fa675d792
Update email logic to not get own articles (#153)
* Add where published true clause in email logic

* Update email logic to not get own articles

* Customize email digest subject
2018-03-27 16:18:29 -04:00
Ben Halpern
a06b907536
Add where published true clause in email logic (#152) 2018-03-27 15:55:43 -04:00
Ben Halpern
99fd30fa25
Modify email digest and create rake task (#151) 2018-03-27 15:21:59 -04:00
Mac Siri
9d32af7b6c Implement periodic email digest (#123)
* Create EmailDigest WIP

* Add email_digest_periodic to User model

* Add email digest setting to notification

* Draft thoughts (?)  WIP

* Implement EmailDigest's features

* Remove hard-coded email digest vars

* Create spec for EmailDigest

* Fix something

* Temp work

* Run migration & Yarn

* Move email logic out of EmailDigest

* Improve email logic

* Improve EmailLogic'specs

* Update copy

* Change positive_reactions_count limit

For non-followed articles we should have a higher limit. So this change modifies that.
2018-03-27 13:29:08 -04:00
Ben Halpern
c1b0d08c59
Update follow suggestions logic and add taggable to users (#147) 2018-03-26 13:14:24 -04:00
Ben Halpern
b7ab8e931d
Adjust follow process (#135) 2018-03-23 14:49:20 -04:00
Ben Halpern
7fab7e99f1 Adjust minimum reaction count on follower suggestion 2018-03-22 19:37:12 -04:00
Ben Halpern
ccbbe334fe
Modify algorithm on userfollowsuggester (#126)
* Modify algorithm on userfollowsuggester

* Adjust copy in follower email

* Adjusted env-specific offset number
2018-03-22 19:24:19 -04:00
Ben Halpern
8a1f9991f1
Add users to signup modal (and other adjustments) (#124)
* Add a missing bounty hunter

* Add a msg about updating social usernames

* Add mailto: link for yo@dev in terms

* Use render partial for help tag

* Lint a file

* Add first draft of onboarding follow users

* WIP onboarding

* Change users api controller

* Create FollowSuggester to return suggested follows for user

* Create initial follow users flow in onboarding

* Move follow user logic to top lvl

* Add follow api end point for onboarding

* Add profile img and update follow action

* Remove checkbox and use a tag instead

* Lint and update tests

* Remove incomplete test for now

* Final adjustments to signup modal

* Update jest snapshot

* Add more jest tests and fix typo
2018-03-22 18:29:22 -04:00
Mac Siri
f07024e5d7 Implement Runkit Liquid Tag (#87)
* Implement Runkit Liquid Tag

* Update javascript tag

* Fix lint

* Add RunKit to Editor's Guide

* Fix typo
2018-03-19 16:11:51 -04:00
Ben Halpern
993002506f
Modify ClassicArticle to avoid false positive test (#93)
* Add Google Optimize

* Modify ClassicArticle to avoid false positive test
2018-03-17 14:31:39 -04:00
Mac Siri
6f0a64c83f Improve title parsing logic (#88) 2018-03-16 17:02:32 -04:00
Ben Halpern
c1e623ebc2
Add additional content boxes under posts (#86)
* Add additional content boxes under posts

* Fix issue with classic article for under content
2018-03-16 16:35:54 -04:00
Ben Halpern
e052e63d34
Add tabs for chronological filtering (#69) 2018-03-13 11:13:19 -04:00
Mac Siri
2a7cb93322 Make title-parsing backward compatible (#59)
* Make title-parsing backward compatible

* Improve var naming & Add comments
2018-03-08 15:52:05 -08:00
Ben Halpern
d7fc758b8c
Fix theycoded template (#60)
* Fix theycoded template
2018-03-08 15:48:17 -08:00
Mac Siri
c664de0b94 Force article title to be wrap in double quotes (#47)
* Force article title to be wrap in double quotes

* Move title parsing logic to backend

* Improve quote gsub logic

* Update loadYamlFront's error handling

* Remove unused variable

* Update RssReader's title parsing logic

This is to keep it in sync with changes in MarkdownFixer
2018-03-07 22:42:59 -08:00
Ben Halpern
4654166cd5
Ben/womens day (#51)
* Remove stale docs files and add signup CTA on show page

* Fix user follow button on search page

* Finalize shecoded/theycoded images
2018-03-07 21:15:59 -08:00
Andy Zhao
efe9b56c9a [WIP] add first draft of shecoded 2018 social image (#50)
* add first draft of shecoded 2018 social image

* Use conditionally first name and 50/60 font size
2018-03-07 20:37:51 -08:00
Ben Halpern
2771a2e866
Add Algolia to comments, modify button styles, add comments tab to reading list area (#32)
* Add Algolia to search and add Only My Posts filter

* Actually fix Algolia index possible issue

* Fix search issue

* Make minor adjustments to sponsorship sidebar

* Make submission rules headsup html allowed and remove devise trackable

* Remove devise_trackable from application_controller

* Adjust login CTA for /new

* Adjust string in test to reflect changes

* Quick fix for internal navigatioon draft caching issue

* Add ID to internal/articles

* Fix auth with Twitter in two places

* Added comments to algolia and modified design

* Update sidebar styles and make other small adjustments

* Clean up tag styling and other small improvements

* Finalize design adjustments

* Add indexing condition for comments

* Fix Algolia typo

* Fix Algolia indexing on comment
2018-03-04 22:25:08 -05:00
Mac Siri
805a44d3c6 Update ENV name (#18) 2018-03-01 17:27:32 -05:00
Ben Halpern
430e668d7f
Quick fix to internal navigation draft caching issue (#17)
* Add Algolia to search and add Only My Posts filter

* Actually fix Algolia index possible issue

* Fix search issue

* Make minor adjustments to sponsorship sidebar

* Make submission rules headsup html allowed and remove devise trackable

* Remove devise_trackable from application_controller

* Adjust login CTA for /new

* Adjust string in test to reflect changes

* Quick fix for internal navigatioon draft caching issue
2018-03-01 17:26:47 -05:00
Mac Siri
301c6080e3 Initial commit 2018-02-28 16:11:08 -05:00