Commit graph

14 commits

Author SHA1 Message Date
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
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
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
Andy Zhao
7c843ba354 Prevent Less than 1 day old accounts from Following Other Users (#159)
* Show empty array of users for potential spammers

* Use user columns for better accuracy and perf

* Use user instead of identity for flagging

* Fix boolean

* Add page skipping logic for young accounts

* Fix test and show team to follow for spammers

* Fix broken link

* Remove page skip logic for back button
2018-03-29 17:12:30 -04:00
Nick Taylor
6a8df8c8dd Add (P)react Storybook. (#142) 2018-03-26 11:56:32 -04:00
Ben Halpern
297e031fe7
Adjust minor onboarding detail (#138) 2018-03-23 16:48:15 -04:00
Ben Halpern
cc0ffe1c5d
Add thread indicator for flat comments (#134) 2018-03-23 14:38:06 -04:00
Ben Halpern
833b9f25d6
Adjust what shows up in onboarding (#127) 2018-03-22 20:02:07 -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
Andy Zhao
3e9d6609d7 Fix tag logic and css in onboarding (#125)
* Fix tag container css for small views

* Fix tag comparison logic
2018-03-22 19:04:12 -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
4d04f7f852 Resolve onboarding reroute issue (#84)
* Remove dupe key

* Disable instantclick on onboarding's "let's go"
2018-03-16 14:17:19 -04:00
Mac Siri
301c6080e3 Initial commit 2018-02-28 16:11:08 -05:00