Fixeswoocommerce/woocommerce-admin#6172
This adds the PayU plugin as a payment task option. Based on the requirements, we've opted for this just to be a simple task that installs the plugin and lets the user configure the plugin later via it's settings screen.
* Update menu ID when favoriting an item
* Allow favorites to be included alongside the primary menu items
* Add categories to favorites menu server-side
* Don't reset menu state when active item is the same
* Make sure favorites are finished resolving before showing
* Remove the late addition of the core items for the navigation
* Add fallbacks in case the nav is not detected server-side
* Check if ref is set before resizing
* Add settings pages
* Replace the original settings page in the wp menu
* Add the settings feature toggle
* Get core items at later priority to allow registering all settings
* Add category title component
* Add category title styling
* Record tracks event when toggling favorite
* Fix aria labels
* Fix colors for favorite button
* Use CategoryTitle for secondary nav menu
* Move navigation to WC header
* Remove wp toolbar class
* Set body margin on header change
* Fix up layout margins
* Remove excess padding on mobile
* Fix navigation preload styles and embed
* Fix preloading space due to adminbar missing
* Remove embed padding on wrap
* Fix body display for wpadmin menu
* Fix up wpadminbar reset padding
* Remove body padding on full screen layouts
* Fix mobile admin bar height on full screen
* Clean up body margin on unmount
* Center the activity panel (https://github.com/woocommerce/woocommerce-admin/pull/6289)
* Center the activity panel
* Handle PR feedback
* Fix up secondary nav group style changes
* Remove screen reader style changes
* Debounce resize event
* Make responsive button selector more specific
Co-authored-by: Hsing-Yu Flowers <hsingyuc.7@gmail.com>
* change admin_head to admin_menu
* Update comment to better document why priority is being set on admin_menu
* Add conditional check for 5.1
* save
* working?
* fixup
* migrate flyout creation
* add comment
Co-authored-by: Matt Sherman <matt@jam123.com>
* change admin_head to admin_menu
* Update comment to better document why priority is being set on admin_menu
* Add conditional check for 5.1
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Update highlight tooltip to make use of anchor logic
* Add changelog
* Make sure the extra parent is removed as well
* Small refactor to update anchor rect later on, incase items are still rendering
* Add favorites data methods
* Add reducer tests
* Refactor actions to be more event based
* Add favorites resolver
* Fix requesting property for addFavorite
* Fix up misnamed types and missing yields
* Update nav data store to work with REST endpoints
* Remove errant addFavoriteSuccess call
* switch block-settings alias to settings and fix mapped external
* don’t force compilation of externals to `this` scope.
* update various meta data in package related files (changelog etc)
* update starter pack
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Add WordPress version selection to Docker PHP test suite
* Remove guard for old WordPress version
It was producing an error message when valid versions like “5.3” are selected:
bin/install-wp-tests.sh: line 22: [: 5.3: integer expression expected
I removed it since disallowing older versions doesn't really add any value now.
* Bump image version to trigger rebuild
* Fix existing WordPress version not being replaced
The install-wp-tests.sh script does not install WordPress if a previous installation is detected.
To enable WP version switching, the ENTRYPOINT removes previous files to ensure the installation starts from a clean state.
* Partially revert abd8ab80dc7ef6b57316636d467b511a07d0c5d3
The typo fix was accidentally included in this commit.
* Fix installation routine running every time
A typo was causing the installation routine to run on each use.
* Initial paypal plugin name replacement
* Add necessary fields for the Paypal plugin
* Updated payment methods info to use new options key
* Add most of the OBW paypal integration
* Some old code cleanup
* Get ready for the dynamic onboarding addition.
* Update paypal onboarding, adding script after plugin enabled
* Revert some old changes
* Check if plugin is enabled correctly
* Allow for manual input as a fallback
* Fix unit tests and alter the config updates
* Update plugin to use latest rest endpoint instead :)
* Add comment
* Fix some naming from PR feedback
* Made use of the payment gateway info from tasks/status, and show 500 error message
* Add support for the status and set credential endpoints
* Set the enabled value in ppcp-settings as well
* Added fall back for the 'get-status' method
* Fix issue where I was overwriting the options :/
* Small fix for when updating items manually
* Add changelog
* Remove old tests
* Add testing instructions
* Change from MenuGroup to label
* Remove icon
* Remove icon folder
* Update input style
* Remove list message
* Run test snapshots
* Add single knob
* Add changelog
* Change to wrap list with ul
* Run snapshots test
* Add styling on li
* Move renderList outside of li to prevent nesting
* snapshots test