docbrown/app
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
..
assets Allow archiving of posts (#2798) 2019-05-13 15:40:52 -04:00
black_box BlackBox specs #2524 (#2542) 2019-04-25 10:19:11 -04:00
controllers Allow archiving of posts (#2798) 2019-05-13 15:40:52 -04:00
dashboards Add nightmode image (#2640) 2019-05-01 15:14:18 -04:00
decorators Change format of the user languages_settings #2369 (#2496) 2019-04-30 17:01:19 -04:00
errors Add API Analytics Endpoints (#2293) 2019-04-04 10:52:45 -04:00
facades/dashboard Use published scope for articles (#2374) 2019-04-11 13:18:26 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
javascript Fix localstorage key (#2815) 2019-05-13 15:27:42 -04:00
jobs Move async article methods to ActiveJob (#2647) 2019-05-10 12:52:00 -04:00
labor [WIP] Move both v1 and v2 editor to v2 preact-driven editor (#2797) 2019-05-13 12:27:36 -04:00
lib Fix non-english characters delete on tags (#2579) 2019-04-29 17:33:14 -04:00
liquid_tags Fix SpotifyTag (#2791) 2019-05-10 16:18:55 -04:00
mailers Add mailers specs for tracking (#2523) 2019-04-23 12:38:11 -04:00
models Add security and faq pages as generatable via the Page model (#2792) 2019-05-10 16:20:40 -04:00
observers Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
policies Allow archiving of posts (#2798) 2019-05-13 15:40:52 -04:00
sanitizers Add support for mark element in markdown (#2089) 2019-03-18 17:10:58 -04:00
services [WIP] Move both v1 and v2 editor to v2 preact-driven editor (#2797) 2019-05-13 12:27:36 -04:00
uploaders Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
views Allow archiving of posts (#2798) 2019-05-13 15:40:52 -04:00