Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
bojanz CreditAttribution: bojanz commentedSolved #2-#6 in https://code.drupalcommerce.org/#/c/509/
Still need to fix #1 before merging.
Comment #2
bojanz CreditAttribution: bojanz commentedI'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.
Comment #3
bojanz CreditAttribution: bojanz commentedDone, 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.