Jeff Stieler
225d75e73a
Merge pull request woocommerce/woocommerce-admin#2269 from woocommerce/add/primary-notice-actions
...
Add support for “primary” admin notice actions.
2019-05-22 08:29:18 -06:00
Joshua T Flowers
633177bdea
Update Card component to use Muriel design ( https://github.com/woocommerce/woocommerce-admin/pull/2252 )
...
* Use Muriel card styling and override card styles in reports
* Add card description prop
* Add isInactive prop and styling to card component
2019-05-22 16:38:25 +08:00
Jeff Stieler
db5a1b7348
Add support for “primary” admin notice actions.
2019-05-21 13:22:48 -06:00
Jeff Stieler
6ab3f0b9f9
Style admin note action button and snooze dropdown.
2019-03-20 08:52:27 -06:00
Jeff Stieler
276a6e6744
Hook up “remind me later” button.
...
Update the admin note status and date_reminder fields.
2019-03-20 08:52:27 -06:00
Jeff Stieler
738ce59e4d
Add “remind me later” dropdown button to snoozable admin notes.
2019-03-20 08:52:27 -06:00
Jeff Stieler
bfe5a75e98
Update text domain. ( https://github.com/woocommerce/woocommerce-admin/pull/1795 )
...
* Translation call text domain change from “wc-admin” to “woocommerce-admin”.
* Fix .pot file generation.
* Fix errantly closed array item in /revenue/stats controller.
* Rename plugin zip, main file, and repo name to "woocommerce-admin".
2019-03-13 11:14:02 -06:00
Justin Shreve
1348245406
Add store notice around processing historical data. ( https://github.com/woocommerce/woocommerce-admin/pull/1763 )
...
* Add store notice around processing historical data.
* Cleanup
* Handle PR feedback.
* Clean up `add` logic and add empty content_data. Also add logic to get_notes_count so that we can hide unactioned statuses.
* Add the ability to update a note, and to also mark a status when an alert is clicked.
* Remove mark_actioned call on sync
* add missing todo
2019-03-12 09:13:20 -04:00
Tiago Noronha
762b7d0b0c
Revert "Stop API requests when we know no alerts exist"
...
This reverts commit 0cdaf1bee2
.
2019-03-08 16:18:02 +00:00
Tiago Noronha
c3ff6fca49
Simplify StoreAlerts component logic
2019-03-08 16:17:48 +00:00
Tiago Noronha
0cdaf1bee2
Stop API requests when we know no alerts exist
2019-03-06 23:04:13 +00:00
Tiago Noronha
dd8d1fbb8b
Display StoreAlertsPlaceholder while alerts are being loaded
2019-03-06 22:50:47 +00:00
Tiago Noronha
f8e97b8152
Return immediately if no alerts found
2019-03-04 13:52:20 +00:00
Tiago Noronha
7248d14595
Hook up StoreAlerts component to notes endpoint
2019-03-01 17:20:28 +00:00
Tiago Noronha
952ad025a5
Change button from isPrimary to isDefault and adjust color
2019-02-21 23:34:43 +00:00
Tiago Noronha
1d864c222c
Fix line break
2019-02-20 19:03:08 +00:00
Tiago Noronha
91b09bfe4b
Add propTypes
2019-02-20 16:37:03 +00:00
Tiago Noronha
f492dae5a2
Simplify name of consts
2019-02-20 16:18:10 +00:00
Tiago Noronha
4f8336ce3d
Add alerts array via props
2019-02-20 15:25:56 +00:00
Tiago Noronha
d9f9532939
Use interpolateComponents for pagination label
2019-02-20 11:50:55 +00:00
Tiago Noronha
8bc2a84b39
Add basic StoreAlert component
2019-02-19 21:07:19 +00:00