Display actioned notes on Woo Home (https://github.com/woocommerce/woocommerce-admin/pull/7983)
* 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:
parent
7ea82c7778
commit
008b6cf2e5
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: Update
|
||||||
|
|
||||||
|
Load both actioned and unactioned notes #7983
|
|
@ -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',
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue