docbrown/spec/system/admin
Julianna Tetreault 6f4e600a4e
Refactor Admin Events Index (#11103) [deploy]
* Adds new and edit views for events and removes them from the index view

* Fixes formatting issues in /admin/pages/index.html.erb

* Refactors /admin/events partial, new, and edit forms

* Updates admin_events routes to include all routes except destroy

* Refactors Admin::EventsController and adds #new and #edit actions

* specs: Adjusts admin_creates_new_event_spec to work with /admin/event changes

* Refactors the Admin::EventsController, routes, and events index even further
  - Adds back placeholder text in Events form
  - Removes unnecessary code from controller
  - Reverts changes to routes
  - Adjusts event_cover_image size on index.html.erb

* specs: Adds tests around creating and updating events to events_spec

* Adds pagination to Admin::EventsController #index to cap events at 20 per page

* Removes .all from Admin::EventsController and adds a line to index.html.erb

* Uses crayons classes for _event_form.html.erb
2020-10-29 10:11:15 -06:00
..
admin_awards_badges_spec.rb Manage Badges in /admin/badges (#9721) [deploy] 2020-08-13 08:54:51 -06:00
admin_bans_or_warns_user_spec.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
admin_creates_new_event_spec.rb Refactor Admin Events Index (#11103) [deploy] 2020-10-29 10:11:15 -06:00
admin_creates_new_page.rb Allow admins to turn "some" hardcoded pages into a "Page" (#10877) 2020-10-16 12:37:06 -04:00
admin_deletes_user_spec.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
admin_manages_chat_channels_spec.rb [deploy] Adding Crayons to Admin (#10015) 2020-08-31 10:29:06 -04:00
admin_manages_configuration_spec.rb [deploy] Add default for main_social_image (#11126) 2020-10-29 10:07:14 -04:00
admin_manages_organizations_spec.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
admin_manages_pages_spec.rb [deploy] Improve error messages and validation for admin pages (#11141) 2020-10-28 13:54:38 -05:00
admin_manages_reports_spec.rb [deploy] Adding Crayons to Admin (#10015) 2020-08-31 10:29:06 -04:00