Commit Graph

21199 Commits

Author SHA1 Message Date
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