Kelly Dwan
99f726bfb5
ActivityPanel: Update semantics for screen reader navigation ( https://github.com/woocommerce/woocommerce-admin/pull/182 )
...
* Update semantics for ActivityPanel
Move the Section wrap to the top-level of ActivityPanel
Use an `aside` for the panel, which will expose the panel as a “complementary” in landmark nav
Add a heading for the Section/aside, which also fixes the heading hierarchy
* Update textdomains to match woo-dash change
* Switch panel container to a `div` so that clickOutside works as expected
2018-07-13 15:31:58 -04:00
Justin Shreve
803136ca9a
Fixes some display issues on embedded/classic WC pages ( https://github.com/woocommerce/woocommerce-admin/pull/186 )
2018-07-13 15:19:54 -04:00
Justin Shreve
37e48ed6de
Define text domain in test setup, and re-enable date test
2018-07-13 10:28:24 -04:00
Timmy Crawford
f5b41e9a19
Try skipping test.
2018-07-12 16:58:47 -07:00
Timmy Crawford
2e708821f9
third time is a charm?
2018-07-12 16:54:56 -07:00
Timmy Crawford
86e9b4e422
Fix date test.
2018-07-12 16:46:35 -07:00
Timmy Crawford
11eccdc02b
Update travis to run npm test
2018-07-12 16:01:11 -07:00
Justin Shreve
eb7b60d558
Add Gravatar Component ( https://github.com/woocommerce/woocommerce-admin/pull/188 )
2018-07-11 13:06:26 -04:00
Robert Elliott
f0069b4d48
reformatted README
2018-07-11 17:12:37 +02:00
Robert Elliott
7b8bcea17a
move dummy into fixtures subfolder
2018-07-10 17:07:34 +02:00
Robert Elliott
6ff484bddc
JSDocs for chart component utils
2018-07-10 16:09:58 +02:00
Robert Elliott
da980328e2
move dummy js and add README
2018-07-10 16:09:47 +02:00
Justin Shreve
71c12e6795
Update woo-dash naming to new wc-admin name ( https://github.com/woocommerce/woocommerce-admin/pull/183 )
2018-07-10 08:48:06 -04:00
Kelly Dwan
5bf87f4ad9
Fix unique key warning for DropdownButton labels ( https://github.com/woocommerce/woocommerce-admin/pull/180 )
2018-07-09 16:36:12 -04:00
Justin Shreve
3783e5e6f7
Add ActivityHeader & implement panel styles ( https://github.com/woocommerce/woocommerce-admin/pull/167 )
...
* Header shadow on scroll, panel styles, implement woo bubble
* Add ActivityHeader component
* Fix admin bar stickyness and missing onInvoke function
2018-07-09 11:46:31 -04:00
Justin Shreve
8627e89d19
Fix infinite loop from calling setState in D3 componentDidUpdate ( https://github.com/woocommerce/woocommerce-admin/pull/179 )
2018-07-09 11:28:33 -04:00
Robert Elliott
5c0a293297
refactor params to reduce recalculating scales each time + new tests
2018-07-09 15:35:25 +02:00
Robert Elliott
ec3e433e24
line mouseover and out events with tooltip
2018-07-09 15:35:24 +02:00
Robert Elliott
01eea75a2a
bug fixes to drawLines and dummy renders of bars and lines on Dashboard
2018-07-09 15:35:24 +02:00
Robert Elliott
806d423324
bar chart and example
2018-07-09 15:35:12 +02:00
Justin Shreve
f0c27ee999
Activity Panel: Unread bubble, animations, cleaned up styles/mobile handling ( https://github.com/woocommerce/woocommerce-admin/pull/154 )
...
* Activity Panel Updates: Unread bubble, animations, cleaned up styles and mobile handling.
* * Color and animation definition cleanup
* Fix animation for tab switch
* Clicking outside the panel will close it
* Hover bubble border
* Aria attributes/tablist
* Fix mobile styles
2018-07-06 08:40:05 -04:00
Paul Sealock
817f6813a1
Date: Load localeData into Momentjs
2018-07-06 14:04:17 +12:00
Paul Sealock
a768fac41d
span instead of p
2018-07-03 11:58:05 +12:00
Paul Sealock
a4305347ce
Datepicker: Add styles
2018-07-03 11:41:38 +12:00
Paul Sealock
323807c074
Merge pull request woocommerce/woocommerce-admin#142 from woocommerce/fix/datepicker-naming-match-api
...
Datepicker: Use api naming before/after
2018-07-03 11:17:34 +12:00
Paul Sealock
0a2b71865b
Datepicker: Use api naming before/after
2018-07-03 11:16:42 +12:00
Timmy Crawford
1a3240b4ec
Merge pull request woocommerce/woocommerce-admin#141 from woocommerce/update/performance-indicators
...
Use SummaryNumber for Store Performance
2018-07-02 11:11:28 -07:00
Timmy Crawford
8306bc91bf
s/PerformanceIndicators/StorePerformance/
2018-07-02 11:08:50 -07:00
Paul Sealock
1466461331
Merge pull request woocommerce/woocommerce-admin#134 from woocommerce/add/lib-date-unit-tests
...
Datepicker: add unit tests to lib/date
2018-07-01 21:15:00 +12:00
Timmy Crawford
8c9921ee74
Use SummaryNumber for Store Performance
2018-06-29 11:27:18 -07:00
Justin Shreve
9f1015b155
Implement updated activity panel tab design ( https://github.com/woocommerce/woocommerce-admin/pull/137 )
2018-06-29 11:20:08 -04:00
Paul Sealock
7a385a816b
Date lib: Add unit test coverage
...
* getRangeLabel
* getLastPeriod
* getCurrentPeriod
2018-06-29 09:52:36 +12:00
Paul Sealock
13a283cac1
Merge pull request woocommerce/woocommerce-admin#128 from woocommerce/update/datepicker-i18n
...
Datepicker: i18n date formats
2018-06-29 06:52:17 +12:00
Justin Shreve
2070337459
Add Gridicons ( https://github.com/woocommerce/woocommerce-admin/pull/136 )
2018-06-28 11:23:26 -04:00
Justin Shreve
d604f3625c
Rename sidebar to activity-panel, and refactor code and behavior.
2018-06-28 09:52:45 -04:00
Timmy Crawford
f2518dcd34
make with and without elipsis the same height
2018-06-27 15:10:50 -07:00
Timmy Crawford
2145b8ebce
Update Card header styles.
2018-06-27 14:58:37 -07:00
Paul Sealock
6c4cce3b24
update existing tests
2018-06-27 15:59:58 +12:00
Paul Sealock
efba4fab7d
Datepicker: i18n datestrings
2018-06-27 15:54:01 +12:00
Paul Sealock
0f93022a62
DatePicker: Hook up react-dates
2018-06-27 14:21:14 +12:00
Paul Sealock
be002e442a
DatePicker: Hook up react-dates
2018-06-27 14:11:13 +12:00
Timmy Crawford
88e1764720
Use swagger data in table.
2018-06-26 15:17:05 -07:00
Timmy Crawford
474f3ac5d0
use formatCurrency and update the utility to default to the WC settings currency
2018-06-26 14:39:29 -07:00
Timmy Crawford
e20ccf1fe1
Use swagger mock endpoints to fetch data.
2018-06-26 14:25:42 -07:00
Kelly Dwan
bb4f23182a
Update property name
2018-06-26 14:22:23 -07:00
Kelly Dwan
f9ae8120e2
Update docs
2018-06-26 14:22:23 -07:00
Kelly Dwan
ff80ca0122
Use formatCurrency in the orders activity list
2018-06-26 14:22:23 -07:00
Kelly Dwan
17cbf3a3ad
Add `formatCurrency`, which relies on a global currency object and local set on wcSettings
2018-06-26 14:22:23 -07:00
Justin Shreve
ba68ada59d
Add Pagination Component ( https://github.com/woocommerce/woocommerce-admin/pull/117 )
...
* Add pagination component
* Refactor query string/route updating so it can be done using a nav-utils helper function
* Fix typo and adjust accessibility attributes for error handling and current page
* Update styles
2018-06-26 10:59:35 -04:00
Justin Shreve
bf80e5c649
Global Header & Activity Panel on all WooCommerce Pages ( https://github.com/woocommerce/woocommerce-admin/pull/110 )
...
* Makes the header/sidebar component embeddable on other WooCommerce pages.
* Some mobile CSS fixes to make sure the header bar displays properly on smaller screensizes.
* Refactor notices and pull out success message from the panel
* Handle positioning of screen options, update message handling, css fixes and header height increase to match mockups, some code cleanup
* Only enable the header embed on normal/classic WooCommerce pages, and provide a method for plugins to opt-in.
This change also builds nicer breadcrumbs for pages.
* Code cleanup and consistent naming.
* Some spacing cleanup. Also updated the page title method to correctly set page titles in PHP for classic WC pages
2018-06-26 10:49:42 -04:00