Ben Halpern
b0ad7f8c74
Some night theme code, other style adjustments, and extracted app name into ENV var ( #2289 )
...
* Style, theme adjustments, plus generalization work
* Modify login cta style on home page
* Modify text
2019-04-02 13:10:28 -04:00
Ben Halpern
c90be27677
Ignore unnecessary airbrake notices ( #2283 )
2019-04-01 17:40:50 -04:00
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
Andrew Bone
e96bf2e329
Add discernible text for organization link ( #2168 )
2019-03-22 13:54:46 -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
Mario See
d8709c0334
Implement open inbox for dev-connect ( #1563 )
2019-03-15 14:39:57 -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
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
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
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
f280d9e266
Fix a couple things and modify dev digest logic ( #1954 )
2019-03-03 18:25:39 -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
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
Ben Halpern
bce0b4fff6
Remove harsh video restriction and add video duration ( #1811 )
...
* Remove harsh video restriction and add video duration
* Fix video meta data and tests
* Modify video tests
* Rescue video duration fetch error
* Change log to puts in test
2019-02-16 17:42:44 -04:00
Ben Halpern
4bff494adc
Ping comments to pre-warm new comment trees ( #1755 )
2019-02-06 21:45:24 -04:00
Ben Halpern
bf393c1323
Check for user exists in additional content box fetch ( #1756 )
2019-02-06 21:03:20 -04:00
Ben Halpern
2d97a5d837
Improve performance for additional content boxes and tags index ( #1750 )
...
* Improve performance for additional content boxes and tags index
* Modify followed_articles endpoint with new classic article api
2019-02-06 16:50:35 -04:00
rhymes
aad0a3fc97
Fix bug where comment template is undefined instead of empty string ( #1700 )
...
Closes #1698
2019-01-31 08:24:42 -05:00
Ben Halpern
d7665fcc3f
Add comment template to post ( #1692 )
...
* add myself to the core contributors
* add comment template
* merge upstream
* make sure the template re-appears for top level comments after submission
* make interface admin only
* Adjust comment template form
* Fix merge conflicts
* Remove unnecessary comment template from json
2019-01-30 13:32:34 -05:00
Ben Halpern
ea63374408
Add below-article html variant ( #1669 )
...
* Add below-article html variant
* Fix tests for variant number
* Fix stories show tests for html_variants
2019-01-28 14:31:43 -05:00
Andrew Bone
5f5beabcab
Make initializeUserSidebar shorter ( #1640 )
...
Make initializeUserSidebar() shorter to meet codeclimate requirements.
2019-01-24 18:42:19 -05:00
Ben Halpern
5b77b779a3
Comment muting tweaks ( #1646 )
2019-01-24 18:16:13 -05:00
Andy Zhao
c4677071a7
Mute notifications for a comment thread ( #1636 )
...
* Use idempotent update instead of toggle
* Update editor guide with new comment instructions
* Render the settings button on page load
* Add settings button to comment dropdown
* Update styles to properly render
* Add comment mute function and settings page
* Clean up erb spacing
* Remove unneccessary user_id param
* Add receive_notifications for policy spec
* Update name for accuracy
* Add request spec for comments_mute
* Remove unused permitted attributes
* Add actually used permitted attributes
2019-01-24 17:20:38 -05:00
rhymes
51a9e8be0a
Order my tags by weight, popularity and name ( #1583 )
2019-01-20 11:29:37 -05:00
Ben Halpern
b1f18f5bbc
Improve feed and add more randomness ( #1570 )
...
* Improve feed and add more randomness
* Fix tests
* Fix test score calc
* Modify home page test criteria
2019-01-16 16:01:14 -05:00
Ben Halpern
0dac3b9662
Fix search page reading time issue ( #1544 )
2019-01-14 19:04:02 -05:00
Ben Halpern
d988bc71f9
Add reading time to articles ( #1538 )
...
* add comment template
* merge upstream
* Initial work
* make sure the template re-appears for top level comments after submission
* Small fix
* Fix git issues
* Account for missing reading times
* Add minimal score on sidebar
* Test for page to include min read
* rubocop cleanup
* Mess with test
* Add .to_i after score
* Modify search_score var
2019-01-14 15:58:33 -05:00
Ben Halpern
7333aa5436
Fix comment creation ( #1495 )
2019-01-08 14:29:49 -05:00
Ben Halpern
7c8f71251d
Add details to toggles and modify some styling ( #1484 )
...
* Add details to toggles and modify some styling
* Add details to child comments
* Finalize comment collapse in nested comments
* Modify styling on comment <details>
2019-01-08 12:53:48 -05:00
Ben Halpern
0aeb579547
Remove Facebook pixel ( #1380 )
2018-12-20 14:25:07 -05:00
Ben Halpern
bbbfe6af51
Add haptic feedback where it was missing ( #1367 )
2018-12-19 16:24:12 -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
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
Ben Halpern
c3d5220767
Add haptic message for iOS feedback ( #1287 )
2018-12-09 12:30:14 -05:00
Andrew Bone
d387f1a35f
Add alt attributes for landing page images ( #1272 )
...
* Add alt tag
`alt` tag is blank at @Zhao-Andy's request
* Added alt tag
`alt` tag is blank at @Zhao-Andy's request
* Added alt tag
Added `alt` tag for a11y compliance
2018-12-07 12:24:33 -05:00
Ben Halpern
f400b42e38
Add anti-follow language ( #1233 )
2018-11-30 18:08:51 -05:00
Ben Halpern
651ab3ce35
Add point weights for tag follows ( #1229 )
...
* Add point weights for tag follows
* Adjust num articles to initially show up on home page
* Fix schema.rb
* Adjust follow policy spec
* Adjust dashboard styling for follow points form
2018-11-30 15:36:58 -05:00
Ben Halpern
b51042f035
Fix readinglist issue ( #1231 )
2018-11-30 15:36:20 -05:00
Mike Chen
7ce311834f
Fix errant scroll behavior on /new when using keyboard scrolling ( #1203 )
...
Disable textarea resize and window scroll method when doing anything
that does not actually modify the textarea contents (e.g. arrow keys,
pgup/pgdn).
Fixes #1109
2018-11-28 14:57:21 -05:00
Ben Halpern
73b1616bb5
Fix notification pagination reaction issue ( #1181 )
2018-11-22 12:48:54 -05:00
Ben Halpern
eccee11106
Initial basic paginionation-ish for notifications ( #1175 )
2018-11-21 20:03:56 -05:00