Changed following
- action bar now uses translate for animation instead of changing layout
- action bar is now hidden from both text readers and keyboard navigation when it is out of view
- css now doesn't use elements for styling
- 'Show all in listing' is now a button instead of an <a>
- Changed aria labels to more suitable and meaningful ones
Changed following
- execute_action requires the use of several instance variables like cleaned form and request, which cannot be accessed if it were a class method. It was working till now since the classmethod decorator was not applied in the inherited class
Changed following
- Most bulk actions have a form requirement. Therefore, subclassing FormView makes everything easier, the form is cleaned before the bulk action is processed, and any errors are returned with appropriate error strings. The cleaned form data is available to all methods after the form is cleaned.
Fixed following
- Fixed the transition time of the action bar
- Fixed the sudden jerk due to text change in the action bar
- select all text in the action bar now appears only if there are more objects to display
Fixed following
- The text color on the bulk action buttons used to turn white on hover. Now, the text color changes acoordingly
- Changes to footer css changed caused changes in some unwanted places. Fixed that by namespacing the css changes
Added following
- Add 'More' dropdown if there are more than 4 bulk actions
- Add bulk actions to 'Pages search' page
Changed following
- Move actions bar from headers to footer
Added following
- Add prepare action method that runs before transaction starts
- Add a default form with a default field
Changed following
- Move permissions check in bulk move from before hook to a method that runs before the transaction starts
- Select all pages now doesn't fetch all ids, but passes id as all and the parent page id
- Change no access permissions
Fixed following
- Fix tests for changes in html
Added following
- Added comments
Changed following
- Displays confirm action button only when there are actionable objectsg
- Bulk actions are displayed in same order as page listing buttons
Fixed following
- Fix tests due to change in html of confirmation pages
Changed following
- Earlier, if the user didnt have access to perform the action on even one of the pages, a PermissionDenied exception was raised. This was undesirable behaviour. Now, these pages are listed on the confirmation page of the action, where it is explicitly mentioned that the action cannot be performed on these pages.
Added following
- Separate routes for getting filter count with or without parent page id
- Use already existing parse_query_string function for parsing filter string
Changed following
- apply_filters now uses django's Q object, for more flexibility of filters
Fixed following
- bulk_action_choices hook now passes existing tests
Added following
- Add support for filters
- Add bulk delete, publish and unpublish actions (views and templates)
- Add search textbox to get filtered results
- Add view to get count of pages corresponding to a set of given filters