* Query both actioned and unactioned notes

* Fix note title style issue when the component is rendered in the sidebar

* Add changelog

* Update changelog

* Adjust styling

* Fix lint error

* Simplify title style by using title class selector
This commit is contained in:
Moon 2021-12-02 13:04:05 -08:00 committed by GitHub
parent 7ea82c7778
commit 008b6cf2e5
3 changed files with 6 additions and 4 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: Update
Load both actioned and unactioned notes #7983

View File

@ -142,7 +142,7 @@ const renderNotes = ( {
const INBOX_QUERY = { const INBOX_QUERY = {
page: 1, page: 1,
per_page: QUERY_DEFAULTS.pageSize, per_page: QUERY_DEFAULTS.pageSize,
status: 'unactioned', status: 'unactioned,actioned',
type: QUERY_DEFAULTS.noteTypes, type: QUERY_DEFAULTS.noteTypes,
orderby: 'date', orderby: 'date',
order: 'desc', order: 'desc',

View File

@ -30,7 +30,7 @@
} }
&:not(.message-is-unread) { &:not(.message-is-unread) {
h3 { .woocommerce-inbox-message__title {
font-weight: normal; font-weight: normal;
a { a {
font-weight: normal; font-weight: normal;
@ -83,9 +83,7 @@
} }
margin-bottom: 10px; margin-bottom: 10px;
} }
}
h3 {
a { a {
@extend .woocommerce-inbox-message__title; @extend .woocommerce-inbox-message__title;
color: $gray-900 !important; color: $gray-900 !important;