I looked into these views today and found several problems.

1) They are not correctly named (names don't start with commerce_backoffice_)
2) They don't have empty states (appropriate empty text shown in the table even if there aren't any rows. The product and order views have this)
3) The exposed filters don't use ajax.
4) The comments view doesn't replace the "unapproved" comments tab.
5) No exposed filters on the comments view.
6) Not all relevant VBO operations enabled (no "delete content" or "unpublish comment", for example)

Comments

bojanz’s picture

Status: Active » Needs work

Solved #2-#6 in https://code.drupalcommerce.org/#/c/509/

Still need to fix #1 before merging.

bojanz’s picture

I've merged #509 since it's a good initial fix.

#1 is more complicated, since renaming the views triggers the backoffice styling, which is incomplete.
Furthermore, the content and comment views don't have the same styled exposed filters as products and orders (no search, no placeholder values, filter labels still present, etc). That's really inconsistent.

I've opened https://code.drupalcommerce.org/#/c/510/ and did the initial work. Needs more + some Shiny changes.

bojanz’s picture

Project: Commerce Kickstart » Commerce Backoffice
Version: 7.x-2.x-dev » 7.x-1.x-dev
Status: Needs work » Fixed

Done, and merged to both Kickstart and Backoffice itself.

The content view now has quick search, dropbuttons, expected filter look.

Comments don't have dropbuttons yet (will need more work), but it has quick search and the filters now look better.
Aaron will still need to do some tweaking to the visuals of the comments view.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.