docbrown/spec
Mario See fda048dc12 Listing Drafts and Deletion (#3540)
* wip init handle draft class and styling

* add draft button

* start splitting up listing row into multile files

* separate tag links

* split location

* fix location

* separate listing row action buttons

* update listing row proptypes to describe listing object

* contact via connect to jsx

* fix default checked

* init draft creation and first publish charge

* fix first publish logic and credit charging

* handle drafts in dashboard filtering

* adjust isDraft bool statement

* hide drafts from main listings feed

* fix expired and draft bools in listing row

* adjust create listing org credits

* internally handle drafts

* adjust listing row

* break down update method

* remove unnecessary logic and shorten lines

* fix logic again woops

* convert input hidden value + submit into one form button submit with corresponding name and value

also adds clear message that drafts do not cost credits

* handle insufficient org credits on first publish

- uses user credits to publish
- similar to bump implementation

* fix sorting for personal and all orgs

* space out some elements

* don't spend original users credit for them

* add delete buttons and delete_confirm and destroy methods

* remove notification removal since listings dont trigger notifications

* move draft message and add draft_params to tests

* Update classified_listings_controller.rb

* update tests

* update snapshot

* add del tests

* add guard preventing free draft publish

* fix draft filter

* update from master and resolve merge conflict in listing preact

* Revert "update from master and resolve merge conflict in listing preact"

This reverts commit 0a34fccf334a2ca0902644b486cb26ead6bef664.

* update column spec

instead of setting and saving

* separate two expectations into their own tests

* split more tests into single expectations

* change to unless bumped_at? instead of if nil

* Fix listing draft edge cases and styling

* Add title tags to listings pages
2019-09-01 13:54:54 -04:00
..
black_box Add watercooler as sidebar tag and watercooler flare (#3465) 2019-07-12 14:24:33 -04:00
decorators Display comment published timestamp according to user's locale (#1970) 2019-03-08 15:19:37 -05:00
factories Implement webhook & API endpoints #3715 (#3783) 2019-08-29 10:23:41 -04:00
fixtures Set max file size limit for profile images (#3313) 2019-06-28 12:06:25 -04:00
helpers Update Email Copy for internal/reports (#3867) 2019-08-30 09:58:30 -04:00
jobs Fix comment deletion bug (#3732) 2019-08-27 17:07:09 -04:00
labor Add hashtags to linkedin body (#3866) 2019-08-28 14:49:31 -04:00
lib Fix Typos (#3510) 2019-07-22 12:56:48 -04:00
liquid_tags Support for runnable kotlin snippets #3776 (#3801) 2019-08-29 16:06:17 -04:00
mailers Improve mod roundrobin notification and internal tooling (#3855) 2019-08-27 21:54:09 -04:00
models Implement webhook & API endpoints #3715 (#3783) 2019-08-29 10:23:41 -04:00
observers Moved SlackBot.delay.ping calls to ActiveJob #3136 (#3139) 2019-06-12 09:23:37 -04:00
policies Allow users to belong to multiple orgs (#2583) 2019-06-04 09:30:52 -04:00
requests Listing Drafts and Deletion (#3540) 2019-09-01 13:54:54 -04:00
routing Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
services Improve mod roundrobin notification and internal tooling (#3855) 2019-08-27 21:54:09 -04:00
support Support for runnable kotlin snippets #3776 (#3801) 2019-08-29 16:06:17 -04:00
system Add android and ios apps download page (#3736) (#3798) 2019-08-22 21:04:58 -04:00
views Migrate feature test to system test (#2301) 2019-04-04 12:15:10 -04:00
rails_helper.rb Update core API endpoints to support access_token (#3644) 2019-08-08 15:55:23 -03:00
spec_helper.rb Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00