Commit Graph

940 Commits

Author SHA1 Message Date
renovate[bot] e996d305cc Update dependency css-loader to v1.0.1 (https://github.com/woocommerce/woocommerce-admin/pull/719) 2018-10-29 11:26:42 -04:00
renovate[bot] 56f87e25fa Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/715) 2018-10-29 11:26:10 -04:00
renovate[bot] 7288434f79 Update dependency eslint to v5.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/709) 2018-10-26 13:22:44 -04:00
renovate[bot] 9c0dd84677 Update dependency eslint-plugin-jest to v21.26.2 (https://github.com/woocommerce/woocommerce-admin/pull/705) 2018-10-26 10:19:23 -04:00
renovate[bot] 56f047c6f3 Pin dependency @babel/plugin-transform-react-jsx to 7.0.0 (https://github.com/woocommerce/woocommerce-admin/pull/680) 2018-10-25 15:26:06 -04:00
renovate[bot] 6ce21d5fff Update dependency webpack to v4.23.1 (https://github.com/woocommerce/woocommerce-admin/pull/683) 2018-10-25 15:24:44 -04:00
Kelly Dwan d5c2787520 Build: Update babel config (https://github.com/woocommerce/woocommerce-admin/pull/677)
* Update babel config

* Fix typo in babel config

* Update babel config, fix missing transform
2018-10-24 17:17:23 -04:00
renovate[bot] 393a56183b Update dependency webpack to v4.23.0 (https://github.com/woocommerce/woocommerce-admin/pull/673) 2018-10-24 16:16:18 -04:00
renovate[bot] 72ed89a19c Update dependency eslint-plugin-jest to v21.26.1 (https://github.com/woocommerce/woocommerce-admin/pull/672) 2018-10-24 16:11:14 -04:00
renovate[bot] 8acafde981 Update dependency autoprefixer to v9.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/669) 2018-10-24 11:18:43 -04:00
renovate[bot] cc635d7697 Update react monorepo to v16.6.0 (https://github.com/woocommerce/woocommerce-admin/pull/662) 2018-10-24 11:17:16 -04:00
renovate[bot] 2a68549e30 Update dependency @wordpress/api-fetch to v2.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/625) 2018-10-23 14:00:15 -04:00
renovate[bot] a978fa1e5e Update dependency eslint-plugin-jest to v21.26.0 (https://github.com/woocommerce/woocommerce-admin/pull/629) 2018-10-23 13:59:42 -04:00
renovate[bot] 9de04598a9 Update dependency webpack to v4.22.0 (https://github.com/woocommerce/woocommerce-admin/pull/617) 2018-10-23 11:10:49 -04:00
renovate[bot] 19295ebcfb Update dependency autoprefixer to v9.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/637) 2018-10-23 11:09:45 -04:00
Jonathan Belcher 521fc2528c Removes phpcs from npm run lint (https://github.com/woocommerce/woocommerce-admin/pull/640) 2018-10-23 11:08:00 -04:00
Jonathan Belcher 24ec81dddd Adds phpcs npm command (https://github.com/woocommerce/woocommerce-admin/pull/609)
* Adds phpcs npm command

* fix naming of commands
2018-10-22 12:34:28 -04:00
renovate[bot] 1dfd3b186b Update wordpress monorepo to v2.1.4 (https://github.com/woocommerce/woocommerce-admin/pull/614) 2018-10-19 20:35:53 -04:00
Allen Snook b8a83bf1e1 Allow selected tags through to the note content 2018-10-19 14:21:54 -07:00
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] 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
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
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
renovate[bot] 9c147c6e82 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/573) 2018-10-18 12:57:29 -04:00
Jonathan Belcher 8fec1f3fc1 Merge branch 'master' into feature/438 2018-10-17 12:44:33 -04:00
Paul Sealock 178135eea5 i18n: Advanced Filters strings 2018-10-12 16:58:35 +13: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 c0eadbaabb Merge branch 'master' into feature/438 2018-09-27 12:39:57 -03: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
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
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
Claudio Sanches 0136912a06 Added grunt-checktextdomain 2018-09-21 14:13:28 -03: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
Robert Elliott e79a4b9025 remove he package and rename uniqueDates to ticks 2018-09-17 11:07:11 +02:00
Robert Elliott a7ed5f0c85 html encoder for currency symbols 2018-09-12 13:16:36 +02:00
Timmy Crawford b184aa2324 Update gridicons to v3.1.1 2018-09-11 13:10:44 +02: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
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 39ca2cc627 Remove apiRequest in favor of apiFetch (https://github.com/woocommerce/woocommerce-admin/pull/309) 2018-08-21 15:02:49 -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
Paul Sealock 45231f9049 add theming to Gutenberg components' 2018-08-02 12:25:00 +12: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
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
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
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 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
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 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
Robert Elliott 01eea75a2a bug fixes to drawLines and dummy renders of bars and lines on Dashboard 2018-07-09 15:35:24 +02:00
Robert Elliott 806d423324 bar chart and example 2018-07-09 15:35:12 +02:00
Justin Shreve f0c27ee999 Activity Panel: Unread bubble, animations, cleaned up styles/mobile handling (https://github.com/woocommerce/woocommerce-admin/pull/154)
* Activity Panel Updates: Unread bubble, animations, cleaned up styles and mobile handling.

* * Color and animation definition cleanup
* Fix animation for tab switch
* Clicking outside the panel will close it
* Hover bubble border
* Aria attributes/tablist

* Fix mobile styles
2018-07-06 08:40:05 -04:00
Justin Shreve 2070337459 Add Gridicons (https://github.com/woocommerce/woocommerce-admin/pull/136) 2018-06-28 11:23:26 -04:00
Paul Sealock be002e442a DatePicker: Hook up react-dates 2018-06-27 14:11:13 +12: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
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
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 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
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 db74d56587 Update packages 2018-05-07 11:19:43 -04:00
Kelly Dwan 05dacbe212 Add an admin page, build a simple component + filters 2018-04-19 16:40:32 -04: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