Commit graph

4012 commits

Author SHA1 Message Date
Ben Halpern
aa32f321c6
Add May sponsors (#264) 2018-05-01 12:44:28 -04:00
Ben Halpern
bd56b71c1c
Fix who to follow issues (#263)
* MVP of follow sidebar

* Prettier linted stuff

* More prettier lint

* Load only one widget

* Add optimistic rendering for follow buttons

* Remove redundant line

* Move suggestions to single route

* Exclude self and already followed from suggestions

* Modify query to be more performant and correct

* Add br instead of hr for last element

* Remove code for development woops

* Remove unneeded file
2018-05-01 12:01:32 -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
Andy Zhao
48ac8f15be Add logging info for sign in (#261)
* Add no instantclick for log out to fix hover 404

* Add logging info for sign in to debug full path
2018-04-30 17:44:43 -04:00
Mac Siri
e3a270d317 Update blackbox's API endpoint (#259) 2018-04-30 12:24:32 -04:00
Ben Halpern
71392e3e60
Fix article preview issue (#257) 2018-04-29 13:08:20 -04:00
Ben Halpern
6cf8a79c71
Remove current article author from sticky sidebar (#256) 2018-04-28 17:48:20 -04:00
Ben Halpern
2001963863
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
2018-04-28 16:55:11 -04:00
Ben Halpern
0281849e23
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
2018-04-28 13:30:31 -04:00
Ben Halpern
870325677e
Add user articles to sidebar (#253)
* Add user articles to sidebar

* Add organization save-all functionality
2018-04-27 17:44:30 -04:00
Ben Halpern
b965fc5814
Modify sticky_article criteria (#251)
* Add tag_line to org admin and add conditional on hiring post

* Modify sticky_article criteria
2018-04-26 15:27:22 -04:00
Ben Halpern
6b2b30274e
Add tag_line to org admin and add conditional on hiring post (#250) 2018-04-26 15:13:11 -04:00
Ben Halpern
e2a35693b1
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
2018-04-25 22:15:22 -04:00
Ben Halpern
3903a3a5e4
Remove current article id from potential queried articles (#247) 2018-04-25 18:46:36 -04:00
Ben Halpern
af37587de5
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
2018-04-25 18:39:37 -04:00
Ben Halpern
ddf6ad45e1
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
2018-04-25 18:36:59 -04:00
Ben Halpern
7ce70f5333
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
2018-04-25 18:22:57 -04:00
Ben Halpern
440714d98b
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
2018-04-25 17:55:27 -04:00
Peter Frank
b77f8aa4d5 Adjust Flatiron school copy/link (#241)
Per Flatiron School request, updating the homepage copy and link
2018-04-25 16:43:23 -04:00
Jess Lee
905f88e3fe fix github issue comment liquid tag (#242) 2018-04-25 16:42:58 -04:00
Ben Halpern
64d21a3266
Modify color and copy on comment join button CTA (#238) 2018-04-25 12:43:54 -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
Ben Halpern
1d1f4036fc
Update email subjects split test (#221) 2018-04-19 14:07:18 -04:00
Ben Halpern
bbeed70ada
Add AMA to main sidebar (#219) 2018-04-18 15:17:05 -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
Jess Lee
c185ff28d5 Update twitter share copy (#217)
* Update twitter share copy

* remove space

* fix typo
2018-04-17 17:33:38 -07:00
Mac Siri
18f0003187 Use JSON instead of FormData for comment-creation (#216)
* Use JSON instead of FormData for comment-creation

* Fix lint
2018-04-17 17:32:45 -07:00
Mac Siri
0f35939906 Update chat app's features (#204)
* Update chat.scss --skip-ci

* Fix height issue

* Add highlighting

* Implement bannged user handling for chat

* Add scroll obsever

* Limit initial messages load count & max messages

* Add new message alert when scrolled

* Add link to usernames in chat

* Implement channel clearing feature

* Update parserOptions

* Implement banning feature for chat app WIP

* Add policy for ChatChannelsController

* Fix arugment error

* Update user_not_authorized to handle JSON request

* Update specs for updated user_not_authorized

* Update font-weight for windows os
2018-04-16 13:20:12 -07:00
Ben Halpern
610ae3da22
Fix home page login buttons (#209) 2018-04-13 19:14:36 -07:00
Andy Zhao
12adea7b83 Andy/misc/small adjustments (#208)
* Fix bad user_id error handling

* Remove spam user from index and remove old path
2018-04-13 19:09:02 -07:00
Ben Halpern
936a724ead
Update sidebar to add links and challenge (#207)
* Update sidebar to add links and challenge

* Add link on latest podcast sidebar header

* Add hover underline to sidebar widget links
2018-04-13 13:12:35 -07:00
Andy Zhao
db4b7caa0e Andy/misc/add tests for tag edit (#205)
* Redirect non logged in users

* Explictly return true when successfully updated

* Add tests for edit and update actions for tags
2018-04-12 15:12:38 -07:00
Ben Halpern
80de5a96a8
Modify copy and style of comment signin cta (#202) 2018-04-11 15:17:12 -07:00
Andy Zhao
073e5444ac Add tag moderation feature (#201)
* Fix edge case for tag admin update

* Change single quotes to double quotes

* Add MVP of tag edit page

* Update rubocop version

* Use actual hex colors since vars broke

* Add enabling tag moderators via admin panel

* Remove unused boolean and variables

* Add a description for scholars

* Remove unintended method

* Update auth to work correctly

* Update boolean properly
2018-04-11 15:16:49 -07:00
Jess Lee
08c24609b1 add requirements to attend workshop (#200) 2018-04-11 13:00:46 -07:00
Mac Siri
84122959bf Update unsubscribed page's copy and css (#199)
* Update unsubscribed page's copy and css

* Create view spec for email_subscriptions/unsubscribe

* Update unsubscribed's page copy

* Prevent search-engine crawlers
2018-04-10 15:02:20 -07: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
Nick Taylor
d67c2437bc Dx/add prettier code (#188)
* Added prettier for front-end code formatting.

* Prettier runs on JSX too now

Modified supported extensions for running prettier.

* Added some documentation in the README about prettier, husky and lint-staged.

* package-lock.json updated.

* Keep lint-staged package-manager agnostic (#196)

* Remove code-breaking comma
2018-04-09 14:05:18 -07:00
Andy Zhao
f0b3e65ca4 Verify CSRF token for reads_controller (#184) 2018-04-06 08:35:57 -07:00
Ben Halpern
02cff623e4
Adjust non-tag state for onboarding suggestions (#190)
* Change onboarding limit

* Adjust non-tag state for onboarding suggestions
2018-04-06 08:35:05 -07:00
Andy Zhao
cd26bc0223 Remove invalid emoji (#185) 2018-04-05 14:19:45 -07:00
Ben Halpern
61c0a4cdaa
Change onboarding limit (#186) 2018-04-05 14:17:01 -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
Mac Siri
8003191a4e Create Chat app (#175)
* Setup Pusher gem

* Create ChatChannel and Message model

* Create ChatChannelController

* Add back fix-db-schema-conflicts gem

* Add pusher-js package

* Add validations on Message & ChatChannel models

* Update Route

* Create MessageController

* Update ChatChannelController

* Create Chat app WIP

* Extract messenger render to Message Component

* Implement live chat WIP

* Implement live chat WIP (2)

* Add style and scrollToBottom feature for chat

* Create getUserDataAndCsrfToken function

* Add feature toggle to the new live chat

* Clean up ChatChannelsController & create spec

* Update ChatChannel spec

* Update Message spec

* Create MessagesController spec & refactor

* Clean up Chat app

* Fix lint

* Add character limit to Message
2018-04-04 14:19:57 -07:00
Jess Lee
943c3b392f Jess/update sponsors page (#177)
* add link to community sponsors

* update sponsor copy and logos
2018-04-04 09:03:12 -07:00
Andy Zhao
8bedbcb501 Fix typo (#174) 2018-04-03 19:32:26 -07:00
Ben Halpern
9be7516435 Modify min height for sponsor images 2018-04-03 13:13:54 -07:00
Ben Halpern
403ff6b45c
Add comment join CTA (#168) 2018-04-02 17:52:17 -04:00
Ben Halpern
27bc174753
Add sponsors and a couple small changes (#166) 2018-04-02 14:47:34 -04: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