Commit graph

637 commits

Author SHA1 Message Date
Ben Halpern
8b12c1fb04
Fix logic in StickyArticleCollection (#906) 2018-10-14 12:37:49 -04:00
Ben Halpern
79bc96e1ca
Simplify article show view/remove queries (#905) 2018-10-14 11:18:06 -04:00
Ben Halpern
57fff54cd8
Remove es6 code from non-es6 area (#904) 2018-10-13 20:02:49 -04:00
Ben Halpern
221c363af0
Reduce queries in typical stories#show response + small fixes (#903)
* Reduce queries in typical stories#show response + small fixes

* Change const to git in non-es6 code
2018-10-13 19:38:38 -04:00
Ryan Palo
588ffeef09 Fix #848. Code inside Markdown inside Gist displays. (#902) 2018-10-13 14:28:39 -04:00
Nick Karnik
a3649b8d09 Added the ability to press Ctrl+Enter Or Command+Enter to submit comments. (#885)
* Resolves #245
    * This is applied to root level comments as well as nested replies.
    * We are ensuring that user has commented at least once which means
      they have accepted the code of conduct before

Style changes as per suggestions in code review
2018-10-13 14:24:53 -04:00
Ben Halpern
75c4388e53
Add mentorship automation (#896) 2018-10-12 16:37:32 -04:00
Andy Zhao
7c4396d535 Handle flash messages that are not arrays (#895) 2018-10-12 11:56:45 -04:00
Sheldon Nunes
8c70c95cea Fix on-boarding typo (#892) 2018-10-12 09:06:44 -04:00
Ben Halpern
b13c09583f
Adjust modal to not interfere with pull-to-refresh (#888)
* Remove unnecessary code from onboarding

* Adjust pull-to-refresh button to account for open modal scenario
2018-10-11 16:45:43 -04:00
Andy Zhao
c3322be9ce Improve Sign In/Up Error Handling (#832)
* Add registration view to sign_in page

* Add better sad path for failed sign ins/ups

* Ensure email is downcased for authorization

* Remove .downcase for emails

* Use partial for styles
2018-10-11 13:31:37 -04:00
dgolant
c3c420defd Update codepen tag to accept links with trailing /'s (#886) 2018-10-11 10:54:44 -04:00
Ben Halpern
85a7c97b9b
Remove unnecessary queries from onboarding (#884) 2018-10-10 17:34:54 -04:00
Ben Halpern
5194dc736c
Adjust onboarding modal styling for different screen sizes and production data (#883) 2018-10-10 16:58:04 -04:00
Ben Halpern
991458d1c3
Adjust onboarding slides (#882)
* Modify onboarding slides

* Remove user controller changes

* Modify onboarding slide font size

* Adjust small onboarding issues

* Modify onboarding styling

* Remove flash unstyles content
2018-10-10 16:00:20 -04:00
Andy Zhao
eaf98d738a Unsubscribe users from newsletters before destroying (#878)
* Unsubscribe users from newsletters before destroying

* Fix email messages not loading on show page

* Add mock for update method
2018-10-10 15:22:20 -04:00
Felix Edelmann
763f97f76f Improve dashboard action buttons' styling (#808)
* Use full content width (one line with content below)
* Fix gap between actions
* Add hover color and transition for opacity
* Decrease font size a little bit
* Force break "POSTS" and "(123)" into two lines when width is 600-800px
2018-10-09 16:11:09 -04:00
Andy Zhao
c0099475d7 Add regex checking for soundcloud links (#874)
* Add regex checking for soundcloud links

* Remove outdated test
2018-10-09 15:09:45 -04:00
dgolant
3a81c82b28 Add liquid tag for Soundcloud (#844)
* Add liquid tag for Soundcloud

Adds a liquid tag for soundcloud links. Currently does not support customizing autplay, display for comments, or color.

* Strip HTML from Soundcloud tag input

We want to prevent potential XSS exploits, so we sanitize all link input

* Add Soundcloud tag documentation to editor guide
2018-10-09 13:51:59 -04:00
Andy Zhao
85abcb957d Fix ambiguous order_by statement (#871) 2018-10-09 13:41:25 -04:00
Andy Zhao
c9efc7a2b2 Fix repeated queries for reports (#835)
* Fix repeated queries for reports

* Load stylesheet once by moving into index

* Remove unused method

* Remove unused code again and update method

* Use better name for migration and add indices

* Use latest schema version oops

* Add missing column to query
2018-10-09 12:42:55 -04:00
Ben Halpern
28099f031c
Adjust article-form height (#870) 2018-10-09 12:03:02 -04:00
Ben Halpern
3ae3fb0652
Adjust placement of image button on small screen (#867)
* Adjust placement of image button on small screen

* Adjust orgsettings css for small screen

* Update snapshot for article form
2018-10-08 20:32:00 -04:00
Ben Halpern
e64782572e
Get way less cute with pull-to-refresh (#866) 2018-10-08 20:08:11 -04:00
Ben Halpern
f269c0887d
Fix editor render conflict issue (#865) 2018-10-08 18:54:15 -04:00
Ben Halpern
a14c37f4ab
Add tag when submission templated to v2 (#863)
* Add tag when submission templated to v2

* Protect against no user in articles/new
2018-10-08 16:35:02 -04:00
Ben Halpern
e62ffd0ff5
Add editor version for users to try new editor (#861)
* Adjust form tagbar height

* Adjusted styling for various screen sizes

* Add editor_version field for users

* Adjust default opacity in v2 editor
2018-10-08 15:05:20 -04:00
Ben Halpern
1159f47e49
Remove comment join CTA (#862) 2018-10-08 14:48:36 -04:00
Ben Halpern
0b2ecd44b3
Add pull-to-refresh for index views (#859) 2018-10-08 14:26:21 -04:00
Ben Halpern
f52f8b6437
Update image area and other editor functionality (#847) 2018-10-07 12:52:13 -04:00
Ben Halpern
87a7067a5c
Spruce up V2 editor look and feel (almost ready 🙂) (#846)
* Spruce up editor look and feel

* Update jest snapshots for editor

* Fix editor guide scoping issue
2018-10-07 11:06:52 -04:00
Ali Spittel
6ae540cafd add alt text to sidebar images (#842)
* add alt text to sidebar images

* add alt text to emoji heart

* add alt text to sponsor logos

* add aria-label to search bar

* update snapshot for Search
2018-10-07 10:39:57 -04:00
Ben Halpern
384c5ce8ae
Update internal/articles to have faster buffer controls (#839) 2018-10-05 18:22:50 -04:00
Arit Amana
5c245bdb4e Better alignment of "Select" and "Remove" buttons with Repo Titles in "Integrations" (#836)
* Syncing with Upstream master

* Dev Env Keys - Algolia and Github

* Pull from upstream master

* Remove commented code
2018-10-05 17:37:50 -04:00
Ben Halpern
ecb9645775
Make changes to editor (#837)
* Make changes to editor

* Make minor fixes and console log removals

* Fix test in article form

* Adjust rspec test
2018-10-05 16:03:06 -04:00
Benny Powers
7b52c21ef1 Fixes markdown nested lists by stripping all linebreaks (#815)
* Fixes markdown nested lists by stripping all linebreaks

* tixes fypo
2018-10-05 15:11:12 -04:00
Ben Halpern
2c482a355f
Remove saw_onboarding condition (#824)
* Remove saw_onboarding condition

* Remove outdated onboarding test
2018-10-05 15:07:05 -04:00
Meghan
753db6e993 allow codepen embeds with slugs of varying length (#811) 2018-10-05 13:58:17 -04:00
Benny Powers
85f0f61d35 Add allow-top-navigation-by-user-activation to glitch embed iframe (#825) 2018-10-05 12:20:16 -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
Benny Powers
9c840030f1 Feature/more markdown tags (#826)
* Add aside and abbr tags to markdown whitelist

* Permits abbr and aside when scrubbing rendered markdown
2018-10-04 19:02:55 -04:00
Benny Powers
5f40607249 Add aside and abbr tags to markdown whitelist (#818) 2018-10-04 12:34:29 -04:00
Ben Halpern
a761dfbc83
Finalize merge accounts (#820)
* Add initial remove association feature

* Add initial account deletion feature

* Add back in cursor pointer

* Update email text copy

* Update copy on email html

* Fix nav issue and add integration buttons to account
2018-10-04 12:27:37 -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
Benny Powers
c16e2aa480 Center article header image (#773) 2018-10-03 17:13:02 -04:00
Ben Halpern
483a7410af
Change impression event to view in Google Analytics (#805)
* Add tracking for home page featured impressions/clicks

* Change impression event to view in Google Analytics
2018-10-03 14:35:34 -04:00
Ben Halpern
a0491657dd
Add tracking for home page featured impressions/clicks (#804) 2018-10-03 14:05:00 -04:00
Kyle Galbraith
31828780d6 Update Editor Guide (#799)
* Add grammar fixes and space separated to tags section

* remove space separated

for space separated to work you actually need to use the # in front of each tag.
2018-10-03 13:15:42 -04:00