Commit graph

5336 commits

Author SHA1 Message Date
Andy Zhao
22cdbcbd38
[deploy] Return boolean value instead of undefined for listings open modal (#7854)
* Return a boolean value not undefined

* Fix typo
2020-05-14 13:10:55 -04:00
Molly Struve
d1e39a7dba
[deploy] Rate Limit Feedback Message Creation (#7832) 2020-05-14 12:00:22 -05:00
Molly Struve
d2fbad08d4
[deploy] Use bulk_show Endpoint for Follow Buttons on Followers Dashboard (#7849) 2020-05-14 11:25:29 -05:00
Alex
5b4ef24468
[deploy] Validate both images and pattern_images when creating podcasts (#7828)
* Validate both images and pattern_images

* Move image_keys to IMAGE_KEYS constant

* Use slice over select
2020-05-14 11:23:04 -04:00
Mac Siri
321b24d2a0
[deploy] Create write_articles oauth scope (#7834) 2020-05-14 09:55:53 -04:00
Molly Struve
815248884c
[deploy] Enforce Uniq Abuse Reports from Reporters (#7831) 2020-05-14 09:03:10 -04:00
Juan Vasquez
9efd1d35fa
Add twitter hashtag to the site config (#7573)
* Add twitter hashtag to the site config

* Add twitter_hashtag field
2020-05-14 12:41:15 +02:00
Aviskar KC
04ff252b87
Fix the height of new post text area and add scrollbar (#7480)
* Repplace preact-textarea-autosize component with textarea element

* FFix the height of new post textarea and add scrollbar

* Update snapshot

* Change the value used to calculate minimum height of text editor to 82vh

Co-authored-by: rhymes <rhymesete@gmail.com>

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-05-14 12:10:37 +02:00
rhymes
4a5c107131
Fix schema.rb order (#7844) 2020-05-14 11:44:14 +02:00
ludwiczakpawel
e17cbd3efb
NOT MERGE Add tabs to Crayons and to the notifications page (#7737)
* tabs

* frontned

* notifications tabs

* ntofiications

* .

* doc

* names instead of slugs

* flare tag line height

* .

* js
2020-05-14 11:38:57 +02:00
Michael Kohl
a49ae729a0
Remove temporary Rake task (#7842) 2020-05-14 11:22:06 +02:00
Ben Halpern
7117d7c202
Add max height to content images to ensure they can't over-eat vertical space (#7836) 2020-05-14 11:11:46 +02:00
Jacob Herrington
03bf1ac45e
Use build_stubbed where possible in tests (#7827)
I got a little sidetracked and found a few places where we could use
build_stubbed.
2020-05-14 10:56:29 +02:00
Molly Struve
3a49d3f0d1
[deploy] Revert "filter/sample noisy spans (#7833)" (#7837)
This reverts commit 716bb099fa.
2020-05-13 17:45:49 -05:00
Liz Fong-Jones
716bb099fa
[deploy] filter/sample noisy spans (#7833) 2020-05-13 17:07:09 -05:00
Ben Halpern
a288acf88f
[deploy] Add query-friendly article additions (Initial step) (#7794)
* Add query-friendly article additions

* Fiddle with font size

* Change from query_friendly_ to search_optimized_
2020-05-13 16:59:41 -04:00
Molly Struve
371a71a3be
[deploy] Expose Article Update Rate Limit on Config Page (#7826) 2020-05-13 15:29:32 -05:00
Alex
004dbba500
[deploy] Remove logging of image data to Datadog (#7829) 2020-05-13 16:23:42 -04:00
Francisco Quintero
547c568daf
[deploy] Show Empty State in Badges List for Mobile Views (#4756) 2020-05-13 11:26:17 -05:00
Nick Taylor
f21f4958bd
Added tests. (#7823) 2020-05-13 11:02:56 -04:00
cyrillefr
8bb865b10b
[deploy] Fixes some html_safe in Articles (#6500) 2020-05-13 09:22:52 -05:00
Dmitry Maksyoma
44d48a5585
Adapt dev env to use remote box (#7742) 2020-05-13 10:21:00 -04:00
ludwiczakpawel
3110743e36
Video cover (#7821)
* flare tag line height

* .

* .
2020-05-13 16:17:59 +02:00
ludwiczakpawel
5cc0821b71
Hotfix video icon in feed (#7792)
* hotfix video

* test
2020-05-13 09:40:39 -04:00
Molly Struve
225b87390d
[deploy] Limit Suggestions for Social Service Posts (#7811) 2020-05-13 08:38:23 -05:00
Jacob Herrington
f388fb46e9
Handle negative reactions on comments (#7805)
It totally slipped my mind that we can create negative reactions on
comments. This PR accounts for that in the internal view that renders
negative reactions.
2020-05-13 09:27:38 -04:00
ludwiczakpawel
af55e017c5
flare tag line height (#7819) 2020-05-13 09:26:36 -04:00
Anna Buianova
82799eb752
Remove code related to /live_articles (#7822) 2020-05-13 09:26:13 -04:00
Eryk Napierała
792721d7bc
Make a constant for long inline regexp (#7810) 2020-05-13 08:26:46 -04:00
Ben Halpern
f2f90e98b3
Fix connect runtime error (#7812) 2020-05-13 08:09:24 -04:00
rhymes
3d313efbd6
Fix profile page rendering when a username contains spaces (#7787) 2020-05-13 08:37:50 +02:00
Mac Siri
19056dc9ed
Remove hard-coded published_at_int (#7809) 2020-05-12 17:31:28 -04:00
Vaidehi Joshi
7001f87425
Specify background for content row in onboarding (#7806) [deploy]
Without this, Safari inherits the border-bottom color from elsewhere (?).
So, we need to specify the background-color for the content row element explicitly.
2020-05-12 14:21:11 -07:00
Vaidehi Joshi
4133efbd20
Update Article snapshots (#7807) [deploy] 2020-05-12 14:01:07 -07:00
Nick Taylor
7f3c557e7e
fetchSearch now uses @utilities/http/request under the hood now. (#7804) 2020-05-12 16:00:55 -04:00
Molly Struve
c10602f4e6
[deploy] Delay RemoveFromIndex Job to Fix Callback Race Conditions (#7800) 2020-05-12 14:39:16 -05:00
Ben Halpern
71afc050e3
[deploy] Fix inline/box issue in story feed comments (#7802) 2020-05-12 13:50:14 -04:00
Ben Halpern
49a438f4ec
[deploy] Adjust overflow in comments and revert inline css (#7799)
* Adjust overflow in comments and revert inline css

* Fix color
2020-05-12 12:42:49 -04:00
Molly Struve
42d4ff4790
[deploy] Raise an Error If Trying to Limit with a Missing User ID (#7782) 2020-05-12 10:23:26 -05:00
Ben Halpern
4620eaa512
[deploy] Fix podcast styling (#7796) 2020-05-12 11:23:00 -04:00
Ben Halpern
2b0f5db638
[deploy] Include crayons style in index view for redundency (#7795) 2020-05-12 10:45:46 -04:00
Molly Struve
fb04925c29
[deploy] Decrease General Site Request Limit (#7771) 2020-05-12 09:41:19 -05:00
Nick Taylor
0300dadd19
Removed feedIcons.js.erb as the file is no longer being used. (#7788) 2020-05-12 09:35:55 -04:00
Josh Puetz
2abe830377
[deploy] Home Page Feed redesign + top comments (#7579)
* feed cards

* frontend

* preactify

* preactify

* .

* fix

* fixing things and adding dropdown

* whoops.

* whoops 2.

* revert body bg color change

* search snippet

* search snippet

* get rid of featured article

* get rid of featured article...

* cover to its own component

* videos

* videos

* reading time

* small-save-filled asset

* author adjustments

* adjustments

* Author --> Meta

* whoops.

* loader

* logged out state

* .

* dropping what's not needed for now

* better name for cover

* get rid of nav overflow

* bringin comments placeholder back

* bringing comments placeholder back

* publish date

* fix

* date

* .

* save button icon

* ghost button

* lets skip the icon for saving for now

* more buttons

* counting logic

* Display top comments on homepage feed

* Comment list and item components

* Remove 'Top Comments' title

* Remove subscribe button, add reading time

* Update snapshots and tests

* Fix article and follower scrolling

* Added reading time

* (Try) to do flare tags

* Button component from Pawel

* More button styles from Pawel

* Comment count style from Pawel

* Handle empty parens for age on older articles

* Dont show 'more comment' button for more than 2 comments

* cover ratio

* flare tag

* cover fix

* fix buttons

* more button fixes

* tags fix

* responsiveness fix

* reading time  + a bit of responsiveness

* Reading time in more places

* snapshots

* default color for flare tag

* Update CommentsList test snapshot with new styles

* fixing search results

* fixing buttons

* Fix podcast card tests by updating snapshots

* Line clamping for top comments

* Reflect save button state after click before mouseout

* Now the entire feed card is clickable. (#7638)

* Now pointer cursor is only on feed posts. (#7727)

* Revert podcast card styling

* Update test snapshot

* merge

* Fix rspec on feed page

* Reduce complexity of class check for feed card clicking

* PR feedback/fixes

* Fix featured article test and snapshot

* Last minute test tweaks

* clean up crayons

* padding issue + empty div

* Correct merge error

* Fix search results tests

* Test fixes and snapshot updates

* themes

* podcasts colors

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-05-12 07:57:57 -05:00
Eryk Napierała
7cd38e2c46
Allow to specify view parameter for codesandbox (#7781) 2020-05-12 14:55:09 +02:00
rhymes
81fff248dd
Refactoring GitHub Repos functionality - step 1 (#7764)
* Rename find_or_create to upsert and improve validation and testing

* Add User.authenticated_through?

* Refactor settings/integrations

* Refactor profile github repositories rendering

* Refactor repos fetching

* Only fetch a single repo and improve error messages

* Remove unused code

* Cleanups

* Fix specs

* Remove trailing whitespace

* Fix spec

* Trigger Travis
2020-05-12 13:48:19 +02:00
Michael Kohl
d10888bfa5
Fix flaky organization helper spec (#7785) 2020-05-12 13:20:05 +02:00
Catalin Pit
d60fee2196
Fixed alignment (#7767)
Co-authored-by: catapitreach <catalin.pit@reachplc.com>
2020-05-12 07:06:00 -04:00
Ben Halpern
614aaff644
[deploy] Shorten page title for unauthenticated traffic (#7738)
* Shorten page title for non-logged-in

* Update spec/requests/stories_show_spec.rb

* Fix tests
2020-05-11 18:06:27 -04:00
Molly Struve
625ff37398
[deploy] Only Throttle Confirmation Emails for Existing Users (#7780) 2020-05-11 16:07:39 -05:00