Jonathan Belcher
3e92954438
Fixes React Live by pinning buble version ( https://github.com/woocommerce/woocommerce-admin/pull/608 )
...
This (sort of) pins buble to the last good version, 0.19.4. react-live uses a ^ version, which picked up the broken release during the renovate update sweep.
2018-10-19 16:36:02 -04:00
renovate[bot]
4728c7c9d6
Update dependency wp-coding-standards/wpcs to v1 ( https://github.com/woocommerce/woocommerce-admin/pull/604 )
2018-10-19 16:10:13 -04:00
Jonathan Belcher
9d5e0dceb6
Temporary fix for dev docs while react-live is fixed ( https://github.com/woocommerce/woocommerce-admin/pull/606 )
...
* Temporary fix for dev docs while react-live is fixed
* Return null instead of th element
2018-10-19 14:06:49 -04:00
renovate[bot]
41536b35cb
Update dependency react-live to v1.12.0 ( https://github.com/woocommerce/woocommerce-admin/pull/590 )
2018-10-19 13:25:39 -04:00
renovate[bot]
0bff5beecf
Update dependency husky to v1 ( https://github.com/woocommerce/woocommerce-admin/pull/599 )
2018-10-19 13:25:11 -04:00
renovate[bot]
cc36f993d7
Update dependency babel-eslint to v10 ( https://github.com/woocommerce/woocommerce-admin/pull/598 )
2018-10-19 13:24:50 -04:00
renovate[bot]
f850eb1a40
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/597 )
2018-10-19 13:06:42 -04:00
renovate[bot]
0da0cb9b05
Update react monorepo to v16.5.2 ( https://github.com/woocommerce/woocommerce-admin/pull/596 )
2018-10-19 13:01:49 -04:00
renovate[bot]
097aae16c2
Update dependency webpack-cli to v3.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/595 )
2018-10-19 13:00:20 -04:00
renovate[bot]
35c644b4f7
Update dependency webpack to v4.21.0 ( https://github.com/woocommerce/woocommerce-admin/pull/594 )
2018-10-19 12:58:35 -04:00
renovate[bot]
83621afc85
Update dependency style-loader to v0.23.1 ( https://github.com/woocommerce/woocommerce-admin/pull/593 )
2018-10-19 12:56:48 -04:00
renovate[bot]
6797a2a80f
Update dependency recast to v0.16.0 ( https://github.com/woocommerce/woocommerce-admin/pull/592 )
2018-10-19 12:55:42 -04:00
renovate[bot]
1de58e7573
Update dependency node-sass to v4.9.4 ( https://github.com/woocommerce/woocommerce-admin/pull/589 )
2018-10-19 12:54:21 -04:00
Albert Juhé Lluveras
cf2152eafd
IE11: fix table header misalignment. ( https://github.com/woocommerce/woocommerce-admin/pull/603 )
2018-10-19 17:40:28 +02:00
Albert Juhé Lluveras
508141b709
IE11: fix tooltip not correctly positioned in charts ( https://github.com/woocommerce/woocommerce-admin/pull/602 )
2018-10-19 17:39:14 +02:00
Allen Snook
3155d5ec24
Merge pull request woocommerce/woocommerce-admin#507 from woocommerce/add/admin-notices-rest-api
...
Activity Panel: Inbox: Add REST API (GETters only)
2018-10-19 08:04:46 -07:00
renovate[bot]
7f549f20bb
Update dependency marked to v0.5.1 ( https://github.com/woocommerce/woocommerce-admin/pull/588 )
2018-10-19 10:08:05 -04:00
renovate[bot]
891aeee03d
Update dependency eslint-plugin-jsx-a11y to v6.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/587 )
2018-10-19 10:05:22 -04:00
renovate[bot]
8d22e614c2
Update dependency eslint-plugin-jest to v21.25.1 ( https://github.com/woocommerce/woocommerce-admin/pull/586 )
2018-10-19 09:58:49 -04:00
renovate[bot]
98f17ca36a
Update dependency eslint-loader to v2.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/585 )
2018-10-19 09:53:36 -04:00
renovate[bot]
2393a736ce
Update dependency eslint to v5.7.0 ( https://github.com/woocommerce/woocommerce-admin/pull/584 )
2018-10-19 09:44:01 -04:00
renovate[bot]
8fb274c1d2
Update dependency babel-loader to v8.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/578 )
2018-10-19 09:33:27 -04:00
renovate[bot]
575013094e
Update dependency autoprefixer to v9.2.1 ( https://github.com/woocommerce/woocommerce-admin/pull/577 )
2018-10-19 09:31:25 -04:00
renovate[bot]
bc15a107dd
Update dependency ast-types to v0.11.6 ( https://github.com/woocommerce/woocommerce-admin/pull/576 )
2018-10-19 09:25:57 -04:00
Jonathan Belcher
0828ea5258
Fixes number formatting on charts ( https://github.com/woocommerce/woocommerce-admin/pull/529 )
2018-10-19 09:23:47 -04:00
Paul Sealock
b168f36cf2
Merge pull request woocommerce/woocommerce-admin#583 from woocommerce/fix/primary-secondary-typo
...
ChartData: fix typo in primary/secondary data
2018-10-19 11:17:09 +13:00
Paul Sealock
894105e601
ChartData: fix typo in primary/secondary data
2018-10-19 10:15:03 +13:00
Timmy Crawford
d64fda9c54
Orders Report: Fix key prop warning. ( https://github.com/woocommerce/woocommerce-admin/pull/580 )
2018-10-18 13:45:59 -07:00
David Levin
f74ae15b91
Update the order of orders report summary numbers ( https://github.com/woocommerce/woocommerce-admin/pull/547 )
...
* Update the order of orders report summary numbers
* Teamwork makes the dreamwork.
2018-10-18 13:45:36 -07:00
Paul Sealock
71b2435d96
Merge pull request woocommerce/woocommerce-admin#565 from woocommerce/try/fix-dry-queries-2nd-round
...
Reports: create queries for data requests in one place
2018-10-19 09:33:12 +13:00
Paul Sealock
d4564853c6
Merge pull request woocommerce/woocommerce-admin#538 from woocommerce/add/filters-search
...
Add/filters search
2018-10-19 09:32:47 +13:00
renovate[bot]
33ea703c31
Update babel monorepo to v7.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/575 )
2018-10-18 15:42:28 -04:00
Joshua T Flowers
0f5ab33ffe
Update sorted column background color ( https://github.com/woocommerce/woocommerce-admin/pull/571 )
2018-10-18 14:45:06 -04:00
Joshua T Flowers
098bf7a2bc
Deactivate plugin if dependencies not met ( https://github.com/woocommerce/woocommerce-admin/pull/530 )
...
* Deactivate plugin if dependencies not met
Wc-admin has hooks that install tables. Currently if WC is not active on install, those hooks don't fire and initial tables will never be created resulting in API errors
* Unset plugin activation message if dependencies not met
2018-10-18 14:37:49 -04:00
Joshua T Flowers
698d48a7b6
Update checkbox column styling ( https://github.com/woocommerce/woocommerce-admin/pull/572 )
...
* Add cellClassName option so we can pass class names to cells
* Add styling for checkbox columns
2018-10-18 14:24:31 -04:00
renovate[bot]
9c147c6e82
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/573 )
2018-10-18 12:57:29 -04:00
Jonathan Belcher
06163430a4
Add products report Chart and Summary ( https://github.com/woocommerce/woocommerce-admin/pull/548 )
...
* Add products report Chart and SUmmary
* Move items sold to primary position
2018-10-18 12:54:38 -04:00
renovate[bot]
3c5d7fc08d
Add renovate.json ( https://github.com/woocommerce/woocommerce-admin/pull/552 )
2018-10-18 12:26:57 -04:00
Joshua T Flowers
4a6b48dd92
Change link focus color in table links ( https://github.com/woocommerce/woocommerce-admin/pull/570 )
2018-10-18 11:44:26 -04:00
Claudio Sanches
f9ebb78676
Merge pull request woocommerce/woocommerce-admin#488 from woocommerce/feature/438
...
Imported dev files from WooCommerce and updated pre-commit hook
2018-10-18 11:53:13 -03:00
Claudio Sanches
31a91becdb
Merge pull request woocommerce/woocommerce-admin#491 from woocommerce/fix/474
...
Fixed textdomain
2018-10-18 11:52:28 -03:00
Albert Juhé Lluveras
e545ae4d22
Remove unnecessary opacity values from charts code ( https://github.com/woocommerce/woocommerce-admin/pull/569 )
2018-10-18 14:56:54 +02:00
Albert Juhé Lluveras
8cf34964e5
Align status indicator to the right in Orders table ( https://github.com/woocommerce/woocommerce-admin/pull/539 )
...
* Align status indicator to the right in Orders table
* Align 'Order' column to the right in Orders table
2018-10-18 12:43:45 +02:00
Paul Sealock
f8e824b609
remove uneeded filters
2018-10-18 21:02:51 +13:00
Paul Sealock
615c369ac8
Table: add missing CSS bracket
2018-10-18 15:58:39 +13:00
Paul Sealock
aa603eabab
Filters: fix updates and configs
2018-10-18 12:48:24 +13:00
Paul Sealock
63c18fb51b
tests
2018-10-18 12:24:36 +13:00
Joshua T Flowers
d611817fc7
Change componentDidUnmount to componentWillUnmount ( https://github.com/woocommerce/woocommerce-admin/pull/563 )
2018-10-17 19:12:04 -04:00
Paul Sealock
ecdebd8a51
jsDoc
2018-10-18 12:06:33 +13:00
Paul Sealock
cf358f50fc
Reports: create queries for data requests in one place
2018-10-18 12:02:31 +13:00
Joshua T Flowers
34d7944988
Modify table download button styling ( https://github.com/woocommerce/woocommerce-admin/pull/560 )
2018-10-17 19:01:57 -04:00
Allen Snook
7203fa0e11
Merge pull request woocommerce/woocommerce-admin#557 from woocommerce/add/tracks-privacy-to-readme
...
Usage Tracking: Add privacy notice regarding wp.com
2018-10-17 15:20:55 -07:00
Joshua T Flowers
5deecbb6ba
Add table shadow element to tables ( https://github.com/woocommerce/woocommerce-admin/pull/546 )
...
* Add table shadow element to tables
* Update table shadow bg color
* Remove redundant styles
* Remove unused ref
* Update shadow relative to container table body
Use the container body so we don't have to update the transform on scroll for the table shadow. Prevents jankiness on low-end devices
* Move table shadow to pseudo element
2018-10-17 17:56:09 -04:00
Jonathan Belcher
74d8d431e4
Removes unwanted orders report filters ( https://github.com/woocommerce/woocommerce-admin/pull/553 )
2018-10-17 16:50:05 -04:00
Allen Snook
254df9a117
Add privacy notice regarding wp.com
2018-10-17 13:49:06 -07:00
Jonathan Belcher
f6353591e3
Adds report error component ( https://github.com/woocommerce/woocommerce-admin/pull/543 )
...
* Adds report error component
* Add ReportError to chart and summary
* Review fixes
2018-10-17 14:56:50 -04:00
Robert Elliott
141179b154
Component - Chart: focus data points on hover with tooltip ( https://github.com/woocommerce/woocommerce-admin/pull/468 )
...
* focus data points on hover with tooltip
* Add new proprty to getdateSpaces test
2018-10-17 11:08:34 -07:00
Jonathan Belcher
f6d90821af
Fix phpcs errors
2018-10-17 12:51:48 -04:00
Jonathan Belcher
8fec1f3fc1
Merge branch 'master' into feature/438
2018-10-17 12:44:33 -04:00
Jonathan Belcher
d800054c1e
Merge branch 'master' into fix/474
2018-10-17 12:42:03 -04:00
Albert Juhé Lluveras
3982ebc32e
Create appendTimestamp() utils function ( https://github.com/woocommerce/woocommerce-admin/pull/542 )
...
* appendTimestamp() utils function
* Make appendTimestamp() to throw and error if timeOfDay is not a valid value
2018-10-17 18:01:58 +02:00
Joshua T Flowers
206e0b5b7e
Fix pagination alignment/451 ( https://github.com/woocommerce/woocommerce-admin/pull/541 )
...
* Fix pagination alignment centering and wrap on mobile
* Match input and button heights for pagination
2018-10-17 11:42:53 -04:00
Joshua T Flowers
85e6aad4a3
Reposition chevron icon for first column in tables ( https://github.com/woocommerce/woocommerce-admin/pull/549 )
2018-10-17 11:42:33 -04:00
Joshua T Flowers
bb66708107
Change toggle background color to woocommerce purple ( https://github.com/woocommerce/woocommerce-admin/pull/551 )
2018-10-17 11:36:49 -04:00
Albert Juhé Lluveras
36c37afe49
Hide day from X axis when the time period is too long ( https://github.com/woocommerce/woocommerce-admin/pull/525 )
...
* Refactor getXTicks
* Hide day from X axis when the time period is too long
* Fix X axis labels misaligned in charts
* Align axis ticks to the first day of the month when not displaying the day number
* Store threshold in a variable
* Add missing JSDoc
* Fix charts hanging when the number of days selected was exactly 180
* Improve function naming
* Fix dayTicksThreshold mismatch between date format and chart layout
2018-10-17 15:44:43 +02:00
Timmy Crawford
e8fe6bac83
Remove chart from dashboard. ( https://github.com/woocommerce/woocommerce-admin/pull/544 )
2018-10-16 18:20:24 -07:00
Allen Snook
2a94177f71
Fix per_page default handling, json encoding options, schema help
2018-10-16 12:49:01 -07:00
Allen Snook
d450ea6545
Strip slashes from titles, content and action (button) labels
2018-10-16 12:49:01 -07:00
Allen Snook
80ace9c9f3
Add publicly consumable schema info
2018-10-16 12:49:01 -07:00
Allen Snook
054fbb4ee3
Accept page and per page params in REST query, return total count of notes in header
2018-10-16 12:49:01 -07:00
Allen Snook
68b799f796
Correctly prepare dates in the response
2018-10-16 12:49:01 -07:00
Allen Snook
3b988d954c
Correct copypasta in comments
2018-10-16 12:49:01 -07:00
Allen Snook
6dc4564feb
Add single and multiple note GETters
2018-10-16 12:49:01 -07:00
Jonathan Belcher
69a47f0019
Use analytics summary and graph components in revenue report ( https://github.com/woocommerce/woocommerce-admin/pull/523 )
2018-10-16 13:42:13 -04:00
Jonathan Belcher
386933a182
Refactors out summary and graph ( https://github.com/woocommerce/woocommerce-admin/pull/517 )
...
* Refactors out summary and chart
2018-10-16 12:07:43 -04:00
Jonathan Belcher
4e608e8706
Remove format comment
2018-10-16 11:56:31 -04:00
Jonathan Belcher
ccd72b7e59
Remove format comment
2018-10-16 11:56:16 -04:00
Jonathan Belcher
a8432e7a90
Remove format comment
2018-10-16 11:55:59 -04:00
Albert Juhé Lluveras
ae6652b26c
Send params with Orders table API calls ( https://github.com/woocommerce/woocommerce-admin/pull/519 )
...
* Send params with Orders table API calls
* Add onError case and caching for Orders calls
* Remove unused actions
* Load only 'processing', 'on-hold' and 'completed' orders
* Use NAMESPACE constant instead of hard-coded value
* Comment typos
* Add tests to Orders reducer, resolvers and selectors
* Typos
* Fix JSDoc mismatch
2018-10-16 10:50:07 +02:00
Paul Sealock
76bf741fc9
Advanced Filters: update README
2018-10-16 11:03:17 +13:00
Paul Sealock
4bc8c82820
Merge pull request woocommerce/woocommerce-admin#457 from woocommerce/fix/advanced-filters-i18n
...
i18n: Advanced Filters strings
2018-10-16 10:54:45 +13:00
Jonathan Belcher
c7f56f8a07
Adds WooCommerce version requirement and message ( https://github.com/woocommerce/woocommerce-admin/pull/524 )
2018-10-15 15:23:09 -04:00
Albert Juhé Lluveras
8120cc7d6a
Rename 'mock-data' files so they don't have the same file name ( https://github.com/woocommerce/woocommerce-admin/pull/522 )
2018-10-15 19:06:37 +02:00
Paul Sealock
e6084e2af9
Merge pull request woocommerce/woocommerce-admin#501 from woocommerce/fix/tabpanel-current-tab
...
DatePicker: update selected tab to reflect update to TabPanel component
2018-10-15 21:34:31 +13:00
Paul Sealock
ea6f14e7ba
Tag: use label in removeLabel
2018-10-15 15:15:32 +13:00
Albert Juhé Lluveras
17e9f151be
Create ViewMoreList component ( https://github.com/woocommerce/woocommerce-admin/pull/503 )
...
* Create ViewMoreList component
* Update Tag component with the new style and popover
* Display number of times an item was bought in the Orders table (2x, 1x, ...)
* Refactor ViewMoreList so the elements to display in the list and the popover are different props
* Cleanup
* Fix CSV values for products and coupons
* Minor fixes
* Rename ViewMoreList prop from 'popoverItems' to 'items'
* Cleanup props
* Add ViewMoreList to devdocs examples
* Order Tag props alphabetically
* Move withState to export line so it doesn't break docs generation
* Rename 'is-not-unique' class name to 'is-inline'
* Fix missing comma
* Remove margin from popover list
* Use pseudo-selector to replace 'is-inline' class in cell links
2018-10-12 23:29:25 +02:00
David Levin
b64fc4f0a1
Fix y-axis ticks
2018-10-12 13:39:38 -07:00
David Levin
564e4cfd66
change reverse line chart zindex and remove decinmals from yaxis ticks
2018-10-12 09:08:57 -07:00
Jonathan Belcher
96f2024305
Round average orders in order summary ( https://github.com/woocommerce/woocommerce-admin/pull/515 )
2018-10-12 11:02:58 -04:00
Jonathan Belcher
e93fed650e
Merge pull request woocommerce/woocommerce-admin#504 from woocommerce/add/410-order-summary-numbers
...
Adds Orders Summary and Orders Graph
2018-10-12 10:18:56 -04:00
Paul Sealock
178135eea5
i18n: Advanced Filters strings
2018-10-12 16:58:35 +13:00
Paul Sealock
76eb49125e
Search: Add inline tags
2018-10-12 11:34:08 +13:00
Kelly Dwan
cea79c3b96
Update variable name
2018-10-11 15:43:56 -04:00
Kelly Dwan
6df6594ee1
DatePicker: update selected tab code to reflect update to TabPanel component
2018-10-11 15:32:02 -04:00
Jonathan Belcher
da8ad49762
Re-add Render Table
2018-10-11 15:30:43 -04:00
Jonathan Belcher
27fa0bfc85
Follow new summary numbers pattern
2018-10-11 15:27:29 -04:00
Jonathan Belcher
e3224a5abb
Merge branch 'master' into add/410-order-summary-numbers
2018-10-11 14:45:35 -04:00
Justin Shreve
c340a808a7
Break out summary number logic from chart/table ( https://github.com/woocommerce/woocommerce-admin/pull/510 )
2018-10-11 14:45:01 -04:00
Kelly Dwan
3d297a8f5c
Reports: Update summary number label based on selected compare interval ( https://github.com/woocommerce/woocommerce-admin/pull/506 )
2018-10-11 13:46:56 -04:00
Jonathan Belcher
f8468ddcf4
Merge pull request woocommerce/woocommerce-admin#497 from woocommerce/update/refactor-out-jquery
...
Refactors code to vanilla js and removes jQuery
2018-10-11 13:19:55 -04:00
Jonathan Belcher
b65cddd9c4
Merge pull request woocommerce/woocommerce-admin#498 from woocommerce/add/github-templates
...
Adds GitHub templates to ensure good issue and PR descriptions
2018-10-11 13:18:59 -04:00
Jonathan Belcher
26300fb953
Adds graphs
2018-10-11 13:07:59 -04:00
Jonathan Belcher
aa56621ab8
Get Order Summary working with API
2018-10-11 12:00:06 -04:00
Jonathan Belcher
0a562e6e37
Merge Commit
2018-10-11 11:43:25 -04:00
Albert Juhé Lluveras
9623898acd
Add Orders table ( https://github.com/woocommerce/woocommerce-admin/pull/493 )
...
* Create Orders table
* Remove getOrderIds selector
* Create an OrdersReportTable component
* Alphabetically order extracted props
* Fix JS error for missing coupon properties
* Add TODO comment for missing customer type
* Add calculation for net revenue
* Align all table cells but identifier to the right
* Remove temporary text
* Improve cell link inline CSS
* Count several purchases of the same product as items sold
* Add TODO message to coupon link
* Add Download to Orders table
* Don't use camelCase for table column keys
* Cleanup
* Make products and coupons columns non-sortable
* Create renderList method to simplify products/coupons list creation
* Display correct currency for each order
* RTL table fixes
* Fix: products and coupons columns showing 'false' in CSV download
* Minor fixes
* Rename 'isIdentifier' with 'isLeftAligned' in table columns
* Remove toggleStatus method
2018-10-11 10:30:51 +02:00
Jonathan Belcher
8ee2a58fb3
Adds Order Summary Numbers
2018-10-10 16:29:12 -04:00
Jonathan Belcher
3d1fc63373
Merge pull request woocommerce/woocommerce-admin#499 from woocommerce/fix/407-focus-state
...
Fixes focus state on DatePicker to match Gutenberg
2018-10-10 16:22:39 -04:00
Jonathan Belcher
3939bc7eb1
Move colours to colour stylesheet
2018-10-10 14:06:13 -04:00
Jonathan Belcher
9d337ce8e0
Add all instances of menu to toggle current state.
2018-10-10 12:06:32 -04:00
Jonathan Belcher
1ef9d132dd
Update PR template to be a little simpler
2018-10-10 11:57:44 -04:00
Kelly Dwan
dc5967197d
Add a default value to `labels` ( https://github.com/woocommerce/woocommerce-admin/pull/500 )
...
Fixes an error where labels is undefined if nothing is passed through
2018-10-10 10:59:22 -04:00
Jonathan Belcher
baead063c6
Fixes focus state on DatePicker to match Gutenberg
2018-10-10 10:48:37 -04:00
Jonathan Belcher
136a53dd0f
Remove link to P2
2018-10-10 10:45:31 -04:00
Jonathan Belcher
98a3d68820
Adds GitHub templates to ensure good issue and PR descriptions
2018-10-10 10:33:38 -04:00
Jonathan Belcher
a947d304dc
Reafctors code to vanila js and removes jQuery
2018-10-10 10:24:57 -04:00
Kelly Dwan
1351997eef
TableCard: Add search to table header ( https://github.com/woocommerce/woocommerce-admin/pull/495 )
...
* Add label override options to TableCard
* Add search input to the tableHeader
* Style search in table header
2018-10-10 10:12:00 -04:00
Justin Shreve
5a6749b15c
Make tabular data independent of chart interval ( https://github.com/woocommerce/woocommerce-admin/pull/483 )
...
* Make Tabular data independent of Chart Interval
* Make table and summary numbers placeholders independent of chart
2018-10-10 09:57:16 -04:00
Ajit Bohra
8995333e6b
Readme replace withAPIData with apiFetch
2018-10-05 19:23:21 +05:30
Claudio Sanches
9dbc59d095
Merge pull request woocommerce/woocommerce-admin#464 from woocommerce/add-notice-tables
...
Admin Notes: Add CRUD and Data Stores
2018-09-28 12:38:26 -03:00
Claudio Sanches
c7ba8bd2c3
Fixed textdomain
2018-09-28 12:34:33 -03:00
Claudio Sanches
c7b92ad60b
Update i18n script
2018-09-28 12:30:06 -03:00
Claudio Sanches
55f05aabe7
Included i18n:check script into package.json
2018-09-28 12:26:30 -03:00
Claudio Sanches
25872407aa
Removed addtextdomain for grunt
2018-09-28 12:23:19 -03:00
David Levin
1178802ca0
Clean up SVG code
2018-09-27 15:41:12 -07:00
David Levin
b29dbdb073
Update empty content SVG
2018-09-27 15:33:31 -07:00
Allen Snook
e5e175cfab
Fix static visibility, textdomain and use of JSON_FORCE_OBJECT
2018-09-27 10:48:25 -07:00
Claudio Sanches
986f4a8289
Updated pre-commit hook to execute PHP Lint and PHP_CodeSniffer
2018-09-27 13:57:04 -03:00
Allen Snook
db7456ae55
Add comments for the types and statuses
2018-09-27 09:28:15 -07:00
Allen Snook
cb7a5b3607
PHPCS all the things
2018-09-27 09:28:15 -07:00
Allen Snook
677c205ad2
Remove interface for this PR (actions will be hooked up later);
...
persist actions given during creation through to the db
2018-09-27 09:28:15 -07:00
Allen Snook
9f7ffa08a9
Make types and statuses easier for plugins to access
2018-09-27 09:28:15 -07:00
Allen Snook
a930293c43
Improve prop validation, especially date handling
2018-09-27 09:28:15 -07:00
Allen Snook
10c01a6165
Change data store slug to singular to match the rest of WC;
...
change dismissible note to update type;
remove unwanted version phpdoc
2018-09-27 09:28:15 -07:00
Allen Snook
4cca18bd30
Remove REST file from this commit (it will go in a separate PR)
2018-09-27 09:28:15 -07:00
Allen Snook
4d8dfea84c
Break out separate note and notes classes for clarity
2018-09-27 09:28:14 -07:00
Allen Snook
45eeb57b62
Add CRUD and Data Stores for Admin Notes
2018-09-27 09:28:14 -07:00
David Levin
83d871cf6f
Merge pull request woocommerce/woocommerce-admin#487 from woocommerce/update/chart-inerval-select-alignment
...
Update chart interval select alignment
2018-09-27 09:07:49 -07:00
Claudio Sanches
c0eadbaabb
Merge branch 'master' into feature/438
2018-09-27 12:39:57 -03:00
Claudio Sanches
d8503ef720
Merge pull request woocommerce/woocommerce-admin#462 from woocommerce/fix/440
...
Added PHP tests
2018-09-27 12:31:36 -03:00
Claudio Sanches
d672a65e1f
Merge pull request woocommerce/woocommerce-admin#461 from woocommerce/fix/453
...
Casted numeric values to floats before performing arithmetic operations.
2018-09-27 12:29:29 -03:00
David Levin
aeac3a2e30
Update chart interval select alignment
2018-09-26 15:15:16 -07:00
Kelly Dwan
468bde5147
Components – Search: Pass through aria label props ( https://github.com/woocommerce/woocommerce-admin/pull/484 )
...
* Pass aria label props through to search input
* Update the search example in devdocs
2018-09-26 13:13:28 -04:00
Kelly Dwan
5dc1addbf8
Build: Update i18n generation to combine JS + PHP translations ( https://github.com/woocommerce/woocommerce-admin/pull/481 )
...
* Generate the PHP translations file from the POT file after building the project
* Remove unused tasks
* Update i18n task to generate JS pot file, then convert that to PHP, then run grunt php pot generation
* Update docs
* Pipe babel file output to null, not entire output of command
Helps with debugging the babel command itself
2018-09-26 10:23:55 -04:00
Albert Juhé Lluveras
3e3dbad408
Update chart header layout according to design ( https://github.com/woocommerce/woocommerce-admin/pull/476 )
...
* Update chart header layout according to design
* Add RTL support
2018-09-26 14:17:45 +02:00
Albert Juhé Lluveras
80449c6c57
Make tooltip position be relative to the hovered elements instead of the mouse ( https://github.com/woocommerce/woocommerce-admin/pull/471 )
...
* Make tooltip position be relative to the hovered elements instead of the mouse
* Set tooltip margin to 24px to match CSS 'gap-large'
* When focusing a bar with value 0, set the target node to its parent so the tooltip is displayed next to it
* Make sure 'mouseout' event is not triggered when hover the tooltip box
* Make sure the tooltip is never rendered too much to the left/top of the chart
* Get the size of the tooltip box from the DOM when it's available
* Minor fixes
2018-09-26 14:17:29 +02:00
Albert Juhé Lluveras
5649b6b1e2
Use 'H' component for chart header ( https://github.com/woocommerce/woocommerce-admin/pull/480 )
...
* Use 'H' component for chart header
* Set 'Section' component below the 'H'
2018-09-26 09:20:29 +02:00
Kelly Dwan
e2aa414f4f
Add `cross-env` to allow building on Windows ( https://github.com/woocommerce/woocommerce-admin/pull/473 )
2018-09-25 16:50:51 -04:00
Albert Juhé Lluveras
29cfde2ddd
Fix activity panel tabs misaligned in Chrome and Safari ( https://github.com/woocommerce/woocommerce-admin/pull/478 )
2018-09-25 22:34:30 +02:00
Albert Juhé Lluveras
0088581fcb
Fix: chart legend was not visible at 1340px width ( https://github.com/woocommerce/woocommerce-admin/pull/472 )
2018-09-25 20:19:32 +02:00
Albert Juhé Lluveras
1900bb0917
Improve charts accessibility ( https://github.com/woocommerce/woocommerce-admin/pull/421 )
...
* Add aria roles to chart elements
* Make individual points (in line charts) and individual bar (in bar charts) focusable
* Remove methods which are never used
* Reduce the number of parameters required by functions that display/hide the tooltip
* Use tooltipFormat for accessibility dates
* Rename 'formatVoiceDate' function to 'getTooltipDate'
* Use string literals for aria-label
* Remove table role which was no longer needed
* Add aria-hidden to X-axis in charts
* Remove 'key' from points/bar aria-label in charts
* Set different ARIA properties depending on chart mode (time or item comparison)
* Label should default to an empty string instead of a 0
* Use date format from params instead of hardcoded
2018-09-25 11:42:08 +02:00
Paul Sealock
58195911a7
AdvancedFilters: Add request for orders statuses
2018-09-25 11:39:47 +12:00
Peter Fabian
28c09248df
Added remaining test files.
2018-09-24 19:46:37 +02:00
Peter Fabian
d997e280b2
Added missing data update triggers.
2018-09-24 19:16:10 +02:00
Peter Fabian
e318463dd5
Updated the before_script instructions to correctly install node and print out version.
2018-09-24 18:50:00 +02:00
Peter Fabian
ef72b7af2c
Use node version 8.
2018-09-24 18:25:06 +02:00
Peter Fabian
c368e44ff3
Updated language domain.
2018-09-24 17:56:43 +02:00
Peter Fabian
cb50f79131
Plugin installation should not be needed in bootstrap, as it happens in the installation script.
2018-09-24 17:49:21 +02:00
Peter Fabian
eed4b424e6
Updated language domain.
2018-09-24 17:46:41 +02:00
Kelly Dwan
62276fb361
Add visual component docs from markdown examples ( https://github.com/woocommerce/woocommerce-admin/pull/470 )
...
* Remove content from README, leaving only the example
* Rename edited READMEs
* Add a devdocs page rendering from markdown example files
* Add more components to devdocs
* Add the rest of the component examples
* Add navigation to single components, show generated readme on single component view
* Style devdocs like calypso
* Split devdocs into two columns at “desktop” sizes
* Update segmented selection example
* Update link
* Add header to avoid notices error
2018-09-24 11:36:35 -04:00
Peter Fabian
670436ac13
PHPCS fixes.
2018-09-24 17:24:08 +02:00
Kelly Dwan
f5dd2559db
Documentation: Move topic READMEs into docs for discoverability ( https://github.com/woocommerce/woocommerce-admin/pull/469 )
...
* Move header/row documentation into the component, so it can be rendered in the external docs
* Move project READMEs into docs folder for exposure in docs site
* Regenerate docs, generate component folder sidebar with component list
* Update format of CSS docs
2018-09-24 11:22:14 -04:00
Peter Fabian
dc858b522a
Update dependencies installation for testing, corrected db prefix.
2018-09-24 16:26:04 +02:00
Albert Juhé Lluveras
31289e8c82
Transpose and update format of chart tooltip dates ( https://github.com/woocommerce/woocommerce-admin/pull/467 )
...
* Fix dates transposed in revenue chart
* Update date format in revenue chart tooltip labels
* Load point label date formats from lib/date
* Pass point label format as a prop to the chart component
2018-09-24 13:11:18 +02:00
Peter Fabian
8f1546fdf7
Updated db prefix.
2018-09-21 21:08:10 +02:00
Peter Fabian
e956afdeb7
PHPCS updates.
2018-09-21 20:51:41 +02:00
Peter Fabian
f2cb1e6a85
Removed duplicate WooCommerce installation.
2018-09-21 19:34:34 +02:00
Peter Fabian
6f40133765
Travis test 13.
2018-09-21 19:23:37 +02:00
Peter Fabian
81db727153
Travis test 12.
2018-09-21 19:16:05 +02:00
Claudio Sanches
0136912a06
Added grunt-checktextdomain
2018-09-21 14:13:28 -03:00
Peter Fabian
e51b578024
Travis test 11.
2018-09-21 19:07:46 +02:00
Claudio Sanches
f8e62576a0
Inclcude composer dependencies
2018-09-21 14:06:16 -03:00
Claudio Sanches
6a8ecd0d54
Updated PHPCS rules
2018-09-21 13:56:45 -03:00
Kelly Dwan
6d2eec1c12
Update `layout/*` file structure ( https://github.com/woocommerce/woocommerce-admin/pull/463 )
...
* Move section, header, and activity panel out of layout folder
* Update file soures
* Move documentation into component, and update generation script to handle the duplicated exports
2018-09-21 11:19:05 -04:00
Peter Fabian
5be0bdad97
Travis test 10.
2018-09-21 17:07:03 +02:00
Albert Juhé Lluveras
ccde0effe2
Remove opacity property from chart tooltip title styles ( https://github.com/woocommerce/woocommerce-admin/pull/466 )
2018-09-21 17:03:06 +02:00
Peter Fabian
6546df1506
Travis test 9.
2018-09-21 17:01:04 +02:00
Peter Fabian
cfea428209
Travis test 8.
2018-09-21 16:51:22 +02:00
Peter Fabian
6e6b028554
Travis test 7.
2018-09-21 16:37:02 +02:00
Peter Fabian
a5dcd77f4b
Travis test 6.
2018-09-21 16:15:43 +02:00
Peter Fabian
aa2eec9b19
Travis test 5.
2018-09-21 15:58:17 +02:00
Peter Fabian
a2de6b6aa5
Travis test 4.
2018-09-21 15:47:59 +02:00
Peter Fabian
6c76e0f144
Added Gutenberg installation to Travis.
2018-09-21 15:40:45 +02:00
Peter Fabian
55dffc32ae
Added /vendor/ to gitignore.
2018-09-21 15:34:26 +02:00
Peter Fabian
283f3dbd9f
Travis test 3.
2018-09-21 15:32:42 +02:00
Peter Fabian
ec00be9f15
Travis test 2.
2018-09-21 15:16:53 +02:00
Peter Fabian
75b01556ab
Travis test 1.
2018-09-21 15:06:16 +02:00
Peter Fabian
e0757beafc
Included product lookup in reports regeneration tool.
2018-09-21 12:24:15 +02:00
Peter Fabian
5aa3aae58a
The installation code should not run on each plugin load, only when activated.
2018-09-21 12:14:08 +02:00
Peter Fabian
aa8a09adbe
Merge branch 'master' into fix/440
2018-09-21 10:59:47 +02:00
Peter Fabian
8f2af2e6d8
Corrected hour representation in tests.
2018-09-21 10:37:39 +02:00
Peter Fabian
0b68f52832
Merge pull request woocommerce/woocommerce-admin#441 from woocommerce/fix/437
...
Use WooCommerce's database prefix
2018-09-21 10:01:53 +02:00
Paul Sealock
a299aad167
Coupons: add config, autocompleter
2018-09-21 11:54:22 +12:00
Albert Juhé Lluveras
a18a9cd89a
Update tooltip title and labels in standard graphs ( https://github.com/woocommerce/woocommerce-admin/pull/458 )
...
* Allow adding a label for each specific point in a chart
* Update test fixtures
* Update README with new data format
* Simplify getPreviousDate function code
* Update tooltip dates format
* Add new prop to charts 'tooltipTitle' to override the date tooltip title
* Fix totals not being calculated in charts legend
* Fix JS error when hiding lines in chart
* Fix a couple of issues with chart README
* Add quotes around prop names
* Remove unused variable
* Remove colon after tooltip label
2018-09-20 16:28:22 +02:00
Peter Fabian
880d99986f
Fixed interval boundary function arguments in case no intervals are being added.
2018-09-20 16:23:19 +02:00
Albert Juhé Lluveras
18be372cad
Increase contrast of the tooltip title color ( https://github.com/woocommerce/woocommerce-admin/pull/460 )
2018-09-20 16:21:21 +02:00
Albert Juhé Lluveras
a877f45471
Change default date format for chart tooltips ( https://github.com/woocommerce/woocommerce-admin/pull/459 )
2018-09-20 16:21:03 +02:00
Peter Fabian
9ccb1e2124
Added revenue stats tests.
2018-09-20 16:20:50 +02:00
Peter Fabian
389a2182a1
Initial setup for unit tests.
2018-09-20 16:20:04 +02:00
Peter Fabian
e28f8255c3
Casted numeric values to floats before performing arithmetic operations.
2018-09-20 16:03:27 +02:00
Paul Sealock
a27134e1a6
Merge pull request woocommerce/woocommerce-admin#294 from woocommerce/fix/dropdown-resize
...
Datepicker: resize dropdown on tab switch
2018-09-20 06:38:03 +12:00
Timmy Crawford
b13d0bd2ac
Tracks: Record page views on route changes. ( https://github.com/woocommerce/woocommerce-admin/pull/452 )
...
* Tracks: Record page views on route changes.
* adjust regex.
2018-09-19 11:23:05 -07:00
Timmy Crawford
daa3bdcf3c
Docs: Remove REST API feature branch requirement. ( https://github.com/woocommerce/woocommerce-admin/pull/445 )
...
* Remove REST API feature branch requirement.
* npm run docs
2018-09-19 10:55:44 -07:00
Kelly Dwan
60f7c99753
Update label config to provide more specific labeling to each filter ( https://github.com/woocommerce/woocommerce-admin/pull/432 )
2018-09-19 13:23:57 -04:00
Kelly Dwan
1c6fe0e970
Compare Filter: Wrap up compare card functionality ( https://github.com/woocommerce/woocommerce-admin/pull/431 )
...
* Disable compare button if less than 2 items are selected
* Add a placeholder prop to the Search component
* Pass a placeholder label from filter configs for Search
* Add support for a label in Search
* Add Clear All link to reset comparison card
* Add a label when compare button is disabled
* Abstract the conditional tooltip/disabled button logic to a new component
* Add helpText as a customizable label
* Add icon to the search field
* Remove the parameter from query by passing in undefined
2018-09-19 13:16:52 -04:00
Albert Juhé Lluveras
5e87febf04
Chart Legend: Update checkbox styles to outline when unchecked ( https://github.com/woocommerce/woocommerce-admin/pull/426 )
...
Chart Legend: Update checkbox styles to outline when unchecked and add focus state
2018-09-19 16:41:13 +02:00
David Levin
b487642a65
Merge pull request woocommerce/woocommerce-admin#435 from woocommerce/update/ellipsis-menu-item-padding
...
Minor padding tweaks to ellipsis menu items
2018-09-18 17:52:56 -07:00
Paul Sealock
2fbfd64525
check to make sure method exists
2018-09-19 10:19:19 +12:00
Paul Sealock
cb85f4878f
Merge pull request woocommerce/woocommerce-admin#425 from woocommerce/add/advanced-filters-match-param
...
Advanced Filters: add match param to url
2018-09-19 10:03:06 +12:00
Kelly Dwan
cd58cc78ac
Build: Update packages ( https://github.com/woocommerce/woocommerce-admin/pull/434 )
...
* Update packages to latest versions
* Update snapshot to match updated jest format
* Add missing packages
* Pin docsify-cli to GitHub commit with security fix
* Update engines settings
* Update packages
Again, some things are already out of date from last week
* Regenerate docs
2018-09-18 17:37:57 -04:00
Claudio Sanches
76d5417e2b
Use WooCommerce's database prefi
...
Fixes woocommerce/woocommerce-admin#437
2018-09-18 17:03:42 -03:00
Claudio Sanches
da4a2813b8
Merge pull request woocommerce/woocommerce-admin#420 from woocommerce/fix/402_403
...
Added reporting REST API extensions to wc-admin.
2018-09-18 16:42:26 -03:00
Claudio Sanches
661b5d6ef7
Included docblocks
2018-09-18 16:41:45 -03:00
David Levin
12398f9028
Minor padding tweaks to ellipsis menu items
2018-09-18 10:52:37 -07:00
Albert Juhé Lluveras
d5657c879d
Make buttons to switch between bar and line chart accessible ( https://github.com/woocommerce/woocommerce-admin/pull/422 )
...
* Make buttons to switch between bar and line chart accessible
* Use better ARIA roles for line/bar chart buttons
2018-09-18 16:53:55 +02:00
Albert Juhé Lluveras
9d5cd880dd
Don't allow unselecting all items in chart legends ( https://github.com/woocommerce/woocommerce-admin/pull/427 )
...
* Don't allow unselecting all items in chart legends
* Add correct color to chart legend labels
* Add tests for chart legend enable/disable items logic
2018-09-18 16:53:30 +02:00
Kelly Dwan
f2e0165d5f
Component – Table: Add compare checkboxes ( https://github.com/woocommerce/woocommerce-admin/pull/389 )
...
* Switch to withInstanceId higher order component
* Add checkboxes to the rows in a TableCard, if a compareBy prop is set
* Add Compare button to update query param
* Populate the selected rows from the query parameter
* Update compare filter display & selected table rows when the query changes
* Skip displaying tags if the label is null/undefined
* Style table header with compare button, search placeholder
* Prevent setting just an ID list as the state, as this will wipe out already-fetched tag labels
* Update docs
* Shortcut out of fetching tag labels if the query is empty
2018-09-18 10:12:13 -04:00
Peter Fabian
0a669544d6
Added code from feature/20777, pending tests.
2018-09-18 13:32:25 +02:00
Peter Fabian
b8732e157e
Added code from feature/couponordertable.
2018-09-18 13:29:58 +02:00
Peter Fabian
aaef322e00
Added code from feature/20778, tests pending.
2018-09-18 13:27:34 +02:00
Peter Fabian
6cddb51786
Added code from feature/20770.
2018-09-18 13:24:11 +02:00
Peter Fabian
a16933143f
Added code from feature/20781, tests pending.
2018-09-18 13:20:42 +02:00
Peter Fabian
b556d55ca6
- Removed duplicate class.
...
- Overridden REST API endpoints via filters.
- Updated data store class prefixes.
- Removed debugging echo.
2018-09-18 12:24:43 +02:00
Paul Sealock
d0dc5f2f88
Advanced Filters: add match param to url
2018-09-18 14:15:41 +12:00
Peter Fabian
9ac635fd42
Updated prefixes for wc-admin plugin.
2018-09-17 21:13:19 +02:00
Peter Fabian
429803cc25
Updated prefix for stats db table.
2018-09-17 21:01:44 +02:00
Peter Fabian
1614d482cc
Postponed class init only after registering post types.
2018-09-17 20:56:04 +02:00
Peter Fabian
7b2111ec05
Added missing return statement.
2018-09-17 20:46:55 +02:00
Peter Fabian
1b71184f23
Updated path to background process class.
2018-09-17 20:36:29 +02:00
Peter Fabian
bd714210ea
Added required includes.
2018-09-17 20:36:03 +02:00
Peter Fabian
405703c17a
Added missing interface.
2018-09-17 20:35:23 +02:00
Peter Fabian
aa4035adb9
Added WC_Admin prefix for query classes where it was missing.
2018-09-17 20:20:34 +02:00
Peter Fabian
e692c45c87
Added missing path separator.
2018-09-17 20:20:00 +02:00
Peter Fabian
a92a78ce9d
Fixed order of initialization so that classes are loaded in correct order.
2018-09-17 20:19:36 +02:00
Peter Fabian
a39fc58da2
Added missing vars.
2018-09-17 19:53:57 +02:00
Kelly Dwan
7ecd6d160b
Add mock product report, helper functions ( https://github.com/woocommerce/woocommerce-admin/pull/387 )
...
* Add a mock table to Products report
* Move onQueryChange to a helper function in nav-utils
* Add function to parse out ID lists from a query parameter
* Add a default value
Prevents undefined query params from erroring on the `.split`
* Use numberFormat rather than forcing type conversion, fix table header name
* Fix duplicate export caused by merge conflict
2018-09-17 12:50:20 -04:00
Timmy Crawford
e541d4032f
Tracks: Add basic util methods for tracks. ( https://github.com/woocommerce/woocommerce-admin/pull/397 )
2018-09-17 09:42:04 -07:00
Peter Fabian
bd295af793
PHPCS (require_once is not a function).
2018-09-17 16:54:31 +02:00
Peter Fabian
d2ac6cdbe1
Added reporting REST API extensions to wc-admin.
2018-09-17 16:32:03 +02:00
Robert Elliott
e79a4b9025
remove he package and rename uniqueDates to ticks
2018-09-17 11:07:11 +02:00
Robert Elliott
ddc2645bef
check if second x axis tick required
2018-09-14 10:49:07 -07:00
Robert Elliott
ac8952d7ec
Component - Chart: factorial spacing of x-axis ticks ( https://github.com/woocommerce/woocommerce-admin/pull/398 )
...
* remove circles on more than 50 x points
* x-axis interval spacing
* factorial spacing of x-axis ticks
* limit pipes too
* catch recursion infinity issue and add layout
2018-09-14 10:43:53 -07:00
Timmy Crawford
8eb0906287
Chart: Add styling needed to not be wrapped by card. ( https://github.com/woocommerce/woocommerce-admin/pull/408 )
...
* Chart: Add styling needed to not be wrapped by card.
* Add negative top margin back
* Fix placeholder css.
2018-09-14 09:17:39 -07:00
Albert Juhé Lluveras
70bb1d28c8
IE11: fix dates overlapping in Custom filter ( https://github.com/woocommerce/woocommerce-admin/pull/411 )
2018-09-14 17:35:04 +02:00
Timmy Crawford
e4fd525cb4
Top Products: Display Product Name. ( https://github.com/woocommerce/woocommerce-admin/pull/406 )
...
* Top Products: Display Product Name.
* Fix tests.
2018-09-14 08:21:21 -07:00
Albert Juhé Lluveras
5669eb4b1a
Make it possible to navigate charts with the keyboard ( https://github.com/woocommerce/woocommerce-admin/pull/399 )
...
* Hide tooltip when mouse leaves chart bars
* Allow focus on chart lines/bars and show tooltip
* Extract position calculation to a function
* Make columns focusable instead of individual points in line charts
2018-09-14 14:57:09 +02:00
Robert Elliott
b5b84fe72c
Merge pull request woocommerce/woocommerce-admin#393 from woocommerce/fix/rev-report-chart-date-parser
...
Revenue Report: align date formats for the chart
2018-09-14 12:37:16 +02:00
Robert Elliott
a08cb0dd70
remove d
2018-09-14 11:57:50 +02:00
Robert Elliott
45089c1602
2nd x-axis format
2018-09-14 11:53:54 +02:00
Albert Juhé Lluveras
b0c489bab1
IE11: avoid reviews date overlapping product name ( https://github.com/woocommerce/woocommerce-admin/pull/400 )
2018-09-14 09:19:36 +02:00
Paul Sealock
b125c75eef
Merge pull request woocommerce/woocommerce-admin#386 from woocommerce/add/advanced-filters-search-getLabels
...
Advanced Filters: Add api fetch for Search results
2018-09-14 11:17:59 +12:00
Paul Sealock
9629a46da1
update to latest GB changes
2018-09-14 11:16:19 +12:00
Paul Sealock
5a2ba2c9f2
Merge pull request woocommerce/woocommerce-admin#396 from woocommerce/fix/popover-positioning
...
Dropdown: fix positioning
2018-09-14 10:18:44 +12:00
Paul Sealock
842c23201e
AdvancedFilters: Update Search usage to use 'getLabels' from config
2018-09-14 10:17:35 +12:00
Albert Juhé Lluveras
48ed6fa568
Make Top Selling Products table to have the same height in all states ( https://github.com/woocommerce/woocommerce-admin/pull/394 )
...
* Make table font-size accessible
* Make TopSellingProducts table load only five products
* Make empty message on TopSellingProducts table the same height than the table
* Update breaking test
* Use font-size mixin in table items/header
2018-09-13 11:05:26 +02:00
Paul Sealock
713dd242c7
Datepicker: resize dropdown on tab switch
2018-09-13 14:47:48 +12:00
Paul Sealock
d5546e0858
Dropdown: fix positioning
2018-09-13 11:44:50 +12:00
Paul Sealock
361b6de834
Advanced Filters: Filter button improvements
2018-09-13 11:07:53 +12:00
Robert Elliott
abe27333ae
remove uncommented style
2018-09-12 15:24:45 +02:00
Albert Juhé Lluveras
ac044b8720
Add empty state message to Top Selling Products card ( https://github.com/woocommerce/woocommerce-admin/pull/365 )
2018-09-12 14:09:53 +02:00
Robert Elliott
b276750955
html encoder for currency symbols
2018-09-12 13:16:44 +02:00
Robert Elliott
a7ed5f0c85
html encoder for currency symbols
2018-09-12 13:16:36 +02:00
Robert Elliott
29113cffe8
align date formats for the chart
2018-09-12 09:22:08 +02:00
Paul Sealock
925140fc78
Merge pull request woocommerce/woocommerce-admin#349 from woocommerce/add/advanced-filters-url-support
...
Advanced Filters: Add url support
2018-09-12 14:31:13 +12:00
Justin Shreve
baf44d030f
Add interval handling to the revenue report.
2018-09-12 12:28:25 +12:00
Kelly Dwan
ed1b847067
Fix Gutenberg 3.7 compatibility: Remove APIProvider ( https://github.com/woocommerce/woocommerce-admin/pull/390 )
...
* Remove APIProvider
Unused in the project, and deprecated in gutenberg
* Remove wp-api dependency
2018-09-11 15:48:43 -04:00
Robert Elliott
32285df636
package-lock bump
2018-09-11 13:16:14 +02:00
Timmy Crawford
b184aa2324
Update gridicons to v3.1.1
2018-09-11 13:10:44 +02:00
Robert Elliott
4d155cd015
line and bar icon buttons
2018-09-11 13:10:36 +02:00
Albert Juhé Lluveras
ae8739d63f
Add required polyfills so react-dates works in Internet Explorer 11 ( https://github.com/woocommerce/woocommerce-admin/pull/356 )
...
react-dates developers recommend using airbnb-browser-shims, but doing some
testing I found loading the required polyfills individually instead of the
entire Airbnb Browser Shims package produces smaller builds.
2018-09-11 09:28:50 +02:00
Albert Juhé Lluveras
8932f99038
Add fallback gutter for browsers that don't support CSS Custom properties ( https://github.com/woocommerce/woocommerce-admin/pull/372 )
2018-09-11 09:27:13 +02:00
Paul Sealock
3e7bed27cc
Search: move selected from state to props
2018-09-11 16:18:10 +12:00
Robert Elliott
e38284eb96
Merge pull request woocommerce/woocommerce-admin#381 from woocommerce/add/chart-legend-order
...
Chart Component: remove chart legend ordering for layout=standard and color scales
2018-09-10 16:04:36 +02:00
Robert Elliott
65f9b7540b
Merge pull request woocommerce/woocommerce-admin#380 from woocommerce/add/chart-legend-layout
...
Chart Component: standard vs comparison legend layout
2018-09-10 16:03:01 +02:00
Robert Elliott
4242a64f30
add smallcolorscale fractions for chromatic scaled colors
2018-09-10 15:59:14 +02:00
Kelly Dwan
eee638b12b
Component – Filters: Add "comparison" card ( https://github.com/woocommerce/woocommerce-admin/pull/368 )
...
* Add a new component with product search for the compare card
* Get product names from API when passed through URL
* Abstract out the products-related code into filter settings
* Update filters to provide multiple comparisons
Alternative to the “Compare [dropdown]” approach
* Update documentation
* Wipe selected items when the compare-type is updated
* Update labels & order of items in filter dropdown
* Add getLabels prop & description
2018-09-10 09:59:14 -04:00
Robert Elliott
3fdd9164c8
only sort on totals for layout=comparison & add dateParser prop for date formatting
2018-09-10 14:57:36 +02:00
Robert Elliott
bf6a647c79
standard vs comparison legend layout
2018-09-10 13:32:13 +02:00
Kelly Dwan
cbce093df1
Add “product category” autocompleter ( https://github.com/woocommerce/woocommerce-admin/pull/367 )
2018-09-07 15:39:04 -04:00
Albert Juhé Lluveras
069fcb7fe6
IE11: fix Card layout broken because it was using CSS grid ( https://github.com/woocommerce/woocommerce-admin/pull/370 )
2018-09-07 17:52:51 +02:00
claudiulodro
905ced2193
Update version for release
2018-09-07 08:51:45 -07:00
Timmy Crawford
2ad6129830
Add w.js when wc_tracker is enabled. ( https://github.com/woocommerce/woocommerce-admin/pull/369 )
2018-09-07 07:36:20 -07:00
Robert Elliott
74514a2b48
Merge pull request woocommerce/woocommerce-admin#350 from woocommerce/fix/chart-design-feedback
...
Merging this.
@LevinMedia please continue to post additional issues or comments on the master thread woocommerce/woocommerce-admin#164
2018-09-07 14:54:58 +02:00
Robert Elliott
91a8a9eec3
improve jsdoc and remove Math.round()
2018-09-07 14:48:07 +02:00
Robert Elliott
1ed72ede25
colour -> color
2018-09-07 14:45:29 +02:00
Robert Elliott
8829498466
set d3 local and update number format
2018-09-07 14:39:35 +02:00
Robert Elliott
9e4062c51f
set d3 local and update number format
2018-09-07 14:39:31 +02:00
Robert Elliott
90cb4ba6c8
fix vertical line on hover
2018-09-07 12:41:40 +02:00
Robert Elliott
a8449b08c0
left align y-axis text
2018-09-07 12:28:02 +02:00
Albert Juhé Lluveras
f12f431a2b
Fix Date filters grid not displaying correctly in IE11 ( https://github.com/woocommerce/woocommerce-admin/pull/366 )
2018-09-07 11:43:52 +02:00
Robert Elliott
233c7755f7
hover confusion
2018-09-07 11:21:52 +02:00
claudiulodro
cb2e63f130
Merge remote-tracking branch 'origin/fix/106-wip' into HEAD
2018-09-06 11:48:37 -07:00
claudiulodro
30aa4814e6
Fix no products found bug in product search
2018-09-06 11:47:51 -07:00
Tiago Noronha
37a7a0ca6c
Fade padding fix
2018-09-06 18:53:36 +01:00
claudiulodro
78d21584fa
Fix bugs in specific select
2018-09-06 09:58:55 -07:00
claudiulodro
dd0b7284e4
Fix bugs with sidebar info
2018-09-06 09:44:30 -07:00
claudiulodro
6d0167b356
Refactor single select
2018-09-06 09:31:05 -07:00
claudiulodro
5bebb96cfa
Refactor specific select screen
2018-09-06 09:29:17 -07:00
Robert Elliott
58efdd90c0
massaging y ticks and updating tests
2018-09-06 18:21:33 +02:00
Robert Elliott
709e5a2896
header legend hover styling
2018-09-06 18:21:33 +02:00
Robert Elliott
7dd2883f56
tooltip formatting
2018-09-06 18:21:31 +02:00
Robert Elliott
93aae38b8a
pipes, months, formatting
2018-09-06 18:15:08 +02:00
Robert Elliott
c11da940e2
if legend item unchecked no hover status
...
modified: client/components/chart/legend.js
modified: client/components/chart/style.scss
modified: package-lock.json
2018-09-06 18:15:08 +02:00
Robert Elliott
2df9b05b5f
Merge pull request woocommerce/woocommerce-admin#360 from woocommerce/add/chart-intervals
...
Chart Component: Add/chart intervals
2018-09-06 18:10:37 +02:00
Tiago Noronha
451a4722f5
Refactor category select
2018-09-06 17:03:36 +01:00
Robert Elliott
0f66375b88
updated from feedback
2018-09-06 17:58:24 +02:00
Tiago Noronha
cc05f947cd
Merge pull request woocommerce/woocommerce-blocks#109 from woocommerce/fix/106-attribute-select
...
Refactor attribute select
2018-09-06 16:42:23 +01:00
Tiago Noronha
7cca16abdd
Refactor attribute select
2018-09-06 16:40:50 +01:00
claudiulodro
914fa794af
Fix method name mismatch
2018-09-06 08:37:54 -07:00
claudiulodro
6d4c811949
Refactor sidebar info class
2018-09-06 08:21:56 -07:00
Albert Juhé Lluveras
090ecf3a8a
IE11: fix CSS grid in Summary ( https://github.com/woocommerce/woocommerce-admin/pull/353 )
...
* Fix Summary values not visible with IE11
* Fix Summary grid for IE11
* Move grid position mixin to _mixins file, so it can be used for other elements
* Remove set-grid-positions mixin and improve code understandability
2018-09-06 17:11:34 +02:00
Robert Elliott
fddeb2502c
exmple-hour update
2018-09-06 11:40:29 +02:00
Robert Elliott
0ad4b9a312
updated tests with latest date format
2018-09-06 11:12:03 +02:00
Robert Elliott
b73f2ba47d
updated README
2018-09-05 23:22:34 +02:00
Robert Elliott
964a43b674
x, y and tooltip formatting
2018-09-05 23:02:13 +02:00
claudiulodro
61d7a229ad
Refactor product preview api usage
2018-09-05 13:20:09 -07:00
Justin Shreve
251d9804ef
Remove test code/examples and disable the inbox activity panel. ( https://github.com/woocommerce/woocommerce-admin/pull/355 )
...
* Remove test code/examples and disable the inbox activity panel.
* Remove search example
2018-09-05 14:52:48 -04:00
Justin Shreve
898a82ca1d
Fix wp-admin navigation active state ( https://github.com/woocommerce/woocommerce-admin/pull/352 )
2018-09-05 14:37:26 -04:00
claudiulodro
6cde5409a1
Begin migration off withapidata
2018-09-05 11:30:46 -07:00
Justin Shreve
f5479e1c18
Add loading indicators, error state, and EmptyContent to the revenue report. ( #347 , woocommerce/woocommerce-admin#348 )
...
* Add loading indiciators for the revenue report.
* Improve accessibility, and fix up some documentation comments.
* Fix top border on mobile
* Add EmptyContent Component and revenue error/empty states. (https://github.com/woocommerce/woocommerce-admin/pull/348 )
* Add EmptyContent Component and revenue error/empty states.
* Move relative image handling to ImageAsset, combine secondary and primary action rendering, add some missing isRequired proptypes, add empty error handling.
* Handle PR Feedback: Clean up button css, set a default for illustration, fix deprecation typo, some code cleanup.
2018-09-05 12:45:49 -04:00
Albert Juhé Lluveras
9183756a70
Fix TopSellingProducts table not correctly loading data ( https://github.com/woocommerce/woocommerce-admin/pull/351 )
...
Update TopSellingProducts table API connection to correctly work
with the new selectors response format introduced in woocommerce/woocommerce-admin#316 .
2018-09-04 16:10:07 +02:00
Paul Sealock
ab97ed02c7
Search: move selected from state to props
2018-09-04 12:02:40 +12:00
Justin Shreve
4e2661f3f1
Connect the revenue report to the api ( https://github.com/woocommerce/woocommerce-admin/pull/316 )
2018-09-03 11:25:38 -04:00
Albert Juhé Lluveras
e94ae40d4d
Use native Array.isArray() instead of lodash function ( https://github.com/woocommerce/woocommerce-admin/pull/346 )
2018-09-03 17:09:09 +02:00
Albert Juhé Lluveras
71171ec80b
IE11: fix Acitvity Panel tab icons missing and wrong alignment ( https://github.com/woocommerce/woocommerce-admin/pull/345 )
2018-09-03 17:08:19 +02:00
Albert Juhé Lluveras
da2317f154
Add CSV download to Revenue table ( https://github.com/woocommerce/woocommerce-admin/pull/326 )
...
* Add CSV download to Revenue table
* Set revelant file name for revenue CSV file download
* Add package-lock.json
* Move CSV download logic inside /lib/
* Remove 'totals' from table CSV
* Check parameters are arrays in generateCSVDataFromTable
* Add @TODO comment about downloading large sets of data
2018-09-03 09:54:45 +02:00
Kelly Dwan
2ab7618447
Docs Project: Add markdown files, docsify to render site ( https://github.com/woocommerce/woocommerce-admin/pull/337 )
...
* Add generated docs to repo, add command to regenerate docs
* Add docsify to render markdown files & search from GitHub.io
* Add prop type description if it exists
This property is only filled in on descendent proptypes (items in a shape, for example)
* Vaguely woo-themed
* Tweak spacing in markdown file, add final newline to each file
2018-08-31 16:13:20 -04:00
Kelly Dwan
d36511479e
Docs Project: Add documentation parser + inline documentation ( https://github.com/woocommerce/woocommerce-admin/pull/336 )
...
* Switch all components to default exports
This ensures we can read all components for documentation generation (plus, standardizing is good)
* Add documentation to component file
* Fix table exports
* Move readme docs into inline docs
Includes updating new props, adding prop shapes
* Add doc-generation scripts to pull exported component docs into folder
* Remove key propType, causing react special-keys warning
* Fix proptype
* Update incorrect comment
* Remove template import, we can just use string concat
* Fix typo, update docs
2018-08-31 13:27:21 -04:00
Kelly Dwan
7711da472a
Docs Project: Component cleanup ( https://github.com/woocommerce/woocommerce-admin/pull/334 )
...
* Validate component with helper function
Fixes compat issue with react-docgen
* Switch all components to default exports
This ensures we can read all components for documentation generation (plus, standardizing is good)
* inValidDays -> invalidDays
Invalid is a single word, so by capitalization rules the V should be lowercase
* Export child-components of Chart
* Fix table exports
2018-08-31 13:19:13 -04:00
David Levin
4ee6becb6d
Merge pull request woocommerce/woocommerce-admin#335 from woocommerce/update/mobile-card-styles
...
Update Card Component Styles on Mobile
2018-08-31 07:55:35 -07:00
Albert Juhé Lluveras
3dcb1339b3
Create TablePlaceholder component to be used when table contents are loading ( https://github.com/woocommerce/woocommerce-admin/pull/338 )
2018-08-31 16:43:25 +02:00
David Levin
808c49fd4e
Merge pull request woocommerce/woocommerce-admin#332 from woocommerce/update/319-datepicker-design-details
...
updating datepicker styles
2018-08-30 16:33:07 -07:00
David Levin
ea672cdedb
update mobile card styles
2018-08-30 16:02:12 -07:00
Paul Sealock
89f5057d58
Hide react-dates container 1px
2018-08-31 09:53:25 +12:00
Paul Sealock
dea96a02c5
Merge pull request woocommerce/woocommerce-admin#325 from woocommerce/fix/popover-in-popover
...
DatePicker: Fix Error message positioning on non-mobile widths
2018-08-31 09:30:40 +12:00
Paul Sealock
4580fc453e
Merge pull request woocommerce/woocommerce-admin#324 from woocommerce/fix/invalid-date-error-msg
...
DaptePicker: fix erorr message popover
2018-08-31 09:29:23 +12:00
Paul Sealock
431caff91f
Datepicker: change Reset btn to default style
2018-08-30 11:07:34 +12:00
Paul Sealock
f48fdd2dea
Segmented-selection: remove focus outline in favor of inset box-shadow
2018-08-30 08:21:59 +12:00
David Levin
a44d94c7d5
updating datepicker styles
2018-08-29 09:11:35 -07:00
Albert Juhé Lluveras
52a0a9690c
Connect TopSellingProducts with the API ( https://github.com/woocommerce/woocommerce-admin/pull/323 )
...
* Connect Top Selling Products table to the API
* Add tests to TopSellingProducts
* Prepare TopSellingProducts component to render loading/error messages
2018-08-29 17:55:56 +02:00
Paul Sealock
f6ca6ad366
uncomment code
2018-08-29 16:05:01 +12:00
Paul Sealock
349f8e9d91
Datepicker: use negative margin on popover to avoid creating a new position context
2018-08-29 16:02:16 +12:00
Paul Sealock
cddb65813b
uncomment needed code
2018-08-29 15:03:55 +12:00
Paul Sealock
aae27050b4
set width expl
2018-08-29 15:03:20 +12:00
Paul Sealock
e137f7af60
DaptePicker: fix erorr message popover
2018-08-29 14:50:34 +12:00
Kelly Dwan
e19aff2169
Components: Add a search component based on Autocomplete ( https://github.com/woocommerce/woocommerce-admin/pull/322 )
...
* Add `Search` & `Tag` components
* Fork the Autocomplete component to support a single completer & input field
* Add results inline, not as popover
* Highlight search term in results list
* Check if the item is already selected
* Update docs
* Remove unused properties
* Remove temporary max-width
Once merged, we can tweak real styles
* Use stringifyQuery
2018-08-28 15:15:24 -04:00
Kelly Dwan
4e995590db
Store: Add product API + state handlers ( https://github.com/woocommerce/woocommerce-admin/pull/321 )
...
* Add product state
* Add products store tests
2018-08-28 14:43:26 -04:00
David Levin
c06c3b0cef
Merge pull request woocommerce/woocommerce-admin#318 from woocommerce/update/datepicker-styles-updates
...
Updates to presets / custom toggle and segmented selection
2018-08-23 12:15:59 -07:00
David Levin
c39e6f1edb
style updates per review
2018-08-23 11:21:04 -07:00
Kelly Dwan
d007105ec1
Animation mixin + add `prefers-reduced-motion` support to existing animations ( https://github.com/woocommerce/woocommerce-admin/pull/317 )
...
* Add mixin to control transform animation
* Add `prefers-reduced-motion` support to animations
* Fix duration variable
2018-08-23 13:47:27 -04:00
David Levin
c835432c88
Updates to segmented selection and presets / custom toggle
2018-08-22 19:07:19 -07:00
Kelly Dwan
4b30e78ae6
Filters: Remove `filterpaths` props ( https://github.com/woocommerce/woocommerce-admin/pull/315 )
...
* Filters: Remove filterPaths, add path as property to filters object
* Set a default path, so we only need to configure it for changed paths
* Fix nav & filter fetching for nested lists
* Add “go back” functionality to all subfilter lists, not only ones with components set
* Make label optional on component options
* Update documentation to remove mention of filterpaths
* Add documentation on the filters structure
2018-08-22 16:20:19 -04:00
Kelly Dwan
14e4aa11dd
Fix the summaryNumber display when in toggle-button state ( https://github.com/woocommerce/woocommerce-admin/pull/313 )
...
* Fix the summaryNumber display when in toggle-button state
* Fix right border
2018-08-22 14:08:48 -04:00
claudiulodro
66aa3b52a9
Merge remote-tracking branch 'origin/master' into HEAD
2018-08-22 11:00:00 -07:00
claudiulodro
f411c4453f
Update info for release
2018-08-22 10:59:02 -07:00
Timmy Crawford
af928f6773
Store: Add generic reports stats support. ( https://github.com/woocommerce/woocommerce-admin/pull/307 )
...
* Store: Add generic reports stats support.
* Updates per feedback.
* Change format and export reducer
2018-08-22 10:54:48 -07:00
Claudiu Lodromanean
89794358e6
Merge pull request woocommerce/woocommerce-blocks#105 from woocommerce/fix/101
...
Add order DESC attribute when ordering by newest first
2018-08-22 10:37:16 -07:00
claudiulodro
ce6938548e
Don't initialize scripts if wc is not active
2018-08-22 10:28:39 -07:00
David Levin
f9eea91eed
Add transition to chevron
2018-08-22 07:50:10 -07:00
Tiago Noronha
f6a992a17c
Add order DESC attribute when ordering by newest first
2018-08-22 15:05:34 +01:00
David Levin
ad5e661f8a
Updated dropdown button styles
2018-08-21 21:44:01 -07:00
Kelly Dwan
f36d89cfaf
Add path & query back to filter props ( https://github.com/woocommerce/woocommerce-admin/pull/308 )
2018-08-21 15:03:20 -04:00
Kelly Dwan
39ca2cc627
Remove apiRequest in favor of apiFetch ( https://github.com/woocommerce/woocommerce-admin/pull/309 )
2018-08-21 15:02:49 -04:00
Timmy Crawford
f4814ee46f
Merge pull request woocommerce/woocommerce-admin#306 from woocommerce/update/revenue-chart
...
Revenue Report: Use href on SummaryNumber components.
2018-08-21 08:44:29 -07:00
Kelly Dwan
6ce012a2e7
Extensions: Add filter to allow third-party registration of reports ( https://github.com/woocommerce/woocommerce-admin/pull/298 )
...
* Create page helper function
* Enable filtering of report content for extensions to inject new reports
* Add error boundary
* Add documentation for the reports filter
2018-08-20 17:24:17 -04:00
Kelly Dwan
dec97d178e
Components: Export reusable components to a separate file + global ( https://github.com/woocommerce/woocommerce-admin/pull/297 )
...
* Importing all components from a root components file
* Update Ratings component to avoid circular dependencies, fix tests
* Export components on `wc.components`, use this for importing
* Move react-dates initialize to the components file
* Push query changes to history
Fixes an issues where native a links do not update the query in `history`
* Update test config for new @woocommerce/components path
* Update chart components import
* Merge simple/complex & alphabetize by first exported name
* Add a readme with info about how to call these components
2018-08-20 17:18:13 -04:00
Timmy Crawford
f555fed33a
Revenue Report: Use href on SummaryNumber components.
2018-08-20 13:40:17 -07:00
Timmy Crawford
11524e19e1
Merge pull request woocommerce/woocommerce-admin#304 from woocommerce/add/revenue-chart
...
Analytics: Add Chart to Revenue Report
2018-08-20 09:30:04 -07:00
Timmy Crawford
9033d88b84
Remove trailing slash.
2018-08-20 09:23:33 -07:00
Timmy Crawford
1355f4a813
no package lock plz
2018-08-17 15:49:23 -07:00
Timmy Crawford
85e428c2d4
Analytics: Add Chart to Revenue Report.
2018-08-17 15:47:54 -07:00
Timmy Crawford
8a90563690
Dashboard: Use isNumeric in Top Selling Products.
2018-08-16 16:42:32 -07:00
Kelly Dwan
0286bd9109
Apply scope only to the row headers ( https://github.com/woocommerce/woocommerce-admin/pull/300 )
2018-08-16 10:37:10 -04:00
Justin Shreve
4397ce8271
Add Revenue Report API/data-layer ( https://github.com/woocommerce/woocommerce-admin/pull/293 )
...
* Adds data layer functions for fetching the revenue report API
* Handle PR feedback: jsDoc updates, create query string util function, api namespace constat.
* Serialize query args in a consistent order
2018-08-15 09:44:49 -04:00
Robert Elliott
410104a5cd
Merge pull request woocommerce/woocommerce-admin#291 from woocommerce/add/chart-title
...
D3 Chart Component: add title
2018-08-15 09:24:30 +02:00
Kelly Dwan
c16be4d061
Add ReportFilters Component
...
Add new function to merge query params into a given path
Add a new ReportFilter component, which extracts the date picker & filter picker
Add basic framework for product search
Add new AdvancedFilter to filter options
Remove duplicate CSS
Use library function for merging new query+path
Move filters folder out of reports
Use filter constant
Add README
Add path & query helper functions
Move filters into component folder
Switch to getPath/getQuery helpers
Update classes & merge styles
Remove query/path from READMEs
Add a readme to nav-utils
2018-08-15 11:15:30 +12:00
Justin Shreve
d4751e2c73
Fix Column Toggle Error ( https://github.com/woocommerce/woocommerce-admin/pull/296 )
...
* Fix column toggle error
* Use rows prop from props, preventing unnecessary re-rendering
2018-08-14 12:43:35 -04:00
Kelly Dwan
ff8217165d
Table: Update style to match design ( https://github.com/woocommerce/woocommerce-admin/pull/289 )
...
* Table: Add a hover state for rows
* Expand target area for table links to take over entire cell
* Add a purple link style for default links
* Increase contrast for links-on-hover-color
* Add “isNumeric” column identifier & right-align these cols
2018-08-13 11:25:32 -04:00
Kelly Dwan
2b92b62ccd
SummaryNumber: Update style of dropdown on smaller screens ( https://github.com/woocommerce/woocommerce-admin/pull/288 )
...
* Update style of dropdown on smaller screens
* Switch chevron orientation when dropdown is open
* Update font size/spacing in the dropdown
* animate the chevron
2018-08-13 11:25:11 -04:00
Kelly Dwan
9d19bc66c0
Layout: Fix spacing on Card component ( https://github.com/woocommerce/woocommerce-admin/pull/283 )
2018-08-13 11:24:48 -04:00
Robert Elliott
662c36e5e7
use gap
2018-08-13 13:27:15 +02:00
Robert Elliott
f08a724f48
add title
2018-08-13 13:09:44 +02:00
Robert Elliott
9b9dbde858
bg button for safari and right margin
2018-08-13 12:32:08 +02:00
Robert Elliott
3c9b5dd166
fix some testy black hole color scale oddities
2018-08-13 12:24:11 +02:00
Robert Elliott
fd97d03317
rescale based on selections
2018-08-13 12:24:10 +02:00
Robert Elliott
11d6e8ba87
rebase with master after some afk
2018-08-13 12:24:10 +02:00
Robert Elliott
da5d6600e5
move to getderivedstate
2018-08-13 12:24:09 +02:00
Robert Elliott
bbc7e13e3e
split out example.js and index for component
2018-08-13 12:23:50 +02:00
Robert Elliott
0c7d016629
D3 Chart Component: split out example + index and handle full-width
2018-08-13 12:22:58 +02:00
Timmy Crawford
5f85e75b97
Merge pull request woocommerce/woocommerce-admin#284 from woocommerce/add/top-selling-products
...
Dashboard: Add Top Products block.
2018-08-10 10:42:58 -07:00
Ajit Bohra
38e8f6f518
Add link to wordpress.org
2018-08-10 09:11:28 +05:30
Timmy Crawford
ac3e83590a
Add tests for numberFormat
2018-08-09 11:50:56 -07:00
Timmy Crawford
9effb75c73
Add table styling.
2018-08-09 11:16:30 -07:00
Timmy Crawford
74ba8b2091
remove table modifications.
2018-08-09 10:50:40 -07:00
Paul Sealock
b427249aa1
Advanced Filters: add card and config
2018-08-09 12:16:46 +12:00
Timmy Crawford
547ea94483
Dashboard: Add Top Products block.
2018-08-08 16:52:21 -07:00
Kelly Dwan
4669ab9422
Layout: Add the 40px side gutters on 1100px+ screens ( https://github.com/woocommerce/woocommerce-admin/pull/282 )
2018-08-08 18:11:54 -04:00
Timmy Crawford
94f87d96c9
Merge pull request woocommerce/woocommerce-admin#279 from woocommerce/add/dashboard-columns
...
Overview: Add Columns
2018-08-08 11:59:27 -07:00
Timmy Crawford
0de60d5685
Update breakpoint
2018-08-08 10:21:38 -07:00
Timmy Crawford
c653b601ca
Merge pull request woocommerce/woocommerce-admin#280 from woocommerce/fix/navbar-zindex
...
Header: Set z-index greater than popover
2018-08-07 17:12:25 -07:00
Timmy Crawford
617771de1c
Orders Panel: Add default prop object.
2018-08-07 13:11:30 -07:00
Timmy Crawford
5f4a56eb9a
Header: Set z-index greater than popover
2018-08-07 12:45:48 -07:00
Timmy Crawford
f0e6770284
Adding some more placeholder cards.
2018-08-06 15:56:24 -07:00
Timmy Crawford
a6214e1df1
Updates per feedback.
2018-08-06 15:34:47 -07:00
Kelly Dwan
2bea232494
Import compose from `wordpress/compose` ( https://github.com/woocommerce/woocommerce-admin/pull/278 )
...
As of Gutenberg 3.3, compose is in its own package - element.compose is deprecated
2018-08-06 17:33:55 -04:00
Timmy Crawford
cc61776d29
Add breakpoint to single column
2018-08-06 14:07:51 -07:00
Kelly Dwan
4c2797d6cf
Table: Add "required"/"sortable" meta to headers/columns ( https://github.com/woocommerce/woocommerce-admin/pull/275 )
...
* Switch headers to an object, use `header.label` to display title
* Change sort function to update a query param
* Clean up README
* Get the currently sorted column from the query
* Don’t allow toggling of required columns
* Add in direction-sorting (ascending/descending)
* Switch to aria-describedby so that the actual column name is read aloud
* Fix chevron orientation
* Handle hiding a sorted column
* Fall back to sorting by first item if no defaultSort col is set
* Fix arrow orientation again
* Update order_by to orderby to match wp_query param name
2018-08-06 13:01:41 -04:00
Kelly Dwan
ddeacb84e5
Move non-reset SCSS to new files, add folder structure ( https://github.com/woocommerce/woocommerce-admin/pull/274 )
...
* Move non-reset SCSS to a new file
* Split shared files and “meta” files into two folders
This also creates two new base scss files for the different app vs embedded CSS files
* Move notice & embed-specific css out of reset
* Update README with folder structure notes
2018-08-06 11:30:43 -04:00
Timmy Crawford
d013fe6926
Dashboard: Add columns for blocks.
2018-08-02 16:10:55 -07:00
Kelly Dwan
a4267202c5
Update TableCard component to handle toggling on/off specific columns ( https://github.com/woocommerce/woocommerce-admin/pull/268 )
2018-08-02 18:21:37 -04:00
Kelly Dwan
6a82db326e
SummaryNumber: Switch to dropdown display on small screens ( https://github.com/woocommerce/woocommerce-admin/pull/265 )
...
* Move isMobileViewport to a helper function in lib
* Switch SummaryList to use navigable menu to support up/down (or left/right) arrow key navigation
* Switch to a dropdown menu/button combo when on a smaller screen
* Ensure aria role & href are only added if the item is a link
* Wrap the entire SummaryNumber in a link to match non-mobile use
* Update card content to be single line on mobile
* Add label to the popover title
* Make SummaryNumbers edge-to-edge on smaller screens
* Switch to the collapsed/dropdown view on screens <1100px
* Adjust offset of arrow icon
2018-08-02 18:20:48 -04:00
Paul Sealock
45231f9049
add theming to Gutenberg components'
2018-08-02 12:25:00 +12:00
Timmy Crawford
64b3f99649
Merge pull request woocommerce/woocommerce-admin#253 from woocommerce/fix/pagination-input
...
Pagination: Fix page input bug.
2018-08-01 13:36:17 -07:00
Timmy Crawford
7639f61c2e
Add site title to wcSettings
2018-08-01 12:19:25 -07:00
Timmy Crawford
3f2a6a2fd6
Fix for gutenberg 3.4
2018-08-01 12:07:17 -07:00
Timmy Crawford
2e3788a862
Verify the page number exists.
2018-08-01 11:51:11 -07:00
Kelly Dwan
8141a9f66d
Update/table component ( https://github.com/woocommerce/woocommerce-admin/pull/251 )
...
* Update mock data to reflect latest API format
* Update Table component to create a TableCard, TableSummary, and plain Table
Use the TableCard container to display mocked revenue data
* Add horizontal scroll only on the table itself
* Remove `sortable` prop, base column sortability on whether the `value` is true/false
Checking against a strict false should prevent any real 0 or ‘’ values from triggering unsortability
* Add a checkbox to the demo table
* Update accepted props
* Update README for TableCard, Table, and TableSummary
* Update README
* Fix confused defaults
2018-08-01 12:00:45 -04:00
Justin Shreve
d346945702
Add Collapsed Review View ( https://github.com/woocommerce/woocommerce-admin/pull/242 )
...
* Add Collapsed Review View
* Fix spacing issue on main button action
2018-08-01 08:21:51 -04:00
Timmy Crawford
f93421c750
Ensure NaN doesn't sneak in there.
2018-07-31 09:38:24 -07:00
Paul Sealock
735dfcd272
Merge pull request woocommerce/woocommerce-admin#239 from woocommerce/fix/calendar-component
...
Datepicker: Refactor Calendar to fully controlled component
2018-07-31 11:10:20 +12:00
Timmy Crawford
d373599f8a
Pagination: Fix page input bug.
2018-07-30 16:08:13 -07:00
Kelly Dwan
9a73628689
Remove debug code logging screen ID ( https://github.com/woocommerce/woocommerce-admin/pull/250 )
2018-07-30 13:41:14 -04:00
Kelly Dwan
727654ff3b
SummaryNumber Component: Update to latest hifi design ( https://github.com/woocommerce/woocommerce-admin/pull/237 )
...
* Add first pass + demo of updated SummaryNumber
* Add new larger screen breakpoint
* Remove the max-width from the content wrapper
* Update previous label text
* Fix the border colors/sizing
* Create a mixin to generate the grid template pattern
* Add green/red colors based on trend, with prop to reverse
In some cases, a downward trend is good (ex, refunds), so we want to be able to color those green
* Move selected number containers up to avoid the double-border
* Document className logic, and apply 10-item layout to all cases of 10+ items
* Remove layout notes
* Update component docs, clean up optional displays
* Update style of SummaryNumbers inside cards
* Filter out any `false` or otherwise unrenderable children
* Fix card borders
* Update dashboard component to use new props
* Check that prevValue is defined
a prevValue of 0 was incorrectly outputting `0` for both label and value
* Update no-change datapoint style
* Update default data values
Rather than hiding the prevValue/label or delta section if these are not passed through, use default N/A placeholders
* Change SummaryList & SummaryNumber to a list of links
Add active, hover, and focus styles
* Add a short help text for screen reader users
* Add href to README
* Add the href prop to the readme example
* Fix border colors
The `nth-of-type` rules need to be on the `li` containers
* Fix font-weights on value & delta
* Wrap the previous label/value when the percentage wraps
2018-07-30 11:14:09 -04:00
Justin Shreve
e27af517a4
Add CSS autoprefixer ( https://github.com/woocommerce/woocommerce-admin/pull/244 )
2018-07-30 10:05:22 -04:00
Paul Sealock
b34b2efbbc
Use wp.data on Orders report
...
Update to Gutenberg 3.3
2018-07-30 11:17:28 +12:00
Paul Sealock
0df86cb6f6
Datepicker: Refactor Calendar to fully controlled component
2018-07-30 11:11:52 +12:00
Paul Sealock
1c447396c8
Datepicker: Custom: Add styles
2018-07-30 10:36:38 +12:00
Justin Shreve
21dfd46cdd
Update ActivityCard mobile styles ( https://github.com/woocommerce/woocommerce-admin/pull/241 )
2018-07-26 14:52:25 -04:00
James Koster
1705087cb4
Merge pull request woocommerce/woocommerce-admin#240 from woocommerce/add/woocommerce-purples
...
Adds the full range of WooCommerce purples
2018-07-26 16:44:58 +01:00
Justin Shreve
dca07063fa
Fix WP Notices Tabbing ( https://github.com/woocommerce/woocommerce-admin/pull/238 )
2018-07-26 09:13:47 -04:00
James Koster
1de11d7a75
Adds the full range of WooCommerce purples
2018-07-26 12:40:50 +01:00
Robert Elliott
7a6a82c6af
Merge pull request woocommerce/woocommerce-admin#189 from woocommerce/add/chart-legend
...
D3 Chart: legend component and integration
Thanks for the great feedback. I've made updates and will address a few of the styling (and remove code used for testing) in future PRs. Keep an eye on https://github.com/woocommerce/wc-admin/issues/164 for future work planned on this component.
2018-07-25 17:08:59 +02:00
Robert Elliott
2c78dfb3cc
feedback updates and tooltip
2018-07-25 17:04:21 +02:00
Robert Elliott
dd663e0cd9
init for legends PR
...
updates from feedback
2018-07-25 17:04:03 +02:00
Justin Shreve
ff934eb999
Add SplitButton Component ( https://github.com/woocommerce/woocommerce-admin/pull/236 )
...
* Add SplitButton component
* Update primary styles and focus border
2018-07-25 10:25:08 -04:00
Justin Shreve
0d00e6ef2b
Fade in activity panel tabs during page transition ( https://github.com/woocommerce/woocommerce-admin/pull/232 )
2018-07-24 11:30:53 -04:00
Kelly Dwan
944b7ab460
Update to Gutenberg 3.3 ( https://github.com/woocommerce/woocommerce-admin/pull/234 )
...
Removes Gutenberg package dependency in favor of published sub-packages, update tests and build process to reflect new package locations
2018-07-23 16:14:40 -04:00
Justin Shreve
c587ca94dc
Add rating components ( https://github.com/woocommerce/woocommerce-admin/pull/233 )
...
* Add rating component
* Add ProductRating, ReviewRating components.
Add tests.
2018-07-23 09:19:24 -04:00
Paul Sealock
11b30baa6f
Merge pull request woocommerce/woocommerce-admin#226 from woocommerce/add/filter-picker-animation
...
Components: Filter picker: Add animation
2018-07-23 10:03:35 +12:00
Kelly Dwan
0c845a2852
Activity Panel: Add loading placeholder for ActivityCard, using Inbox as demo ( https://github.com/woocommerce/woocommerce-admin/pull/220 )
...
* Mock up an “API response object” for the inbox notices
* Add in a fake “loading” delay
* Add placeholder mixin from Calypso
* Add a placeholder ActivityCard and styles
* Merge exports of placeholder into ActivityCard
* Add tests for placeholder card
* Update readme
* Switch placeholder content prop to a line count, rather than specific children
* Update tests for new lines prop
* Clear timeout when the inbox unmounts
* Add a test for 0 lines
2018-07-20 14:41:39 -04:00
Justin Shreve
dabef973bd
Add ProductImage Component ( https://github.com/woocommerce/woocommerce-admin/pull/231 )
...
* Add ProductImage Component
* Use provided product image alt text
2018-07-20 14:24:39 -04:00
Paul Sealock
186c803c31
FilterPicker: Add Animation
2018-07-20 15:42:36 +12:00
Kelly Dwan
8b36066f0b
Update `react-world-flags` package ( https://github.com/woocommerce/woocommerce-admin/pull/230 )
...
* Update react-world-flags to remove dependency on SSH url
* Remove git config
2018-07-19 12:30:25 -04:00
Justin Shreve
3239a74eef
Add unread indicator to mobile panel toggle ( https://github.com/woocommerce/woocommerce-admin/pull/219 )
...
* Add unread indicator to mobile panel toggle
* Add accessible unread indiciators
* Add default functions for the WP Notices component
2018-07-18 11:20:00 -04:00
Justin Shreve
22028283ef
Add Activity Panel Outbound Link Component ( https://github.com/woocommerce/woocommerce-admin/pull/213 )
...
* Activity Panel Outbound Link
* Address PR Feedback: Pass through additional props on ActivityOutboundLink, add comment for activity panel wrapping padding, fix README naming, and use $gap $gutter trick for outbound link padding.
2018-07-17 14:51:56 -04:00
Justin Shreve
6abcbbdc87
Fix key prop warning in FilterPicker ( https://github.com/woocommerce/woocommerce-admin/pull/221 )
2018-07-17 14:38:58 -04:00
Justin Shreve
b64d729f0a
Remove Agenda Widget ( https://github.com/woocommerce/woocommerce-admin/pull/216 )
2018-07-17 13:07:51 -04:00
Justin Shreve
0e0426e3cd
Fix ActivityPanel Slide Animation ( https://github.com/woocommerce/woocommerce-admin/pull/217 )
2018-07-17 13:07:36 -04:00
Kelly Dwan
a315fa46f6
Add "in progress" banner to readme ( https://github.com/woocommerce/woocommerce-admin/pull/211 )
...
* Update README
* Update where to get v3 of the WC REST API
2018-07-17 11:50:11 -04:00
Justin Shreve
9cc4e1b97a
Add Order Status Component ( https://github.com/woocommerce/woocommerce-admin/pull/214 )
2018-07-17 09:11:13 -04:00
Paul Sealock
31c055fd57
Component: Filter Picker
2018-07-17 12:25:00 +12:00
Kelly Dwan
f3150a5727
Activity Panel: Add a "first draft" of Inbox items ( https://github.com/woocommerce/woocommerce-admin/pull/212 )
...
* Move panel components into a single folder
* Add ActivityCards to the inbox panel
* Add inbox-specific styles
2018-07-16 14:37:25 -04:00
Justin Shreve
dd98f925ef
Add Flag Component ( https://github.com/woocommerce/woocommerce-admin/pull/197 )
...
* Add Flag Component
* Fix for travis ci
* Fix spacing with new card layout
2018-07-16 12:28:26 -04:00
Kelly Dwan
9fca535c67
Update ActivityCard to latest hifi designs ( https://github.com/woocommerce/woocommerce-admin/pull/203 )
...
* ActivityCard: Update to match new activity panel designs
* Add spacing rhythm system, add the rest of the base colors
* Add styles for the ActivityCard
* Use the new ActivityCard in the orders panel
* Update text color & size
* Disable timestamped test (string changes based on date)
* Use moment to generate a relative timestamp to match “3 days ago” snapshot
* Rename spacing vars
The difference between gap and gap-med is not intuitive, so let’s switch to -small, and change -small to -smallest.
2018-07-16 09:53:38 -04:00
Paul Sealock
9af766fe80
Datepicker: fix getCurrentDates to always reflect defaults
2018-07-14 22:27:55 +12:00
Paul Sealock
55f803dd07
Update Gutenberg dependency to v3.2.0 for running js tests
...
Update Gutenberg packages deprecated and keycodes to build system
2018-07-14 21:57:18 +12:00
Justin Shreve
e0b38b5c94
Fix Accessibility issues: tabpanel behavior, and reduced motion setting ( https://github.com/woocommerce/woocommerce-admin/pull/185 )
...
* Fix Accessibility issues: tabpanel behavior, and reduced motion setting
* Move tabindex to <Section /> and add aria-label to the panel
* move role and aria-label to div component
2018-07-13 16:28:01 -04:00
Kelly Dwan
96925f77fa
Component: Fix rows prop in Table ( https://github.com/woocommerce/woocommerce-admin/pull/193 )
...
* Move component lifecycle method to top of component
* Update rows if the rows passed in via props have changed
This lets us bring in API changes, but will wipe out any sorting (revisit in a later PR, perhaps)
* Pass rows through to Table even if we don’t have rows loaded yet
Adds todo comment to remind that we should come back to add a placeholder/loading state
2018-07-13 15:36:41 -04:00
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
claudiulodro
a029008a1e
Remove requests to GH
2018-07-06 11:01:42 -07:00
claudiulodro
5ea48d1e1c
Hard-coded issue template
2018-07-06 10:12:53 -07: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
Mike Jolley
44ae609d7d
Error handling
...
Closes woocommerce/woocommerce-beta-tester#44
2018-06-25 16:04:30 +01:00
Mike Jolley
988d14f64c
Hide menus
2018-06-25 15:00:00 +01:00
Mike Jolley
ca3fc80aaa
Handle version updates
...
Closes woocommerce/woocommerce-beta-tester#10
2018-06-25 14:35:10 +01:00
Mike Jolley
c67e46e8cf
Merge branch 'master' of https://github.com/woocommerce/woocommerce-beta-tester
2018-06-25 12:43:47 +01:00
Mike Jolley
b81b4e2a6e
Text tweaks and styling, phpcs
2018-06-25 12:35:57 +01:00
Mike Jolley
4a6a892a45
Plugin desc
2018-06-25 12:05:54 +01:00
Kelly Dwan
99ac7728cd
Try a context-aware heading component ( https://github.com/woocommerce/woocommerce-admin/pull/121 )
...
* Add H and Section components for context-aware headings
* Switch to using the new context-aware heading and section components
* Style header by class name, not heading level
* Add our client dir to the modules list for Jest
We already have this setting in webpack, but Jest doesn’t pick up on that
2018-06-20 11:10:06 -04:00
Kelly Dwan
b1c2b3fdc4
Add Table component ( https://github.com/woocommerce/woocommerce-admin/pull/118 )
...
* Update package-lock
* Add data table component
* Add fake data & display revenue on the analytics test report
* Update styling
* Display table inside a card
* Update mock data to be easier to scan for testing ascending/descending
* Fix sorting function to correctly sort all columns
* Check column content before determining “sortability” — objects (links) are not sortable
* Update README
* Add translation to scroll helper text
2018-06-20 11:09:37 -04:00
Timmy Crawford
652fdd8be1
Add support for different report components, and create revenue report component.
2018-06-14 13:15:11 -07:00
Kelly Dwan
bc084b7302
Add Summary Number/Performance Tile component ( https://github.com/woocommerce/woocommerce-admin/pull/109 )
...
* Add SummaryList and SummaryNumber components
* Add a demo of SummaryList/SummaryNumbers
* Pages without the sidebar displayed can use a larger max-width
* Adjust layout styles for smaller screens
2018-06-14 11:16:57 -04:00
Justin Shreve
215464a592
Move Jetpack JITM messages out of the wp notice toggle, and count all child divs. ( https://github.com/woocommerce/woocommerce-admin/pull/111 )
2018-06-13 21:19:36 -04:00
Peter Fabian
aa4554cf42
Sanitization, escaping and PHPCS updates.
2018-06-11 12:14:39 +02:00
Kelly Dwan
aabd74b15d
Check user permissions before manipulating submenu ( https://github.com/woocommerce/woocommerce-admin/pull/106 )
2018-06-08 13:11:24 -04:00
Peter Fabian
1d500c1006
Plugin activation switched from redirect to WP function, then redirect to plugin page.
2018-06-08 18:26:56 +02:00
Peter Fabian
70ac4f9536
Fixed wording on Activate button.
2018-06-08 17:36:01 +02:00
Peter Fabian
a3d0e5b906
Added basic version switching.
2018-06-08 17:35:16 +02:00
Boro Sitnikovski
c0291f04b7
Add handler for version switch button
2018-06-08 12:31:40 +02:00
Kelly Dwan
29136ce44c
Show real orders in the sidebar orders tab ( https://github.com/woocommerce/woocommerce-admin/pull/105 )
...
* Add an activity list component which will fetch and display the respective tabs’ content
* Add currency and order calculation helpers from Calypso
* Add date support to ActivityCard
* Fix the product label when there’s only 1 product
* Only display the orders on the orders tab
* Remove demo component
* PR feedback
- Switch to function components
- Check isLoading for showing loading state
- use v3 of WC API
- Remove getOrderShippingMethod (it’s not a tax-related function)
- Switch to array.reduce
- Add `|| 0` protect to all possible API-based calculations
2018-06-07 12:05:22 -04:00
Mike Jolley
340e7821c7
Merge pull request woocommerce/woocommerce-beta-tester#31 from woocommerce/add/version-picking
...
Initial code to create a list of versions based on wp.org API.
2018-06-07 15:27:37 +01:00
Mike Jolley
09532920ac
Merge pull request woocommerce/woocommerce-beta-tester#42 from woocommerce/tweak/include-theme-plugin-ssr-info
...
Include information about plugins/theme in the GH issue submission de…
2018-06-07 15:03:34 +01:00
Mike Jolley
fc2dfd4f4a
.org assets
2018-06-07 15:01:32 +01:00
Boro Sitnikovski
aac0f30a2a
Use correct textdomain
2018-06-07 15:40:48 +02:00
Boro Sitnikovski
384fe9b954
Add minified file
2018-06-07 15:39:42 +02:00
Boro Sitnikovski
c053eded70
Merge branch 'master' into add/version-picking
2018-06-07 15:34:52 +02:00
Boro Sitnikovski
e345e1bb54
Include information about plugins/theme in the GH issue submission description
2018-06-07 15:16:27 +02:00
Boro Sitnikovski
cd42593bc4
Merge pull request woocommerce/woocommerce-beta-tester#41 from woocommerce/tweak/plugin-row-actions
...
Introduce row actions for the plugin
2018-06-07 14:47:40 +02:00
Boro Sitnikovski
0e1410590d
Update class-wc-beta-tester.php
2018-06-07 14:47:30 +02:00
Boro Sitnikovski
66e78a47d8
Introduce row actions for the plugin
2018-06-07 14:18:29 +02:00
Mike Jolley
3a31bd10fd
Edit text nodes
2018-06-07 12:55:40 +01:00
Peter Fabian
cc2368a763
Code review updates.
2018-06-07 13:12:53 +02:00
Mike Jolley
96e612ebdd
Update readme file
2018-06-07 12:11:40 +01:00
Boro Sitnikovski
e7ae24135e
Merge pull request woocommerce/woocommerce-beta-tester#36 from woocommerce/tweak/pre-release-information
...
Initial implementation for including additional pre-release information
2018-06-07 12:10:24 +02:00
Boro Sitnikovski
8e8f2389aa
Wrap notes in autop and make_clickable
2018-06-07 12:10:11 +02:00
Boro Sitnikovski
0862d365e7
Use hour in seconds
2018-06-07 11:24:38 +02:00
Boro Sitnikovski
b27c5022ab
Don't invoke singleton on the very same class
2018-06-07 11:17:45 +02:00
Boro Sitnikovski
b9f15ac1f6
Still include new tab in case description is not set
2018-06-07 10:55:37 +02:00
Boro Sitnikovski
8447cdbf3d
Initial implementation for including additional pre-release information
2018-06-07 10:52:33 +02:00
Peter Fabian
e01792d90a
Fixed a mistake in merge.
2018-06-06 23:21:58 +02:00
Peter Fabian
80b19f5a47
Switched from raw wp options to settings from beta tester class.
2018-06-06 23:20:40 +02:00
Peter Fabian
3e75307f33
Merge branch 'master' into add/version-picking
2018-06-06 23:19:25 +02:00
Peter Fabian
68d1f3898f
Fixed formatting error introduced by editing on GitHub.
2018-06-06 18:32:19 +02:00
Peter Fabian
06e92b78e9
Merge branch 'master' into add/version-picking
2018-06-06 18:30:41 +02:00
Peter Fabian
45a7658c1f
Added Backbone modal to switching versions.
2018-06-06 18:26:48 +02:00
claudiulodro
03ade781d3
Update WC requires version
2018-06-06 09:08:17 -07:00
claudiulodro
6e09ffb392
Update info for 1.1 release
2018-06-06 08:59:45 -07:00
Mike Jolley
ac0b56e6cc
auto_update_plugin filter
2018-06-06 16:18:34 +01:00
Mike Jolley
04946ed0a4
Add settings
2018-06-06 16:14:32 +01:00
Claudio Sanches
7a17bc4a01
Merge pull request woocommerce/woocommerce-beta-tester#33 from woocommerce/update/channel-settings-radio
...
Use radio inputs for settings
2018-06-06 11:27:31 -03:00
Mike Jolley
814b587ad7
Use radio inputs
2018-06-06 15:14:27 +01:00
Peter Fabian
ee0b9a6db1
Merge branch 'master' into add/version-picking
2018-06-06 15:52:26 +02:00
Boro Sitnikovski
42033eefd7
Merge pull request woocommerce/woocommerce-beta-tester#32 from woocommerce/tweak/version-switch-modal
...
Initial implementation for version switch modal
2018-06-06 15:35:23 +02:00
Boro Sitnikovski
feda5ad5d2
Get WC version programmatically by using the constant
2018-06-06 15:35:00 +02:00
Mike Jolley
1fd5e7aa7f
Merge pull request woocommerce/woocommerce-beta-tester#30 from woocommerce/feature/18
...
Display notices to install and enable WooCommerce
2018-06-06 14:34:01 +01:00
Mike Jolley
8e028c3b6c
Update translation string
2018-06-06 14:33:41 +01:00
Boro Sitnikovski
3040c55667
Correct docblock
2018-06-06 14:32:49 +02:00
Peter Fabian
a5775ba5e8
PHPCS updates and wording update.
2018-06-06 14:30:25 +02:00
Boro Sitnikovski
384f1cfc98
Merge branch 'tweak/version-switch-modal' of github.com:woocommerce/woocommerce-beta-tester into tweak/version-switch-modal
2018-06-06 14:28:42 +02:00
Boro Sitnikovski
56a5827451
Address PR comments
2018-06-06 14:28:24 +02:00
Peter Fabian
8614a8d33e
Added link to version pick from admin toolbar.
2018-06-06 14:10:50 +02:00
Boro Sitnikovski
b31d24aadf
Merge branch 'master' into tweak/version-switch-modal
2018-06-06 13:29:52 +02:00
Peter Fabian
264055dfe2
Merge branch 'master' into add/version-picking
2018-06-06 13:02:22 +02:00
Peter Fabian
199d34a32a
Moved version picker to its own class, added to Tools menu.
2018-06-06 12:58:57 +02:00
Peter Fabian
fe3f84b313
Merge pull request woocommerce/woocommerce-beta-tester#19 from woocommerce/tweak/use-wporg-for-download
...
Use WordPress.org for downloading WooCommerce
2018-06-06 12:53:55 +02:00
Boro Sitnikovski
d5c4f794c6
Fix another TODO to include admin styles for the modal
2018-06-06 10:25:27 +02:00
Boro Sitnikovski
35ad51456c
Fix TODO for minification
2018-06-06 10:21:10 +02:00
Boro Sitnikovski
2f59a976d5
Move JS file
2018-06-06 10:16:28 +02:00
Boro Sitnikovski
d5814c118d
Fix code styles
2018-06-06 10:07:45 +02:00
Boro Sitnikovski
a8f7279dfd
Initial implementation for version switch modal
2018-06-06 10:02:45 +02:00
Peter Fabian
b2e7016735
Initial code to create a list of versions based on wp.org API.
2018-06-06 00:46:22 +02:00
Boro Sitnikovski
845279a1d3
Remove unnecessary ob_start call
2018-06-05 23:52:31 +02:00
Boro Sitnikovski
b750c96c2a
Don't check against versions higher than latest version
2018-06-05 23:46:34 +02:00
Boro Sitnikovski
b0bae55ce1
Don't break as we need to return the latest beta/rc candidate (assume the versions array is ordered)
2018-06-05 23:22:45 +02:00
Boro Sitnikovski
c1c73611fd
Get latest pre-release by comparing against (beta/rc) versions higher than latest release
2018-06-05 23:18:07 +02:00
Claudio Sanches
832ee72eaf
Display notices to install and enable WooCommerce
2018-06-05 16:45:06 -03:00
Claudio Sanches
add146aee1
Typo
2018-06-05 16:04:11 -03:00
Claudio Sanches
9f55a1d8b2
Merge branch 'master' into improve/github-ticket-content
2018-06-05 16:02:47 -03:00
Claudio Sanches
2a8e7eda19
Fixed wrong variable
2018-06-05 15:22:51 -03:00
Claudio Sanches
ab186e05f2
Improve how environment data is generated
2018-06-05 15:15:16 -03:00
Claudio Sanches
2da5e342e0
Fixed coding standards
2018-06-05 14:36:09 -03:00
Claudio Sanches
2f4c497913
Check if WC_Admin_Status exists before load admin bar
2018-06-05 14:21:23 -03:00
Claudio Sanches
6f95040c5e
Removed GitHub URL
2018-06-05 14:08:06 -03:00
claudiulodro
9a8236ce68
Make attribute select scalable
2018-06-05 10:06:39 -07:00
Claudio Sanches
1a74266309
Fixed coding standards
2018-06-05 14:06:21 -03:00
Claudio Sanches
b1fccabe36
Merge branch 'master' into tweak/use-wporg-for-download
2018-06-05 14:04:53 -03:00
Boro Sitnikovski
10a3a8877d
Use correct download URL
2018-06-05 15:31:53 +02:00
Boro Sitnikovski
29b0c483b8
Use WPorg API to get data instead of GitHub
2018-06-05 15:26:59 +02:00
Gerhard Potgieter
1a3799a4e6
Merge pull request woocommerce/woocommerce-beta-tester#20 from woocommerce/tweak/feedback-bar
...
Feedback bar implementation
2018-06-05 14:19:16 +02:00
Gerhard Potgieter
4a8140e5f9
Merge pull request woocommerce/woocommerce-beta-tester#25 from woocommerce/tweak/submit-gh-ticket
...
Initial implementation for submitting ticket to GH
2018-06-05 14:17:34 +02:00
Boro Sitnikovski
ddd764f2a5
Use esc_js on the javascript part
2018-06-05 14:14:01 +02:00
Gerhard Potgieter
3f702999c2
Lookup version when adding to GH ticket
2018-06-05 14:10:55 +02:00
Gerhard Potgieter
bcac545022
Stable, not RC by default
2018-06-05 13:46:34 +02:00
Gerhard Potgieter
5fbefe30c3
Fetch current_channel programatically
2018-06-05 13:45:09 +02:00
Boro Sitnikovski
d40391237f
Use correct Settings URL
2018-06-05 13:16:58 +02:00
Gerhard Potgieter
9c2346e68b
Settings
2018-06-05 13:11:39 +02:00
Boro Sitnikovski
cadd814916
Initial implementation for submitting ticket to GH
2018-06-05 12:46:55 +02:00
Gerhard Potgieter
2514f9dd0a
Merge pull request woocommerce/woocommerce-beta-tester#17 from woocommerce/add/dev-tools
...
Dev tools
2018-06-05 11:20:46 +02:00
Boro Sitnikovski
ab3c1b1ec3
Update correct text domain and add another todo
2018-06-05 10:49:28 +02:00
Boro Sitnikovski
a9b5c8917d
Initial commit for feedback bar
2018-06-05 10:37:08 +02:00
Boro Sitnikovski
387b3cf3ea
Use WordPress.org for downloading WooCommerce
2018-06-05 10:01:38 +02:00
Paul Sealock
b25fdc3f31
DatePicker: Add url support and container
2018-06-05 10:20:25 +12:00
Claudio Sanches
4ea4c0298b
Tidy readme.txt
2018-06-04 16:24:37 -03:00
Claudio Sanches
7f681244b6
Clean up code and fixed PHPCS violations
2018-06-04 16:21:02 -03:00
Claudio Sanches
d32db88b45
Composer dependencies
2018-06-04 16:06:43 -03:00
Claudio Sanches
333fac5e56
Introduced .editorconfig
2018-06-04 16:06:33 -03:00
claudiulodro
07e249faae
Add some keys to elements
2018-06-04 10:48:48 -07:00
Justin Shreve
59cb071aa2
Expand WP notices with header toggle ( https://github.com/woocommerce/woocommerce-admin/pull/101 )
...
* Display WP notices behind a button
* Expand WP notices inline when the WP toggle is clicked
* Update setState calls
* Fix string display when only 1 notice is present
* Remove display:none that snuck in during rebase
2018-06-04 10:25:41 -04:00
Robert Elliott
a932758fc7
Merge pull request woocommerce/woocommerce-admin#73 from woocommerce/add/d3-base-component
...
D3: adding base component
2018-06-03 02:15:30 +02:00
claudiulodro
59cba2a952
Include custom API endpoint for required orderby features
2018-06-01 10:22:58 -07:00
claudiulodro
0572330b3e
Only enqueue gberg scripts/styles on backend editor
2018-06-01 09:35:46 -07:00
claudiulodro
f2ee9915f9
Fix things that broke in latest gberg version
2018-06-01 09:19:25 -07:00
Kelly Dwan
e0d05ecfa0
Add a label to Count to add context for screen reader users ( https://github.com/woocommerce/woocommerce-admin/pull/102 )
...
* Add a label “Total” to the count balloon
* Update README
* Switch to an aria-label, so that we can set a fully translatable string
* Update README to make label default clear
2018-06-01 10:39:48 -04:00
Robert Elliott
8216841490
adding README from Calypso
2018-06-01 16:35:51 +02:00
Kelly Dwan
b0bcce86d8
Add CSS naming conventions following Gutenberg’s standards ( https://github.com/woocommerce/woocommerce-admin/pull/99 )
...
* Add CSS naming conventions following Gutenberg’s standards
* Update `woo-dashboard` to `woocommerce-layout`
* Update admin notice container to new classname standard
2018-06-01 10:35:18 -04:00
Kelly Dwan
a01861d886
Add README for `useFilters`, clean up example filter ( https://github.com/woocommerce/woocommerce-admin/pull/100 )
...
* Add README for useFilters
* Remove unused filter example
2018-06-01 10:34:54 -04:00
Kelly Dwan
4191d7adab
Add ActivityCard component ( https://github.com/woocommerce/woocommerce-admin/pull/86 )
...
* Add an ActivityCard component
* Add font-size mixin, hover-state mixin, and a fake base padding
* Style the ActivityCard
* Style the card image
* Add README
* Address PR feedback
- Add className prop
- children propType is required
- Link to a real image
2018-05-25 15:34:35 -04:00
Justin Shreve
e110283997
Set document title ( https://github.com/woocommerce/woocommerce-admin/pull/79 )
...
* Set the document title based on header sections
* Set dashboard default title via PHP to avoid a title switch
2018-05-24 12:03:03 -04:00
Justin Shreve
893298aa5d
Update Agenda widget to use Count component ( https://github.com/woocommerce/woocommerce-admin/pull/81 )
...
* Update Agenda widget to use Count component
* Move font-weight rule to count component
2018-05-24 11:45:32 -04:00
Paul Sealock
ee5e314668
Merge pull request woocommerce/woocommerce-admin#63 from woocommerce/add/segmented-selection
...
Component: add segmented selection
2018-05-24 11:19:21 +12:00
Paul Sealock
631ce420a4
Component: add segmented selection
2018-05-24 11:14:19 +12:00
Kelly Dwan
a56437c9c8
Fix React warnings for nested components/className ( https://github.com/woocommerce/woocommerce-admin/pull/83 )
...
* Fix class/className warning
* Fix nested `a` warning
* Add note about SCRIPT_DEBUG
2018-05-23 14:01:41 -04:00
Justin Shreve
ab4b0b16ed
Fix notifications JS error & masterbar menu CSS ( https://github.com/woocommerce/woocommerce-admin/pull/74 )
2018-05-23 12:40:10 -04:00
Paul Sealock
558d163f35
Sidebar: Add Tabs
2018-05-23 12:42:26 +12:00
Justin Shreve
d47454300a
Add timeline separator/heading to the sidebar ( https://github.com/woocommerce/woocommerce-admin/pull/71 )
...
* Add a timeline separator to the sidebar.
* Rename Timeline/Separator to SidebarHeader
2018-05-22 16:15:00 -04:00
Justin Shreve
7b0d0b1fed
Update wp-admin navigation structure ( https://github.com/woocommerce/woocommerce-admin/pull/70 )
...
* Updates wp-admin navigation structure: Dashboard is now under WooCommerce, and Analytics is moved visually under WooCommerce
* Fix focus padding issue and make sure arrow displays for the current submenu
2018-05-22 15:59:32 -04:00
Justin Shreve
d4ade607d8
Add agenda widget base and related components ( https://github.com/woocommerce/woocommerce-admin/pull/57 )
...
* Add agenda widget with accordion
* Add AgendaItem, README, and do some cleanup
* Handle PR Feedback: Rename AgendaAccordion to AgendaGroup, accept an href prop for a non-accordion state. Accept onClick or href for AgendaItem, a11y fixes, fix some typos, update examples & README.
* Address PR Feedback: Rename AgendaGroup to AgenaHeader, use a direct link for href mode, use IconButton instead of Button & Dashicon, pull out link rendering to its own method. Use <Link /> for app links.
* Combine box-shadow focus/hover rule and add transparent background
* Make `count` optional
2018-05-22 11:19:56 -04:00
Robert Elliott
7050868638
d3 base component
2018-05-22 15:00:06 +02:00
Kelly Dwan
a8682ccc70
Pin Gutenberg version to 2.9.0 for tests ( https://github.com/woocommerce/woocommerce-admin/pull/66 )
...
* Pin Gutenberg to V2.9.0
* Update webpack & Jest config for Gutenberg 2.9.0
2018-05-21 11:26:04 -04:00
Kelly Dwan
8f23630269
Layout: Add structure components & CSS ( https://github.com/woocommerce/woocommerce-admin/pull/45 )
...
* Refactor dashboard layout into new Layout components
* Style the new layout
* Use Slot/Fill for the Header component
* Center cards, fixed size for sidebar
* Only set the box-sizing on things within our app
* Make app the full height of the wp-admin frame
* Add styles to show/hide sidebar
* Toggle the sidebar
* Wrap router around entire Layout, use page setting to show/hide sidebar on page
* Fix the styles on show/hide buttons, add title & close button to the sidebar
* Use a min-height on visible sidebars
* Add/update READMEs
* Update space between main content & sidebar
2018-05-18 13:31:08 -04:00
Kelly Dwan
3554c4ef7d
Tests: Add Jest with Gutenberg as a npm dependency ( https://github.com/woocommerce/woocommerce-admin/pull/43 )
...
* Add Jest testing with Gutenberg as a dependency
* Add test using Enzyme
* Update for “element” moving
Something also must have moved api-request, so we mock that import now
2018-05-16 10:59:03 -04:00
Justin Shreve
f8f0464eba
Fix CSS reset duplication ( https://github.com/woocommerce/woocommerce-admin/pull/56 )
2018-05-16 10:42:39 -04:00
Justin Shreve
881598fa30
Fix mobile menu and header padding ( https://github.com/woocommerce/woocommerce-admin/pull/52 )
...
* Fixes mobile menu and padding for dash pages
* Handle PR feedback
2018-05-15 15:26:07 -04:00
Justin Shreve
e5bb7e556b
Add routing capabilities with basic analytics page ( https://github.com/woocommerce/woocommerce-admin/pull/44 )
...
* Add routing capabilities with basic analytics page
* Pass query string to child component
2018-05-15 11:06:15 -04:00
Timmy Crawford
f37da9deb9
Add languages directory and README.
2018-05-14 14:45:11 -07:00
Kelly Dwan
146547cb1d
Components: Add EllipsisMenu component ( https://github.com/woocommerce/woocommerce-admin/pull/40 )
...
* Add EllipsisMenu & MenuItem
* Add styles for menu items
* Don’t disable all keyboard interactions
Was breaking tab
* Move EllipsisMenu to client folder
* Clean up unused props & focus state
* Add an unfocusable MenuTitle component
* Update EllipsisMenu exports so that all menu-related components can be pulled from EllipsisMenu
* Make strings translatable
Even demo content should use translation functions :)
* Add README
* Fix arrow position
* Add box-sizing back to global reset
2018-05-14 11:47:42 -04:00
Justin Shreve
d7df8ed76e
Adds SCSS color variables and breakpoints ( https://github.com/woocommerce/woocommerce-admin/pull/39 )
...
* Adds SCSS color variables and breakpoint mixins
* Use webpack to pull in shared CSS
* Move notices reset rule to wpadmin-reset
* Prefix breakpoints, colors, and wpadmin reset
2018-05-14 09:41:30 -04:00
Justin Shreve
1dbf44ef55
Hide notices on woo-dash pages ( https://github.com/woocommerce/woocommerce-admin/pull/36 )
2018-05-11 13:07:53 -04:00
Justin Shreve
d380fd7569
Rename js/src to client ( https://github.com/woocommerce/woocommerce-admin/pull/38 )
...
* Rename js/src to client/
* Update the prettier format to only look in client/
2018-05-11 12:13:57 -04:00
Kelly Dwan
a629041508
Components: Add a "Card" component ( https://github.com/woocommerce/woocommerce-admin/pull/31 )
...
* Add a Card component
* Add basic styling
* Update example card
* `instanceOf` doesn’t work like expected, but we can require a specific component by looking at shape + object.type
* Use module-relative paths for components
2018-05-10 15:23:41 -04:00
Kelly Dwan
73f7284d77
Build Tools: Add precommit/prepush scripts, install if outdated ( https://github.com/woocommerce/woocommerce-admin/pull/34 )
...
* Add helper scripts from calypso
* Add the pre-push hook to protect master
* Add required packages
* Update README
* Remove unused package
2018-05-10 15:17:28 -04:00
Justin Shreve
41d9f7c524
Implement header component ( https://github.com/woocommerce/woocommerce-admin/pull/26 )
...
* Implements a header component with breadcrumbs
* Handle PR Feedback. Also moves admin URL to an object, and adds a README
* README: Card --> Header typo
2018-05-10 14:35:55 -04:00
Kelly Dwan
9d4bd0961d
Add jsx-a11y eslint rules ( https://github.com/woocommerce/woocommerce-admin/pull/33 )
2018-05-10 14:20:20 -04:00
Kelly Dwan
35d863bfe4
Move use-filters into `higher-order` folder
2018-05-10 12:41:01 -04:00
Kelly Dwan
03aca9f716
Update webpack config so we can use src-relative paths
2018-05-10 12:35:46 -04:00
Kelly Dwan
9a45e480c7
Fix woocommerce/woocommerce-admin#22 – remove foxhound globals from eslintrc
2018-05-09 12:55:09 -04:00
Kelly Dwan
19733a3049
Fix dependencies of scripts & styles
2018-05-08 10:40:39 -04:00
Kelly Dwan
db74d56587
Update packages
2018-05-07 11:19:43 -04:00
Kelly Dwan
ea2d3e8d5c
Update build destinations for JS and CSS, including global library namespace
2018-05-07 11:10:42 -04:00
Kelly Dwan
612925adc7
Merge pull request woocommerce/woocommerce-admin#12 from woocommerce/update/dashboard-layout-cleanup
...
Housekeeping: Clean up files, update webpack config
2018-05-07 10:59:13 -04:00
Kelly Dwan
68f6816c01
Merge pull request woocommerce/woocommerce-admin#5 from woocommerce/add/requirements-checking
...
Check for Gutenberg & WooCommerce before loading the plugin files
2018-05-07 10:56:13 -04:00
Justin Shreve
17f9db1a96
Add optional file parameter to woo_dash_dir_path ( https://github.com/woocommerce/woocommerce-admin/pull/11 )
2018-05-07 09:38:13 -04:00
Kelly Dwan
658281ea81
Update webpack for more possible future entry points
2018-05-04 15:54:44 -04:00
Kelly Dwan
810711993f
Add example “activity” chart to the sidebar
2018-05-04 15:08:03 -04:00
Kelly Dwan
959d47fa49
Update layout to have a sidebar
2018-05-04 15:08:03 -04:00
Kelly Dwan
9dbcf8570c
Remove filters from base dashboard component
2018-05-04 15:08:03 -04:00
Kelly Dwan
7b06b4abca
Simplify filter example
2018-05-04 15:08:03 -04:00
Kelly Dwan
03e53e1a1e
Move “numbers” widget to a new file
2018-05-04 15:08:03 -04:00
Kelly Dwan
ed053190b9
Fix Gutenberg detection condition
2018-05-04 14:54:50 -04:00
Kelly Dwan
5e37d798af
Add check for `GUTENBERG_DEVELOPMENT_MODE`
2018-05-04 10:46:16 -04:00
Kelly Dwan
4cc9ed1961
Check for Gutenberg & WooCommerce before loading the plugin files
2018-05-03 13:55:53 -04:00
Kelly Dwan
e8f9a5faed
PHPUnit: Ensure Gutenberg is loaded
...
Also adds the config from WC’s phpunit file
2018-05-03 13:36:36 -04:00
Justin Shreve
5ab120c910
Add the ability to use withAPIData ( https://github.com/woocommerce/woocommerce-admin/pull/2 )
2018-05-03 10:15:36 -04:00
Justin Shreve
4718475e8a
Add Gutenberg & WooCommerce prereq to the README ( https://github.com/woocommerce/woocommerce-admin/pull/1 )
...
* Add Gutenberg prereq to the README
I installed `woo-dash` without Gutenberg installed and ended up getting a fatal error. We should probably fix that as well/handle that better, but if we are going to rely on Gutenberg for the feature plugin we should mention it in the README.
* Add mention of WooCommerce as a prereq
2018-05-02 14:28:59 -04:00
claudiulodro
34f6d14bb1
Add best seller and top rated scopes
2018-04-25 12:03:08 -07:00
Claudiu Lodromanean
5df1d15a3b
Lowercase readme.txt
2018-04-23 10:35:30 -07:00
claudiulodro
b48feb62cd
Add gitatributes file
2018-04-23 10:34:21 -07:00
Tiago Noronha
75a4b1b294
Increase search input CSS specificity
2018-04-23 16:55:01 +01:00
claudiulodro
31d489a4ba
Readme
2018-04-20 10:17:55 -07:00
Kelly Dwan
05dacbe212
Add an admin page, build a simple component + filters
2018-04-19 16:40:32 -04:00
claudiulodro
188eaba8bb
Compartmentalize plugin
2018-04-19 09:53:21 -07:00
claudiulodro
5b24ae57e4
Fix broken padding from latest gberg update
2018-04-19 09:16:38 -07:00
Kelly Dwan
dbe06969fe
Add build process
2018-04-17 19:50:28 -04:00
Kelly Dwan
555da60b01
Initial commit of plugin scaffold
2018-04-17 17:04:17 -04:00
claudiulodro
3b55ae7c66
Bring up-to-date with master
2018-04-11 08:44:56 -07:00
Tiago Noronha
d509148d5b
Set results images to specific size
2018-04-10 16:54:06 +01:00
Tiago Noronha
a0110a982c
Hide outline and remove button when results are visible
2018-04-10 16:42:37 +01:00
Tiago Noronha
23b4d10036
Track if the results dropdown is visible or not
2018-04-10 16:34:53 +01:00
Tiago Noronha
d424d9f678
Set number of per page items to the number of individual products set
2018-04-10 15:14:39 +01:00
Tiago Noronha
a3b9df0e55
Change outline color
2018-04-10 15:01:31 +01:00
Tiago Noronha
f387eb4312
Selected products overflow fix
2018-04-10 14:44:12 +01:00
James Koster
e4bbd11cbc
Don't show "selected products" label when no products are selected
...
The instructions in the search input are adequate
2018-04-09 14:46:42 +01:00
James Koster
09bf724059
dropdown / hover styles
2018-04-09 14:32:54 +01:00
James Koster
d1566fb0d2
Update block scope details design
2018-04-09 13:53:38 +01:00
Tiago Noronha
f83c958eec
Remove button tag around selected product checkmark
2018-04-07 00:34:47 +01:00
Tiago Noronha
f4bfda9832
Updated individual products design
2018-04-06 23:57:20 +01:00
claudiulodro
6cb26a20c8
Style and fix bug
2018-04-06 14:03:06 -07:00
claudiulodro
bb576d2a9c
Attribute sidebar description
2018-04-06 13:12:26 -07:00
claudiulodro
9efc26a3b3
Sidebar info working great except for attributes
2018-04-05 12:25:59 -07:00
Tiago Noronha
5d42920036
Closes woocommerce/woocommerce-blocks#84 : Adds order setting to individual product scope
2018-04-05 18:22:44 +01:00
Tiago Noronha
08ec9fa803
Closes woocommerce/woocommerce-blocks#59 : Individual products - remove rows slider
2018-04-05 17:19:36 +01:00
Tiago Noronha
710e8d03eb
Closes woocommerce/woocommerce-blocks#73 : Search result row should be clickable
2018-04-05 16:55:36 +01:00
claudiulodro
24898d007d
Refactor main products block for better maintainability
2018-04-04 12:26:23 -07:00
claudiulodro
c8dfecdf9a
Wording update for All scope woocommerce/woocommerce-blocks#72
2018-04-03 10:33:20 -07:00
claudiulodro
d5dbda0d9f
Use theme default number of rows
2018-04-03 10:26:56 -07:00
claudiulodro
55054fcd02
Jump direct to preview if no further settings are required woocommerce/woocommerce-blocks#68
2018-04-03 09:56:00 -07:00
claudiulodro
06e76d402a
Change block icon woocommerce/woocommerce-blocks#85
2018-04-03 09:22:01 -07:00
claudiulodro
bc8e85006c
Remove list view woocommerce/woocommerce-blocks#70
2018-04-02 11:46:57 -07:00
James Koster
1393ab769a
Update order option labels
...
Also arranges the options alphabetically
2018-03-19 10:09:23 +00:00
claudiulodro
c3354c6363
Price orderby shortcode functionality
2018-03-16 09:43:25 -07:00
claudiulodro
6eba00b97a
Remove rand and add price ordering
2018-03-16 09:26:42 -07:00
claudiulodro
24059f109d
Orderby selector
2018-03-15 10:20:43 -07:00
Tiago Noronha
f238cbbca0
Change cursor for current display and prevent option from being selected
2018-03-15 15:07:09 +00:00
Tiago Noronha
c5424350ab
Fix inline if statement
2018-03-14 15:15:34 +00:00
Tiago Noronha
a92bc86761
Add active state to scope switcher
2018-03-14 15:11:36 +00:00
Claudiu Lodromanean
cdf1c7ec6e
Merge pull request woocommerce/woocommerce-blocks#65 from woocommerce/fix/bugs
...
Fix product preview bugs
2018-03-12 10:21:43 -07:00
claudiulodro
25e6666145
Hide grid/list toggle in edit mode and better edit button disabling
2018-03-12 10:20:00 -07:00
Claudiu Lodromanean
4c3470ce18
Merge pull request woocommerce/woocommerce-blocks#57 from woocommerce/improve/specific
...
Specific Select improvements
2018-03-12 10:04:44 -07:00
claudiulodro
8a7b00b7cc
Update tooltip wording
2018-03-12 10:03:51 -07:00
claudiulodro
52c6b37abf
Format prices in preview
2018-03-09 11:45:53 -08:00
claudiulodro
8dbc87ee37
Fix layout issues with column/row settings
2018-03-09 11:33:57 -08:00
claudiulodro
397937edd0
Use theme column settings and dont enable top edit buttons if no display selected
2018-03-09 11:04:01 -08:00
claudiulodro
faa3309a8e
Disable Done button if no display selected
2018-03-09 09:57:08 -08:00
claudiulodro
4c10e3312c
Caching for specific select
2018-03-02 11:18:42 -08:00
claudiulodro
72eedda5df
Prevent Done button when no selection
2018-03-02 10:05:13 -08:00
claudiulodro
866a634e9d
Reset display setting when display changes to prevent e.g. product ids in the category select
2018-03-02 09:39:12 -08:00
claudiulodro
21b0f59efc
Each attribute doesnt need a loading indicator
2018-03-02 09:16:28 -08:00
Claudiu Lodromanean
bd48a9e397
Update README.md
2018-03-02 08:33:27 -08:00
Tiago Noronha
c00f32506c
Tweak popover margin
2018-03-02 00:24:45 +00:00
Tiago Noronha
0104cf3c3e
Removed fixed attribute item size
2018-03-01 19:43:21 +00:00
Tiago Noronha
eae0dbcd1c
Remove hidden sidebar hack, fixed width counts, and simple blocks styling
2018-03-01 19:24:12 +00:00
Patrick Rauland
12d3aa6da4
Update README.md
...
Adding the vision to the readme so people know what this repo is for. :)
2018-02-27 13:54:30 -07:00
Claudiu Lodromanean
ee935b6385
Merge pull request woocommerce/woocommerce-blocks#47 from woocommerce/styling-fixes
...
Styling fixes
2018-02-27 12:50:33 -08:00
Patrick Garman
1c6e583c32
Update README.md
2018-02-27 11:07:49 -06:00
Patrick Garman
193aab84d0
Requires Gutenberg 2.2+
...
![](http://c.pmgr.mn/R56GOX+ )
:D
2018-02-27 11:06:58 -06:00
Tiago Noronha
365d05ee6a
Add max-height to individual product search results
2018-02-27 15:41:03 +00:00
Tiago Noronha
a011a91057
Align bottom gradient when there are no results
2018-02-27 15:36:20 +00:00
Claudiu Lodromanean
1d041a1c2b
Merge pull request woocommerce/woocommerce-blocks#44 from woocommerce/specific-products-styling
...
Specific products styling
2018-02-27 07:19:39 -08:00
Tiago Noronha
3ce176a8d8
Add background to search results parent div
2018-02-27 15:12:14 +00:00
Tiago Noronha
5a1532d64c
Fix max width percentage
2018-02-27 14:47:15 +00:00
Tiago Noronha
5dc8e0fc2a
Fix attributes max width
2018-02-27 14:41:35 +00:00
Tiago Noronha
7e4fed3b68
Small screen tweaks
2018-02-27 14:28:48 +00:00
Tiago Noronha
05acb959a9
Restore fade out transition when adding an item from search
2018-02-27 14:08:32 +00:00
Tiago Noronha
c0a25d5e78
Styling fixes
2018-02-27 11:56:18 +00:00
Tiago Noronha
c486bd4208
Specific products styling
2018-02-26 22:52:12 +00:00
claudiulodro
cb5d2be41e
Only show column controls when not list layout
2018-02-26 12:21:47 -08:00
claudiulodro
add00960dc
Fix deprecation notices caused by new gutenberg version
2018-02-26 12:13:08 -08:00
claudiulodro
2d6701b107
Hook settings up to API preview and fix rangecontrol warning
2018-02-26 11:58:19 -08:00
claudiulodro
2d2702e035
Generate shortcodes for all settings
2018-02-26 11:12:21 -08:00
Claudiu Lodromanean
4c8eb59b9a
Merge pull request woocommerce/woocommerce-blocks#40 from woocommerce/fix/previewapi
...
"Fix" preview API call
2018-02-26 10:37:58 -08:00
claudiulodro
6a8c7e02f9
Resolve merge conflicts
2018-02-26 10:26:08 -08:00
Claudiu Lodromanean
3c06393135
Merge pull request woocommerce/woocommerce-blocks#41 from woocommerce/beautify
...
Updated styling for Categories and Attributes
2018-02-26 09:53:47 -08:00
Tiago Noronha
a5c9ba5cad
Categories, attributes and general styling
2018-02-26 17:10:45 +00:00
claudiulodro
271276e27b
"Fix" preview API call
2018-02-23 12:05:44 -08:00
claudiulodro
6f6246c779
Copy products into new array when updating display setting
2018-02-23 11:38:59 -08:00
claudiulodro
fdadfa5753
Resolve merge conflicts
2018-02-23 10:46:25 -08:00
claudiulodro
86419ad130
Close display setting menu when clicked off
2018-02-23 10:22:05 -08:00
Tiago Noronha
ba040ffe5e
General and menu styling
2018-02-23 14:57:27 +00:00
claudiulodro
23c6acaba2
Remove toggles and order setting
2018-02-22 12:11:53 -08:00
claudiulodro
6f28b2e0b5
Close product search results when clicked off
2018-02-22 11:06:13 -08:00
claudiulodro
caf0a09a79
Fade out products when selected
2018-02-22 10:48:34 -08:00
claudiulodro
01f8dd6915
Fix default layout after gberg update
2018-02-22 07:33:18 -08:00
claudiulodro
a0f1a63504
Clean up
2018-02-21 11:59:40 -08:00
claudiulodro
8fa05f6dab
Previews for attribute selections
2018-02-21 11:53:36 -08:00
claudiulodro
9f03594ae0
Basic attribute filtering
2018-02-21 11:30:47 -08:00
claudiulodro
a879ddc36a
Attributes data is moving around correctly now
2018-02-21 10:43:21 -08:00
claudiulodro
3dde60703b
Bring up to date with master
2018-02-21 10:08:34 -08:00
Tiago Noronha
a6b5d546f4
Checkbox indeterminate state and reveal accordions on first laod
2018-02-21 13:58:20 +00:00
claudiulodro
9148e9801b
Working attributes select UI
2018-02-20 11:47:50 -08:00
Tiago Noronha
4ca9df7a79
Toggle children when toggling a parent category
2018-02-20 17:00:43 +00:00
claudiulodro
d5b02e2996
Resolve merge conflicts
2018-02-19 12:58:13 -08:00
Tiago Noronha
ec403f8fc8
Remove top level item margin when accordion is open
2018-02-19 20:19:06 +00:00
Tiago Noronha
8645fe83fc
Add method docblock
2018-02-19 20:07:32 +00:00
Tiago Noronha
e60c2d2970
Remove redundant parameter
2018-02-19 20:05:59 +00:00
Tiago Noronha
99f3de3098
New design
2018-02-19 19:57:37 +00:00
claudiulodro
9949564a42
Products search and select
2018-02-16 11:40:19 -08:00
claudiulodro
f8f01a8e8f
Toggle open/close when clicking on settings groups
2018-02-15 11:54:03 -08:00
claudiulodro
d94773bd6f
Modularize the settings screens
2018-02-15 10:16:14 -08:00
claudiulodro
149a546290
Update menu functionality to match latest designs
2018-02-15 09:42:24 -08:00
claudiulodro
6533d2f166
Set up and move things over for a feature plugin
2018-02-13 11:03:53 -08:00
claudiulodro
22e23e7252
Initialize with readme
2018-02-13 09:32:11 -08:00
Mike Jolley
cb3dcf5eae
Fix URls and folder naming
...
Closes woocommerce/woocommerce-beta-tester#6
Closes woocommerce/woocommerce-beta-tester#7
2017-06-19 15:28:17 +01:00
Mike Jolley
9e81908d52
Updated API URL.
2017-03-17 14:52:43 +00:00
Mike Jolley
0eff9df60f
Get latest prerelease
2016-01-06 11:32:10 +00:00
Mike Jolley
f4bb640d0a
4.4 is fine
2015-11-26 15:44:00 +00:00
Caleb Burks
69bdf85d2f
Contributors update
2015-08-27 06:38:06 -05:00
Allen Snook
773425e7bc
Test for woocommerce installation before attempting anything
2015-07-22 15:34:43 -07:00
Claudio Sanches
c75307a785
Updated the readme.txt
2015-07-15 16:53:30 -03:00
Mike Jolley
3915c1e29f
And its alive! Working with new tag names.
2015-07-15 13:31:06 +01:00
Mike Jolley
ad1e91545b
More work - does not work yet due to version names
2015-07-14 19:31:22 +01:00
Mike Jolley
fbb3c906c2
WooCommerce Beta Tester first bunch of code (untested)
2015-07-14 18:35:57 +01:00