Commit graph

360 commits

Author SHA1 Message Date
Ben Halpern
652ec00f73
Fix typo and remove sustaining membership (#1107) 2018-11-12 19:08:00 -05:00
Ben Halpern
8b1755a2b3
Add organization to feed and adjust page styling (#1089)
* Add organization to feed and adjust page styling

* Add conditional indexing to article agolia

* Early return in algolia org logic

* Make org optional in algolia

* Modify org cta styling
2018-11-12 12:28:51 -05:00
rhymes
72ce2f0e6d Url encode article's title for Twitter sharing (#1092) 2018-11-12 11:58:20 -05:00
Ben Halpern
b9c7aa8508
Ben/modify home page sidebar (#1088)
* Modify number of posts in home sidebar tags

* Fix copy/paste error of last commit
2018-11-08 17:55:09 -05:00
Ben Halpern
ec00df4ea4
Modify number of posts in home sidebar tags (#1087) 2018-11-08 17:19:18 -05:00
Ben Halpern
1ae463b708
Adjust look of bottom article actions (#1085) 2018-11-08 11:10:06 -05:00
Nathan Sebhastian
76f6a8f9df codepen embed add default-tab param (#880)
* codepen embed add default-tab param

* add codepen default-tab documentation in help tab
2018-11-07 13:31:20 -05:00
Jasmeet Singh Saini
908e82cf9e Implement cancel button comment edit (#331) 2018-11-05 13:48:56 -05:00
Meg Gutshall
6b42ff6501 Add readonly attribute to input on link select (#1059) 2018-11-05 11:47:20 -05:00
Andy Zhao
61011daa61 Fix typo for codesandbox and replit (#1056) 2018-11-02 13:29:50 -04:00
Ben Halpern
3bc1d8cf5b
Ben/add code sandbox (#1053)
* Add codesandbox support

* Fix codesandbox hastiness
2018-11-02 10:31:20 -04:00
Ben Halpern
ad25882ea7
Add codesandbox support (#1052) 2018-11-02 10:28:53 -04:00
Ben Halpern
5043e3fcc5
Add Raygun sponsor (#1050)
* Add Raygun sponsor

* Fixing typo
2018-11-01 16:13:47 -04:00
Andy Zhao
ebd4b50f3f Use Preact for asynchronous rendering for /settings/integrations (#986)
* Set default styles and move button style out of form

* Add MVP of Preact /settings/integrations

* Change background color on hover and focus

* Remove unused constructor

* Improve optimistic rendering

* Add display name

* Use loading indicator for optimistic rendering

* WIP test

* Add basic snapshot tests
2018-10-31 15:51:07 -04:00
Ben Halpern
359cc71b64
Add ability for users to publish series (#1034) 2018-10-29 13:04:42 -04:00
Ryan Palo
3160473896 Add aria-label to articles page's CTA (#1004)
In the main articles page CTA for signing in via Twitter or Github, previously, screen readers say "Twitter" and "GitHub."  I added an `aria-label` attribute so that screen readers will say "Sign in with Twitter" and "Sign in with GitHub."  Tested on Windows 7, in Chrome, using Chrome Vox extension, and works well!
2018-10-25 16:24:40 -04:00
lianafelt
61ef3bdd8e Update sponsors.html.erb (#1006)
Remove StickerMule
2018-10-24 17:44:45 -04:00
Ben Halpern
ae3ec2e237
Add/fix org call-to-action box/copy (#1000) 2018-10-24 13:49:57 -04:00
Ben Halpern
d5ceff4b12
Update/fix org settings (#992)
* Update/fix org settings

* Small adjustment to an unrelated rake task

* Update app/views/users/_org_non_member.html.erb
2018-10-23 17:21:17 -04:00
Ben Halpern
735a96432c
Add usability features to html_variants (#991) 2018-10-23 16:23:48 -04:00
Ben Halpern
90861366df
Add additional config to v2 editor (#980)
* Add additional config to v2 editor

* Fix typo
2018-10-23 12:41:19 -04:00
Ben Halpern
8661fe44d5
Fix sidebar caching issue for articles (#981) 2018-10-22 17:49:59 -04:00
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
rhymes
7fe6777c75 Support links with trailing slash for link tag (#950)
The previous implementation of the link tag didn't support links with a trailing slash. It was also based on an internal and undocumentented function in Rails.

https://github.com/rails/rails/issues/28331#issuecomment-285440151
2018-10-19 15:25:58 -04:00
Jérôme Pott
04968214ce Fix typo (#958)
Add missing verb "controls"
Capitalize first letter "English"
2018-10-19 13:13:18 -04:00
Thomas Bnt
16dc2fb903 Adding Font Awesome (#953)
* Adding Font Awesome

* Update copy
2018-10-18 17:25:37 -04:00
rhymes
1b60ee5009 Use timezone aware methods (#893)
* Use timezone aware datetime methods

* Use timezone aware date parse for GitHub issue tag

* Introduce a bit of chaos programming using Zonebie

Zonebie uses a random timezone to run tests, it's a really good way to see if the code is timezone dependent or not.

* Convert GitHub issue date as UTC
2018-10-18 16:26:29 -04:00
Ben Halpern
ca403ee01e
Adjust article show view css (revert sticky css) (#954)
* Adjust article show view css

* Change color subtly
2018-10-18 16:02:54 -04:00
Juan Manuel Ramallo
6ada73136b [Article Actions] Using position sticky (#945) 2018-10-18 12:27:58 -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
lianafelt
40f09e4b77 Fix Typo in Internal/users (#948)
Update link to mentor internal user profile
2018-10-18 12:12:02 -04:00
Ryan
95b2e181ff Add Medium URL to User's Profile (#943) 2018-10-18 11:39:39 -04:00
Ben Halpern
305492c2c8
Add similarity score for users (#942) 2018-10-17 11:53:28 -04:00
lianafelt
0d23ec1faf Update Mentor Email (#938)
* Update mentor_email.html.erb

Update copy to original mentor email from mailchimp

* Update mentor_email.text.erb
2018-10-16 16:43:03 -04:00
lianafelt
747cf04bfb Update Mentee Email (#935)
* Update Mentee Email

Mentee email with copy from original mailchimp emails.

* Update mentee_email.html.erb

* Update mentee_email.text.erb
2018-10-16 16:42:39 -04:00
Sergey Kislyakov
ac4b9b39db Fixed badge page not having a title (#939) 2018-10-16 16:41:58 -04:00
Sergey Kislyakov
dd8fcd1e39 Fixed /feedback_messages not having a title (#930) 2018-10-16 13:41:32 -04:00
Ben Halpern
fcb68b4f29
Add automatic random mentee show page after quick match (#931) 2018-10-16 13:41:14 -04:00
Ben Halpern
af4e6932fa
Adjust org size labels in settings form (#933) 2018-10-16 13:41:00 -04:00
Ben Halpern
dee58c0dce
Update mentorship area of user internal view (#926)
* Update mentorship area of user internal view

* Update mentorship backend
2018-10-15 18:04:29 -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
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
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
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
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
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