Commit graph

836 commits

Author SHA1 Message Date
Andrew Bone
b920a68f04 Adding --theme-color (#1387)
Adding `--theme-color` to change the colour of the text in the body
2018-12-24 09:58:57 -05:00
Andrew Bone
1f5bc148e0 Add --theme-background to comments page (#1386)
The background colour tag is different, by default, on the comment page so I missed it on my initial sweep
2018-12-24 09:58:48 -05:00
Andrew Bone
724ae7a106 Added --theme-top-bar-write-* (#1388)
* Added --theme-top-bar-write-*

Adding both --theme-top-bar-write-color and --theme-top-bar-write-background to change the text/border colour and background colour of the write a post button.

* add --theme-top-bar-write-color to border

Added --theme-top-bar-write-color to border

* Revert theme changes

* Limit changes to write button

Styles were leaking but are now contained
2018-12-24 09:40:33 -05:00
Andrew Bone
7a5239efc1 CSS Variables: Support for IE (#1385)
* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.
2018-12-24 09:05:21 -05:00
Some-Dood
3c3c40b9f5 Fix wrong cursor pointer of search query filter buttons on hover (#1394)
* Fix wrong cursor pointer on hover

This commit changes the cursor to a pointer when the mouse hovers over one of the search query filter buttons.

* Moved rule outside the hover block to be consistent with the coding style
2018-12-24 09:04:08 -05:00
Móricz Gergő
36f656c4e3 Add Publishing from RSS Guide (#1151)
* Added Publishing from RSS Guide and added a link to it on Settings -> Publishing from RSS.

* Resolved review.

* copy tweaks
2018-12-20 17:38:38 -05:00
Ben Halpern
2bb48d27c4
Add two-year-club auto-rewarder (#1383) 2018-12-20 16:53:22 -05:00
Andrew Bone
71ed1d40bc Adding --theme-top-bar-color (#1373)
Adding `--theme-top-bar-color` to change the colour of the text in the nav bar
Currently, this only changes the colours of the icons fill.
2018-12-20 16:40:06 -05:00
Ben Halpern
0aeb579547
Remove Facebook pixel (#1380) 2018-12-20 14:25:07 -05:00
Ben Halpern
0c910baae1
Move file-level imports to dynamic imports to reduce initial bundle size (#1379) 2018-12-20 12:58:20 -05:00
Anant Jain
479cf6fc9f Fixes Organization Settings CTA link url label (#1370) (#1371) 2018-12-20 12:51:50 -05:00
Andrew Bone
3feccdc852 Add --theme-background to notifications page (#1374)
The background colour is different, by default, on the notification page so I missed it on my initial sweep.
2018-12-20 12:51:23 -05:00
Andrew Bone
6c88857865 Adding --theme-top-bar-search-* (#1375)
* Adding --theme-top-bar-search-*

Adding both --theme-top-bar-search-color and --theme-top-bar-search-background to change the colour and background colour of the search box.

* Changes to placeholder and input

Placeholder opacity down to 0.5 to appear faded
Placeholder default colour set to system black

Input text colour can now be set with `--theme-top-bar-search-color` too
2018-12-20 12:50:58 -05:00
Jess Lee
095d25ecd4 Add more details to Tag moderation page (#1376) 2018-12-20 12:09:28 -05:00
Ashwin Vaswani
fbdd80d5fc Add headings to header tags (#1003)
* updating all headers to have h* tags, or changing elements

* Remove commented out binding.pry

* Remove unused page

* Use article instead of div for consistency

* Update snapshot with new section tag

* Use h4 tags again for new views
2018-12-19 16:47:44 -05:00
Ben Halpern
bbbfe6af51
Add haptic feedback where it was missing (#1367) 2018-12-19 16:24:12 -05:00
Jess Lee
1586d9fd7d Include conditional for adding tag mods to connect channel (#1366)
* fix slug typo

* fix specs

* use blank? instead of nil?
2018-12-19 15:44:36 -05:00
Jess Lee
7ca3d5c542
Fix tag channel query 2018-12-19 13:47:16 -05:00
Jess Lee
d8ff236f69 Fix slug typo (#1364) 2018-12-19 13:39:50 -05:00
Andrew Bone
67ee564730 Beginning of css variable implementation (--theme-background) (#1306)
* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.

* Beginning of css variable implimentation

Added --theme-background leaving the default the same.
This will make no, visible, change to the styles currently.
2018-12-19 10:16:30 -05:00
Jess Lee
1d2a6def4a Add tag moderation info page (#1360)
* clarifies tag edit form and updates photo

* add better image

* add tag moderation route and page info

* adds labor module for assigning bulk tag moderators

* Apply Peter's changes from code review

Co-Authored-By: jessleenyc <jessleenyc@gmail.com>

* fix typo

Co-Authored-By: jessleenyc <jessleenyc@gmail.com>

* replace with cloudinary image links

* add specs
2018-12-19 09:27:55 -05:00
Andy Zhao
cf36025a16 Fix reactions rendering on notifications (#1362)
* Use more specific find for looking for reactions

* Use basic notification tests

* Test for proper reaction button rendering

* Use the proper user for reaction test
2018-12-18 20:58:31 -05:00
Andy Zhao
8fb35e84c2 Add title to organization profile page (#1355)
* Add test for page title

* Add organization name as title
2018-12-18 17:14:23 -05:00
Mario See
60d38ef787 /connect rerender chat (#1359)
* check element render before scrollingto bottom

* check element render before scrollingto bottom

* remove console logs

* remove accidental quote
2018-12-18 17:13:13 -05:00
Andy Zhao
88cd4c13f3 Remove all flipflop related code (#1358)
* Remove all flipflop related code

* Undo an amend

* Comment out one last test

* Remove last test
2018-12-18 16:01:18 -05:00
Mac Siri
06e0cbabbb Revert "Replace Flipflop with Sail (#841)"
This reverts commit 21870e805a.
2018-12-18 13:44:40 -05:00
Vinicius Stock
21870e805a Replace Flipflop with Sail (#841)
* Replace Flipflop with Sail

* Address PR comments

* Bump sail version to latest

* Bump Sail to latest version

* Move setting creation to config/sail.yml

* Bump Sail to latest version

* Use correct limit for cast_type in schema

* Update Sail's route
2018-12-18 12:42:30 -05:00
Andy Zhao
651a26a514 Use latest admin page views from administrate gem (#1351) 2018-12-17 16:45:12 -05:00
Ben Halpern
28736cda20
Add missing title attribute to user profile page (#1349)
* Add missing title attribute

* Add spec

* Fix test
2018-12-17 15:04:00 -05:00
Ben Halpern
7d3da5df35
Fix twitter missing quote text (#1330) 2018-12-17 10:49:16 -05:00
Chinmay Joshi
d39d44ac07 css fix for mixed looking text while rendering articles (#502) 2018-12-15 13:18:01 -05:00
Andrew Bone
db55f871d4 Beginning of css variable implementation (#1307)
Added --theme-top-bar-background leaving the default the same.
This will make no, visible, change to the styles currently.
2018-12-15 12:48:28 -05:00
Richard Kichenama
4b8dffb4c9 Iterate on Night Theme (#1303)
*  implement night theme through css filters

* 🐛 and video

* ♻️ simplify selector

* ♻️ finer targeting and untouched graphics

* 🐛 keep it in the theme

* ♻️ remove styling for 3x inverted elements
2018-12-15 12:46:34 -05:00
Andy Zhao
b3f2789eb2 Check if author_id is nil before querying for author (#1325)
* Check if author_id is nil before querying for author

* Remove some legacy code

* Remove tests that test for unused functionality
2018-12-15 12:44:45 -05:00
rhymes
73ddff4549 Add a descriptive title to the series links (#1329)
It's easy to navigate each part of a series when there only a few of them. It's hard to jump from a part to another if there are many. This change makes it also a little friendlier to accessibility tools.
2018-12-15 12:44:29 -05:00
Anna Buyanova
074d50d2b7 Stories views reorganization (#1317)
* Added stories feature specs

* Structure feature specs

* Spec for the articles by tag page

* Spec for clicking "week" button on the tag page

* Reorganize stories views

* Feature spec for displaying sponsors on tag page

* Increase allowed rspec example length

* Spec for the users comments view

* Articles by tag: reeplace view code with rendering partials
2018-12-13 14:54:02 -05:00
Mac Siri
56ec3e55a2 Refactor Reaction (#1320)
* Refactor Reaction's spec

* Create singleton class in Reaction

* Refactor Reaction
2018-12-13 14:24:33 -05:00
Ben Halpern
9b299569cb
Modify style on show page cta (#1324) 2018-12-13 14:23:18 -05:00
Kyle Boe
f82b562cd8 Update member's only sticker pack link (#1301) 2018-12-12 17:53:59 -05:00
Mac Siri
72eb2fc7b6 Revert "Extract background jobs from Reaction (#1312)" [ci skip]
This reverts commit cd54bece92.
2018-12-12 17:10:42 -05:00
Mac Siri
cd54bece92 Extract background jobs from Reaction (#1312)
* Refactor Reaction

* Update reaction_spec

* Extract update_reactable to job class

* Create ApplicationJob

* Rename Engagement::UpdateReactableJob to ReactionCascadeJob

* Rename ReactionCascadeJob to Reaction::UpdateRecordsJob

* Refactor Reaction::UpdateRecordsJob

* Remove unused method

* Change module to class
2018-12-12 16:41:31 -05:00
Mario See
394580b8c8 connect highlight messages (#1311)
* move setstate into cases where activecontent actually changes

* remove unnecessary setstate lines

* rearrange triggerActiveContent
2018-12-12 12:42:42 -05:00
Ben Halpern
14bba5e4d5
Adjust button style/placement on desktop (#1288)
* Adjust button style/placement on desktop

* Change opacity on side comments

* Adjust css for side article actions

* Adjust opacity

* Adjust opacity

* Adjust opacity

* Fix test language

* Remove opacity deal
2018-12-11 13:08:43 -05:00
Brian Kephart
5a4f894e84 Add ruby.social to Mastadon safelist (#1302) 2018-12-11 10:30:01 -05:00
Anant Jain
6bb87b25b2 Fixes #1298: Overflowing User Bio in article sidebar. (#1300) 2018-12-10 18:51:11 -05:00
Mark Frost
bb5a999a91 [#339] fixed broken markup on /readinglist page (#435) 2018-12-10 13:23:38 -05:00
rhymes
96d01b20a2 Use allow/allowed instead of whitelist (#1296)
* Use allow/allowed instead of whitelist

* Remove duplication in comment
2018-12-10 13:16:16 -05:00
Jibran Kalia
f569f33e4f [WIP] Really simple calculate reading time function (#1283)
* Really simple calculate reading time function

* Move parse_it so that the number of methods in MarkdownParser is at 20

* Added test and default value for reading time
2018-12-09 13:42:32 -05:00
Ben Halpern
c3d5220767
Add haptic message for iOS feedback (#1287) 2018-12-09 12:30:14 -05:00
Andrew Bone
bfa6622486 Darken cta-button (#1281)
Darken cta-button to bring contrast up to 7
The new colour value is `#1b4bcb`
2018-12-09 11:17:38 -05:00