Commit graph

361 commits

Author SHA1 Message Date
Ben Halpern
d1e73dceba
Clean up new chat channel functionality and add tests (#2220) 2019-03-26 13:35:32 -04:00
Mario See
91968e3860 block/report abuse in dev-connect (#2074)
* block chat method

* block and report buttons

* styling

* more styling

* add id redirect

* remove whitespace

* authorize channel in block_chat method

* remove trailing whitespace

* make variable local

* validate using policy

* check channel direct

* fix comparison in chat_channel model

* fix channel variable
2019-03-26 11:53:30 -04:00
Glenn Carremans
cfd61b3b37 Inverted social icons in night theme (#2209) 2019-03-26 09:51:41 -04:00
Ali Spittel
ed1906b02e Fix dark theme issues with the pro dashboard (#2178) 2019-03-25 16:02:28 -04:00
Andrew Bone
e96bf2e329 Add discernible text for organization link (#2168) 2019-03-22 13:54:46 -04:00
Andrew Bone
d486536448 [Theme] Dashboard makeover (#2171)
* Bring variables to dashboard

* Add variables to dashboard posts
2019-03-22 09:55:22 -04:00
Andrew Bone
dd0cfcc30e Update reading list (#2151)
Change the reading list styles to work for night mode.
2019-03-21 15:34:53 -04:00
Andrew Bone
9045715986 Remove white border (#2146)
Remove the white border from the sidebars
2019-03-21 15:34:36 -04:00
Andrew Bone
1694048a1e Change comment form styles (#2149)
Update form styles to remove white border and add colour distinction to the background
2019-03-21 15:34:10 -04:00
Andrew Bone
354f7f8e0c Fix sidebar-profile-snapshot width (#2145) [ci skip]
Width was 1px too wide
2019-03-21 13:44:37 -04:00
rhymes
6435785017 Add alternative text for organization logo (#2148) [ci skip] 2019-03-21 12:52:22 -04:00
rhymes
df2621a8c0 Implement image upload's error handling (#2018) 2019-03-21 12:31:51 -04:00
Ben Halpern
f70852d547
Make pull to refresh night theme, plus invert icons in night theme (#2135)
* Add night theme to pulltorefresh

* Adjust opacity of pulltorefresh for style

* Invert certain images
2019-03-20 18:42:52 -04:00
Ben Halpern
ce29fcc67c
Adjust ios theme background bottom (#2136) 2019-03-20 18:17:33 -04:00
Ben Halpern
5cc21f5238
Add night theme to article actions (#2132) 2019-03-20 17:07:21 -04:00
Tim Lange
d838f17f4b UX: Changed editor_version to a select field (#2107) 2019-03-20 13:34:02 -04:00
Ben Halpern
658be52814
Add night theme vars for notifications and org branding (#2127)
* Add night theme stuff to notifications

* Fix night theme for org branding on show pages
2019-03-20 13:18:39 -04:00
Ben Halpern
1a06096b6a
Add themes to main list, notifications, and chat (#2119) 2019-03-20 09:40:58 -04:00
Ben Halpern
9dfb363c86
Add theme to loading gradient, comment form, about author (#2117) 2019-03-19 14:52:04 -04:00
Ben Halpern
7bf37108b1
Night theme improvements + small fixes (#2114) 2019-03-19 13:36:30 -04:00
Andrew Bone
c7b24e0aec Add --theme-container-background-hover (#2113)
* Add --theme-container-background-hover

Add --theme-container-background-hover to sidebar-nav-element hover
Remove bacground from sidebar-nav-readinglist hover

* Add --theme-container-background-hover

Add --theme-container-background-hover to single-other-article hover
2019-03-19 11:01:07 -04:00
Will Soares
39c0cb47cc Allow users to resize edit comment textarea element (#1866) 2019-03-19 10:46:32 -04:00
Andrew Bone
2a20eedea3 Add secondary color to .sidebar-nav-subheader (#2110)
Add --theme-secondary-color to .sidebar-nav-subheader
2019-03-19 08:34:51 -04:00
Ben Halpern
2b2ecaa115
Add proper css vars to user style config (#2105) 2019-03-18 15:22:23 -04:00
Andy Zhao
8a3d3ae765 Enable Org Pro Dashboard View (#2060) 2019-03-18 11:58:44 -04:00
Mario See
d8709c0334 Implement open inbox for dev-connect (#1563) 2019-03-15 14:39:57 -04:00
Ben Halpern
73f5873e5e
Quick css adjustment on sans-serif config (#2073) 2019-03-15 13:48:18 -04:00
Ben Halpern
d6ab255a45
Allow users to configure to use night mode (beta) and sans-serif article body (#2072)
* Initial work for config

* Add config for users

* Fix schema
2019-03-15 13:11:53 -04:00
Ryan Killeen
365a3513dc add markup and styling for skip link (#2062) 2019-03-15 10:46:09 -04:00
Ali Spittel
e45f9cca03 give the pro dashboard a dashboard-y makeover (#2058)
* give the pro dashboard a dashboard-y makeover

* make background color for the cards white
2019-03-13 17:34:40 -04:00
Keshav Biswa
bc5fa55d90 Fixed time ago bug. (#2015)
* changed the element[i] to element[0]

* Added comments

* repositioned comments
2019-03-13 08:15:01 -07:00
Andy Zhao
be8e139e3e Fix charts and add nav buttons (#2044)
* Add navigation links for pro dashboard

* Move styles to stylesheet

* Use the correct dates for charts
2019-03-12 13:31:00 -07:00
Ben Halpern
ecb9f6da3d
Remove some hardcoded shecoded stuff (#2011) 2019-03-08 18:08:48 -08:00
rhymes
3c6a7d4574 Display comment published timestamp according to user's locale (#1970) 2019-03-08 15:19:37 -05:00
HKrogstie
060c82aa32 Fix timeAgo's edge-case (#2002) 2019-03-08 13:07:23 -05:00
Ben Halpern
138278462a
Add shecoded sidebar/homepage decorations (#2003)
* Add shecoded sidebar/homepage decorations

* Add additional functioanlity to /shecoded

* Fix typo
2019-03-08 04:47:31 -08:00
Ben Halpern
825aa9be91
Add page_view model (#1985)
* Add page_view model

* Uncomment DJ routes

* Add time on site max and don't update article page views every time
2019-03-07 11:53:33 -08:00
Ben Halpern
a17cfe7d33
Add time ago to recent posts in feed (#1981)
* Add time ago to recent posts in feed

* Modify time details
2019-03-05 13:40:27 -08:00
Ben Halpern
263b698686
Add shecoded page (#1968)
* Add shecoded page

* Fix copy
2019-03-04 07:50:49 -08:00
Ben Halpern
f280d9e266
Fix a couple things and modify dev digest logic (#1954) 2019-03-03 18:25:39 -08:00
Andy Zhao
8b8dbd0172 Add Milestone Notifications (#1920)
* Test milestone notifications

* Add initial milestone notifications

* Add extra milestone goalposts

* Move send reaction milestone

* Use proper twilio-video package version

* Add random giphys gifs to milestones

* Make images responsive and add addl gifs

* Add guard statement for older articles

* Update app/views/notifications/_milestone.html.erb

Link to Giphy page instead of source page

* Generate gifs via class and factor in aspect ratio

* Add border radius to gifs

Co-Authored-By: Zhao-Andy <andyzhao.zhao@gmail.com>
2019-03-01 12:25:45 -08:00
Anna Buianova
b1995fd980 Update reading button states after articles loaded (#1927) 2019-03-01 06:11:13 -08:00
Glenn Carremans
281330fe16 Fix linting issues in app/views/articles (#1848) 2019-02-28 17:23:06 -05:00
Ben Halpern
b2e3320ea4
Slight modification in /mod for exp level stuff (#1929) 2019-02-28 10:22:30 -08:00
Ben Halpern
532903c688
Add experience level averaging to articles (#1922)
* Add experience level averaging to articles

* Adjust copy on /mod ratings page
2019-02-28 08:17:29 -08:00
Ali Spittel
704b7bce9c Feature/autosave editor (#1633)
* Add myself to core contributors

* add myself to the core contributors

* implement autosave in sessionStorage

* clear sessionstorage on save

* add new changes flag

* add clear  button and css for it

* add clear button functionality

* make clear session storage only run if save is successful

* update jest snapshot for autosave

* add a few tests

* add a few tests

* add test for clear button

* make autosave work for title, tags, and cover image

* remove console.log

* make clear button into a message instead

* move to button with no styling instead of span

* remove warning on refresh

* remove warning on refresh

* move to localstorage so that persists across tabs

* fix blip on change from HTML to JSX

* make confirm work properly

* fix css jump for v2 editor

* fix v2 editor height jump

* remove unused onKeyUp prop

* indent _v2_form.html.erb file

* indent v2 editor erb

* Update package.json with missing package
2019-02-28 07:00:58 -08:00
Mario See
ae484fbead add username to author info (#1912)
in both sticky nav on the side and about the author section at the end of the article
2019-02-27 08:25:47 -08:00
Andy Zhao
5ace9a5fc9 Organization Notifications (#1762)
* Add spec for org reaction notification

* Add organization_id to notifications

* Add validations for user and org IDs

* Move comment json_data out of loop

* Use actual column names instead

* Add organization filters

* Remove extra text-align

* Add organization filtering

* Refactor to reduce complexity

* Add receiver argument to handle orgs

* Add has_many notifications for orgs

* Add follow notifications for orgs

* Add comment notifications for orgs

* Rename some tests for specificity

* Add mark org notifications as read functionality

* Add radix to parseInt

* Define json_data outside of loop

* Notify org followers of a new post as well

* Move test to proper location

* Add test for aggregated method

* Make send org reaction notification more readable

* Test the rest of the notification model

* Refactor tag adjustment spec

* Fix extra html
2019-02-25 14:25:37 -08:00
Arnelle Balane
e6420800ce Fix mobile sidebar scrolling issue (#1787) 2019-02-21 15:52:21 -05:00
rhymes
f8359d98f6 Increase contrast for "reading time" info (#1689) 2019-02-18 13:06:22 -05:00