docbrown/app/assets/javascripts
Dana Scheider b2a8f69f83 Allow archiving of posts (#2798)
* This commit adds the "archived" attribute to the Article model, which will
enable users to automatically filter archived articles/drafts from appearing
on their dashboard. It also adds an ellipsis menu with a link to archive the
article. I've also moved the Mute Notifications button into the ellipsis menu
as well.

* Add ellipsis menu and make it work

* Fix logic error

* Hide ellipsis menus when you click elsewhere on the body

* Extract function to remove duplication

* Ensure that menu is hidden when the ellipsis button is clicked on an open menu

* Ensure that archiving post button works and that 'archived' param is accepted by the controller

* Enable link to toggle showing/hiding archived articles

* Make 'mute' and 'archive' buttons in ellipsis dropdown list work

* Refactor to make Code Climate happy

* Minor JS refactors
2019-05-13 15:40:52 -04:00
..
initializers Allow archiving of posts (#2798) 2019-05-13 15:40:52 -04:00
lib Classified Listings (#2545) 2019-04-24 16:17:01 -04:00
utilities Add loading='lazy' attribute to some images (#2776) 2019-05-09 16:37:06 -04:00
.eslintrc.js Display comment published timestamp according to user's locale (#1970) 2019-03-08 15:19:37 -05:00
application.js Initial commit 2018-02-28 16:11:08 -05:00
base.js.erb Add pagination to listings (#2775) 2019-05-09 14:58:26 -04:00
hello-dev.js Add Console message ascii art (#2392) [ci skip] 2019-04-16 16:47:27 -04:00
initializePage.js.erb Allow archiving of posts (#2798) 2019-05-13 15:40:52 -04:00
internal.js Initial commit 2018-02-28 16:11:08 -05:00
jquery_s3_upload.js [WIP] Add super beta video upload (#277) 2018-05-03 16:27:52 -04:00
manifest.json.erb Add nav buttons to pwa desktop (#2484) 2019-04-18 11:35:00 -04:00
serviceworker-companion.js Initial commit 2018-02-28 16:11:08 -05:00
serviceworker.js.erb Improve reading list (#2695) 2019-05-05 19:19:30 -04:00