-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select Orders #2549
Select Orders #2549
Conversation
Great! This is close. Here are a few notes. Here's the zeplin file I mentioned. |
@kieha I talked to @mikemurray about this. He thinks we should solve the border select state in a different Issue. So let's push this out with just the background select and work on the rest later. So, design approved. |
@rymorgan awesome. Let me push it without the border. |
Have we updated this with the current |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of questions
@@ -258,50 +258,59 @@ class OrdersList extends Component { | |||
customColumnMetadata.push(columnMeta); | |||
}); | |||
|
|||
const selectedRowsStyle = { | |||
backgroundColor: "#e8fcf6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to have a hardcoded color here?
@@ -2,7 +2,7 @@ | |||
|
|||
exports[`Badge snapshot test 1`] = ` | |||
<span | |||
className="rui badge" | |||
className="rui badge Classes to apply" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the className
prop to the Badge
component so that I could style one of the badges on the order list a bit differently. Since the Badge
component has tests written for it, the tests were failing at first because of the prop I had added. On running the tests locally and seeing it fail, there was a suggestion to update the snapshot for the badge test (the file above) by running npm test -- -u
, which on running it, added the bit of code above, thus fixing the failing tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks for the explanation
@zenweasel In the PR's description above I mentioned that the two buttons that appear on the bar are not functional and that I'd add the functionality in #2341 which I'm currently working on. |
@kieha Sorry, my mistake then |
@zenweasel this is ready to take another look at. |
orders, selectedItems, handleSelect, | ||
handleClick, multipleSelect, selectAllOrders, | ||
fulfillmentBadgeStatus, shippingBadgeStatus | ||
orders, selectedItems, handleSelect, handleClick, multipleSelect, selectAllOrders, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I think this might be better to just use this.props.xxx
rather than this long destructuring statement.
getTrGroupProps={() => { | ||
return { | ||
style: { | ||
borderRight: "1px solid #e6e6e6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way to not hard-code these values in? (I know you are sort of "inheriting" this code)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zenweasel yeah, it's possible. Getting on it now.
Mostly this is ready to merge. If we can figure out a way to not have hard-coded styles I would feel better about it. |
Looks good to me |
* Allow customer to move past validation after one pass * Silencing needless warning * Add missing imports * When we get a "GetTax" error, revert to addressbook * Capture and parse errors * Creating a "review and fix" address review screen * Show highlited diff. Copy over values on click. * Removing "debug" HTML * Add "review address" translation * Basic "review address" flow working * Remove console.log * Fix missing import * Fix import error * Return to edit and refresh address when you cancel out of review * Make edit behave the same as add * Tweak styling * More and more style changes * Use proper color variables * Create proper behaviors * Fix bad evaluation * Fix import order * Add i18n * Don't throwback a step if tax fails * Make this more of an "exception" flag * Adding the license description with link on README (#2365) * added Nigerian Naira to currency list in (#2366) private/data/Shops.json * CollectionFS cfs:tempstore and cfs:worker to fix concurrency issues with GridFS uploads (#2096) * added cfs tempstore and worker to fix concurrency issues * linting * Correct the way we record tax overrides * [WIP] Meteor 1.5 (#2371) * Meteor 1.5 - include Buffer polyfill - replaces abernix:standard-minifier-js with standard-minifier-js - properly pins job-collections to 1.4.0 * Updated to 1.5.0 base image * Pin react-meteor-data to 0.2.9 * Remove unused vars Cherry pick b36709c19 e47b25049f90643739df4bcf5210d64 * update to reactioncommerce/base:v2.0.0 * transliteration 1.6.2 (#2389) - Related to #2090 and #2091 - Reduces minified footprint by315k - updates client import * Meteor1.5 and docker updates (#2390) * fix error handling in CI deploy script * fix CI build script * add docker-compose.yml for CircleCI * install Docker Compose in CI * set docker/docker-compose versions in CI env * fix missing curl issue in CI test * Updated 1.5 packages * rename TacoTable to Legacy * upgrade griddle NPM * rename MeteorGriddle to SortableTable * Declare variable (#2401) * Implement missing router functions (#2393) * Implement missing router functions - Implement `Router.setQueryParam()` - Fix `Router.getRouteName()` * Fix function name for `setQueryParams` * Fixes and tests - Added jest config to package.json - Added some jest unit tests for Router - Added mocks for some dependencies - Fixed route matching in Router.isActiveClassName method * fix package.json to run tests (#2396) * Removed comment * Remove duplicated setQueryParams function Fixed variable * 2332 Fix Improper Cart Merge (#2387) * add test suite to replicate #2332 * fix improper cart merge when user cart has items in anonymous cart already * update anonymous cart `variants._id` to equal user cart `variants_id` * fix console error when merging into newly logged in user cart * implement review * Change line width to match GH PR review width (#2407) * Orders updates (#2400) * add expandable header to summary * i18n - move keys into local package * new npm package * new Badge component * i18n updates * badge style updates * add Badge and clicktocopy to components * clickToCopy component * badge component * i18n updates * badge and ClicktoCopy components * add card to summary section of orders * Merge branch 'ek-orders' into ek-orders-summaryPanel # Conflicts: # package.json * update orderSummary fields * fix imports * ordersList react-ivize * fix prop validation * validation fixes for Badge component * remove no longer used files * comment out old blaze templates leaving them here for a bit just to make sure no errors occur * remove blaze templates * orders panel LESS * update workflow loop to remove extra headers * removed errant test text * fix translations * update shrinkwrap * tests * simpleschema * comment killing * New test for <ClickToCopy /> * lint fixes * fix * add more props to Badge test * refund button coming in phase2 * fix import / console error * Update random.js * lint fixes * use route permissions in register.js files (#2388) * Milestone 54 / Convert Navbar to React (#2306) * Navbar dropdowns conversion to React (#2230) * Implement currencies using Dropdown Menu Component * Add active prop on list item in Dropdown menu * Resolve reactivity for currency drop down * Add language dropdown implementation * Add select on current selected language * Remove extra code * Have language icon div be larger * Fix pop over arrangement * Fix spacing, add caret on language dropdown * Deal with display when switches are pff * Fix overflow issues on dropdown-menu * Fix linting * Close dropdown on menu item click * Add import for Match * Convert login views to React (#2250) * Initial component/container setup for sign in page * Replicate look of sign in form * Replicate look of sign up form * Use composeWithTracker in signInContainer * Replicate look of forgot password form * Create parent login container to hold general login for views * Add switching between views logic * Set up sign in form submission * Set up sign up form submission * Set up forgot password form submission * Handle sign in action and error message display * Remove template methods * Remove template methods and alert message template * Rewrite renderPasswordErrors method * Render social buttons on login * Add social login functionality * Remove unnecessary blaze templates * Move functions to React * Implement sign up functionality * Merge signin and signup containers * Put back helper methods needed by other templates * Abstract loginFormMessaged into react container * Add forgot password functionality (part1) * Remove unnecessary component in helper * Remove forgot password template * Clean up folder structure * Solve invariant violation browser error * updatepasswordOverlay react component/container * completed updayePasswordOverlay functionality * Remove stopPropagation function * Capitalize social login name * Show loading spinner while processing button clicks * Solve onClick not working by removing 'event.stopPropagation()' on parent template * Remove JQuery and use lodash * Using 'event' instead of 'e' to reference event handlers * Add validation for no email input on forgot password * Add error message on social login * Move capitalize function to helper file * Move capitalize function to helper file * [WIP]Main navbar container conversion to React (#2277) Main navbar container conversion to React * Convert to react: Tag navigation (#2251) * Test tagnav component * Use existing tag component * Update component setup * Use existing tagsList container * Remove debugging * Edit button * Use tagItem loop to match styles instead of existing * Base tagTree init * Fix structure * Fix dropdown mouseover event * Edit conditional * Base tag editatble * Button switch fix * On edit fix * Selectable button icon * Enable drop of tagtree by icon * Init edit mode for tagTree * Tagtree second level new tag * Typo fix * Fix top level width and classes * Show Base tagList * Lint clean up * Remove commented code * Style fix and show new tag on edit * i18n * Init saving top level tags * Saving tags - cont * New tag save fix * Switching to Taglist custom * Saving top level * Enable new tag option * Move class names to base comp * Style on create new tag item * Fix Hover back * Move file * Tag select prop * Rename files * Fix save and delete * Reorder element wrapper * Init passing the functions down * Init editing new tag item on tree * Separate the two new tagItems * Adding new tags on tree + refactor 🎉 * Fix delete on subtags * Reset form after save and prevent saving empty tags * Prevent close of tree after save * Restructure tree state to fix input * Init refactor on tagTree * Props setup after refactor * Reposition button * Autocompletion fixing * Add componentWillReceiveProps to fix re-render and reset * Refactor into container comp * Remove debugs * Use composewithTracker * Remove props with spread * Update props list * Fix logic breaking new tag style * Tag sort order after drag * Clean un-used vars * Add react tagNav to main navbar container * Fix lint issue * Init toggle visibility * Close tags with overlay * Remove JQuery references(part 1) * Add router.go for tag click * Mobile fixes and remove blaze files * Fix click on mobile * Remove jquery * Remove jquery .closest * UI tagnav classes update * Fixes * Fix undefined refs after merge with development * Remove unused vars * Editing should turn off on toggle * Use Translation component over data-i18n * Fix Brand name glitch * Prefer standalone PropTypes import over React.PropTypes * Inport i18next and Reaction in same line * Space at end of self-closing tag * One-lining imports * Place ' ' inside span for less random-looking code * Add comment about style * Use Divider component as separator * import order * remove duplicate babel preset packages * Updated yarn.lock and removed npm-shrinkwrap.json I’ll try to add back in the release branch, but something funky is going on with shrink-wrap * break up sortable table from sortabletablelegacy (TacoTable) * merge * Admin should be able to invite a user with the same name (#2386) * turn the user name to lowercase * turn the user name to a lowercase string with a random number e.g michael-alade49 * add custom name field to users and accounts schema * create new env var for setting default admin’s name * publish new name field for users * remove unnecessary typeof check for Reaction var * switch priority for user’s displayName source * remove redundant email update and only add user’s name if exists * Update version * switch to Reaction’s new fork of Nodemailer (#2427) * change object key names to use with react-table instead of griddle * kill griddle, add react-table * remove useGriddleStyles prop * remove testData * Added module aliases (#2436) * Added module aliases - Added module alias for `core/ui` - Added module alias for `core/router` * Revert jest module name mapper * fix tests - Fixed duplicated mocks warning - added some new mocks - fix translaton component test * LingoHub Update 🚀 (#2420) Manual push by LingoHub User: Aaron Judd. Project: reaction Made with ❤️ by https://lingohub.com * Add css style to differentiate read from unread notifications (#2442) * Remove acceptance tests (#2430) * Remove non-working tests * Remove unneeded dependencies * Fixed console error when dragging product images (#2443) * finished up the popover * Add closeOnClick option to DropDownMenu component (#2418) * Add closeOnClick option to DropDownMenu component * Fix lint issue - move handleDropdownToggle after componentWillReceiveProps * add missing "orders not found" text (#2424) * sortableTable updates * sortableTable Styles * remove old ui-grid, move into components sortableTable * update size of Templates dashboard for better usability * Updated chai package - tested with reaction test, tests seemed to work normal * ridding the wrapper of old Griddle info * more props passed to wrapper * fixes for email table * update Email table to use ReactTable * email table convert to ReactTable * Bunyan and Loggly updates (#2425) * switch to official Loggly lib for Node and write new Bunyan connector for it * update bunyan to 2.0.0 * add REACTION_LOG_FORMAT config option * add extra comments about log formatting options * refactor default admin user creation (#2453) * update memory usage in CircleCI build (#2462) * finished implementing design * Navbar hover issue (#2451) * added default hover style for languages and currencies class #2444 * added accounts css class to div in mainDropdownContainer #2444 * added hover styles for account class #2444 * added hover style for notification class #2444 * set css property overflow on horizontal to hidden (#2458) * [WIP] 2452 fix on UI icon toolbar (#2460) 2452 fix on UI icon toolbar * [WIP] 2356 fix on tag menu-sidebar glitch (#2472) Fix on tag menu-sidebar glitch * format price string for invoice details * update media gallery new / deleted image indicators (#2469) * add new status for mediaGalleryIndicator * i18n translations for tooltips * status-badge styles for media gallery * update media gallery image new / deleted indicator * style updates * lint fix * Remove random regex checks on names. Fixes #2461 (#2471) * remove older Blaze based launchdock plugin (#2467) * 2459 router range error fix (#2476) * simple fix * fix typo & linting * fix linting issues * custom pagination component for React-Table * update Avalara to use ReactTable * add spacing below tables * 2422 Fix on email invite link leading to blank screen (#2437) * imported LoginFormValidation to forgotContainer * imported LoginFormValidation to passwordOverlayContainer * added setTimeout function to delay rendering * wrap component in translations (#2434) * removed setTimeouts from updatePassword.js * added spinner before mounting the component * replaced setTimeout with life-cycle hook(componentWillRecieveProps) #2422 * imported LoginFormValidation to prevent console error * Update current user's name on Navbar and profile page when address is added. (#2455) * Update current user's name and profile when address is added * Update user's name when address is updated * Get correct admin user's name from env variables * add invoice actions * Updated dependencies (#2463) * Move babelrc into package.json * Updated dependencies * Define missing options variable * remove leftover console.logs * lint fixes * lint fix * query prop validation * pagination updates * Revert minifier to abernix fork (#2486) * Use abernix:standard-minifier-js Replace standard-minifier-js with abernix:standard-minifier-js@2.1.0-beta.0 This should be compatible with current 1.5 tools, and is what we were using before 1.5, because of the faster compilation and reduced memory footprint. Restoring in an attempt to diagnose build issues related to memory. * updated meteor package versions * componetize pagination * Release 1.3.0 (#2417) ## Features - **Meteor 1.5 (#2371)** - **Order fulfillment UI updates (#2400)** - **React Router updated (#2123)** - **React Navbar (and deprecated Blaze navbar) (#2306)** - **Re-introduce icon toolbar as shortcutBar (#2261)** - **React unit testing example (#2170)** - **[WIP] [Style guide](https://styleguide.reactioncommerce.com)** ## Changes / Fixes - __Update current user's name on Navbar and profile page when address is added. (#2455)__ - __Fix #2422 on email invite link leading to blank screen (#2437)__ - __Fix #2459 router range error fix (#2476)__ - __Remove older Blaze based launchdock plugin (#2467)__ - __Remove random regex checks on names. Fixes #2461 (#2471)__ - __Update media gallery new / deleted image indicators (#2469)__ - __Fix #2356 on tag menu-sidebar glitch (#2472)__ - __Fix #2452 on UI icon toolbar (#2460)__ - __set css property overflow on horizontal to hidden (#2458)__ - __Navbar hover issue (#2451)__ - __update memory usage in CircleCI build (#2462)__ - __refactor default admin user creation (#2453)__ - __Bunyan and Loggly updates (#2425)__ - __Updated chai package__ - __add missing "orders not found" text (#2424)__ - __Add closeOnClick option to DropDownMenu component (#2418)__ - **Fixed console error when dragging product images (#2443)** - **Remove unmaintained Browserstack acceptance tests (#2430)** - **Add css style to differentiate read from unread notifications (#2442)** - **Added module aliases @reactioncommerce/reaction-ui (#2436)** - **Switch to Reaction’s new fork of Nodemailer (#2427)** - **Admin should be able to invite a user with the same name (#2386)** - **Updated yarn.lock and removed npm-shrinkwrap.json** - **use route permissions in register.js files (#2388)** - **Updated, refreshed order/fulfillment UI (#2400)** - **Change line width to match GH PR review width (#2407)** - **Fix Improper Cart Merge (#2387)** - **Implement missing router functions (#2393)** - **Correct the way we record tax overrides** - **CollectionFS cfs:tempstore and cfs:worker to Fix concurrency issues with GridFS uploads (#2096)** - **Fix typo in inventory test description (#2364)** - **Added Nigerian Naira to currency list in (#2366)** - **Fix git tagging on CircleCI 2.0 (#2362)** - **Adding the license description with link on README (#2365)** - **Better handling for unique routes for React Router (#2327)** - **Don't throwback a step if tax fails** - **Updated UI colors for styleguide (#2339)** - **Add loading component to Fix error (#2340)** - **Allow a MAIL_URL string without auth (#2330)** - **Defer Fixture load until the default shop is loaded (#2329)** - **Fix conditional in Circle deploy script (#2338)** - **Fix refunds not showing (#2317)** - **Add Verification Url to Welcome Email (#2216)** - **CircleCI 2.0 and docker base update (#2334)** - **i18n translation updates (#2302 #2420)** - **Change customer notification message when order is processed. (#2290)** - **Allow loader to show when one is passed in and defined BUGFIX (#2303)** - **Add the Vietnamese Dong as a supported currency (#2248)** - **Updated shipping / payment error messages in checkout (#2271)** - **Fix #2203 Long Strings Handling in Product Option Title (#2266)** - **Simplify core layout component (#2257)** - **Fix multiple refunds for stripe (#2260)** * Fix error when inviting already invited user (#2433) * Refactor invite function to send invites only to non invited members * Refactor error message to show status code * Change the error message to use inline Alert * Clear input fields when there is error * Use Reaction's blaze inlineAlerts for error message * Eliminate console error on inviteShopMember call * move emailconfig css to LESS file * Updated timeout time. (#2492) * Updated timeout time. * don't autohide This should not autohide, the error should display until a user resubmits with a new email address. If the error is hidden, they might not see it right away and miss it. This is a blocking error for this field so it should stay until resolved. * style updates for sortableTable * update translations * custom full-table filter for ReactTable * Fixed product images not displaying on order completed page (#2490) * custom full table filter * new match-sorter package for custom filter * Fix hard refresh on clicking tag link on product detail page (#2489) * Provide tag component with missing click function * Remove hard refresh on PDP link in Grid settings * Remove redundant risul:moment-timezone (#2491) * add translations for default table text * translations * kill translations for the moment, something is acting up * add catch for error when no data is available * List view toggle * Use sortableTable to display list * finish order line item popover functionality * First styling iteration * Add table classname * allow only users with the orders and dashboard/orders permission to view the popover * Merge with marketplace * Styling second iteration * Rewrite orders.js into React; Remve filters on orders * Add onto checking capabilty * Buyah * Replace span toggles with buttons * Styling iteration * Select all checkbox * Change import to match style guide * Check all * Massive refactor * few style additions * Hide columns on screen size change * Checkbox multi select tweak * Corrections from review * Center column data * Styling merge with checkboxes * Pagination reorder * Toggle, control buttons * Change sortable bar color * Toggle buttons within container and pagination margin increse * Remove old pagination * Checkboxes add * Fix collapsable column problem * Center align row data * Fix row size change * Add @reactioncommerce/reaction-collections * Remove line items code from merged in PR * Fix minor issues as commented on PR * Use assign as opposed to extend * Fix button new/prrocessing change * Make button unresizable * Use less files to style table * Refactor code * Fix lint issues * Fix table moving up and down * remove order actions files not being used anymore(might be reason for pagination error) * Select Orders from main orders screen (#2549) * Toggle bulk order actions bar on checkbox select * Handle multiple select of orders (part 1) * Toggle ReactTable header visibility on order(s) select * Handle multiple select of orders (part 2) * Handle multiple select of orders: fully working * Select all orders on 'Check All' even if one was already selected * Vertically align bulk actions bar contents * Center align checkbox/avatar with parent check-all box * Change checkbox class name * Change checkbox class name * Change checked icon to font-awesome check * Add className prop to badge component * Allow for selected rows to be styled in React Table * Style selected order rows * Match padding between top and bottom in bulk order actions bar * Remove border from selected orders * Add i18n for bulk order actiobs bar elements * Update badge snapshot to include provided className * Bulk order actions bar styling based on new order table styles (part 1) * Bulk order actions bar styling based on new order table styles (part 2) * Fix bithound issues * Fix bithound issues * Remove hardcoded selected row background color, give selected row a className and style in stylesheet * Remove hardcoded styles in the table * Prefer this.props over long destructuring statement * First working instance for new Orders detail view * Refactor code * Wrap up on styling * Fix broken bulk order select * Fix header padding * Remove bulk order bar on orders detail view * Fix lint error
* more props passed to wrapper * fixes for email table * update Email table to use ReactTable * email table convert to ReactTable * Bunyan and Loggly updates (#2425) * switch to official Loggly lib for Node and write new Bunyan connector for it * update bunyan to 2.0.0 * add REACTION_LOG_FORMAT config option * add extra comments about log formatting options * refactor default admin user creation (#2453) * update memory usage in CircleCI build (#2462) * finished implementing design * Navbar hover issue (#2451) * added default hover style for languages and currencies class #2444 * added accounts css class to div in mainDropdownContainer #2444 * added hover styles for account class #2444 * added hover style for notification class #2444 * set css property overflow on horizontal to hidden (#2458) * [WIP] 2452 fix on UI icon toolbar (#2460) 2452 fix on UI icon toolbar * [WIP] 2356 fix on tag menu-sidebar glitch (#2472) Fix on tag menu-sidebar glitch * format price string for invoice details * update media gallery new / deleted image indicators (#2469) * add new status for mediaGalleryIndicator * i18n translations for tooltips * status-badge styles for media gallery * update media gallery image new / deleted indicator * style updates * lint fix * Remove random regex checks on names. Fixes #2461 (#2471) * remove older Blaze based launchdock plugin (#2467) * 2459 router range error fix (#2476) * simple fix * fix typo & linting * fix linting issues * custom pagination component for React-Table * update Avalara to use ReactTable * add spacing below tables * 2422 Fix on email invite link leading to blank screen (#2437) * imported LoginFormValidation to forgotContainer * imported LoginFormValidation to passwordOverlayContainer * added setTimeout function to delay rendering * wrap component in translations (#2434) * removed setTimeouts from updatePassword.js * added spinner before mounting the component * replaced setTimeout with life-cycle hook(componentWillRecieveProps) #2422 * imported LoginFormValidation to prevent console error * Update current user's name on Navbar and profile page when address is added. (#2455) * Update current user's name and profile when address is added * Update user's name when address is updated * Get correct admin user's name from env variables * add invoice actions * Updated dependencies (#2463) * Move babelrc into package.json * Updated dependencies * Define missing options variable * remove leftover console.logs * lint fixes * lint fix * query prop validation * pagination updates * Revert minifier to abernix fork (#2486) * Use abernix:standard-minifier-js Replace standard-minifier-js with abernix:standard-minifier-js@2.1.0-beta.0 This should be compatible with current 1.5 tools, and is what we were using before 1.5, because of the faster compilation and reduced memory footprint. Restoring in an attempt to diagnose build issues related to memory. * updated meteor package versions * componetize pagination * Release 1.3.0 (#2417) ## Features - **Meteor 1.5 (#2371)** - **Order fulfillment UI updates (#2400)** - **React Router updated (#2123)** - **React Navbar (and deprecated Blaze navbar) (#2306)** - **Re-introduce icon toolbar as shortcutBar (#2261)** - **React unit testing example (#2170)** - **[WIP] [Style guide](https://styleguide.reactioncommerce.com)** ## Changes / Fixes - __Update current user's name on Navbar and profile page when address is added. (#2455)__ - __Fix #2422 on email invite link leading to blank screen (#2437)__ - __Fix #2459 router range error fix (#2476)__ - __Remove older Blaze based launchdock plugin (#2467)__ - __Remove random regex checks on names. Fixes #2461 (#2471)__ - __Update media gallery new / deleted image indicators (#2469)__ - __Fix #2356 on tag menu-sidebar glitch (#2472)__ - __Fix #2452 on UI icon toolbar (#2460)__ - __set css property overflow on horizontal to hidden (#2458)__ - __Navbar hover issue (#2451)__ - __update memory usage in CircleCI build (#2462)__ - __refactor default admin user creation (#2453)__ - __Bunyan and Loggly updates (#2425)__ - __Updated chai package__ - __add missing "orders not found" text (#2424)__ - __Add closeOnClick option to DropDownMenu component (#2418)__ - **Fixed console error when dragging product images (#2443)** - **Remove unmaintained Browserstack acceptance tests (#2430)** - **Add css style to differentiate read from unread notifications (#2442)** - **Added module aliases @reactioncommerce/reaction-ui (#2436)** - **Switch to Reaction’s new fork of Nodemailer (#2427)** - **Admin should be able to invite a user with the same name (#2386)** - **Updated yarn.lock and removed npm-shrinkwrap.json** - **use route permissions in register.js files (#2388)** - **Updated, refreshed order/fulfillment UI (#2400)** - **Change line width to match GH PR review width (#2407)** - **Fix Improper Cart Merge (#2387)** - **Implement missing router functions (#2393)** - **Correct the way we record tax overrides** - **CollectionFS cfs:tempstore and cfs:worker to Fix concurrency issues with GridFS uploads (#2096)** - **Fix typo in inventory test description (#2364)** - **Added Nigerian Naira to currency list in (#2366)** - **Fix git tagging on CircleCI 2.0 (#2362)** - **Adding the license description with link on README (#2365)** - **Better handling for unique routes for React Router (#2327)** - **Don't throwback a step if tax fails** - **Updated UI colors for styleguide (#2339)** - **Add loading component to Fix error (#2340)** - **Allow a MAIL_URL string without auth (#2330)** - **Defer Fixture load until the default shop is loaded (#2329)** - **Fix conditional in Circle deploy script (#2338)** - **Fix refunds not showing (#2317)** - **Add Verification Url to Welcome Email (#2216)** - **CircleCI 2.0 and docker base update (#2334)** - **i18n translation updates (#2302 #2420)** - **Change customer notification message when order is processed. (#2290)** - **Allow loader to show when one is passed in and defined BUGFIX (#2303)** - **Add the Vietnamese Dong as a supported currency (#2248)** - **Updated shipping / payment error messages in checkout (#2271)** - **Fix #2203 Long Strings Handling in Product Option Title (#2266)** - **Simplify core layout component (#2257)** - **Fix multiple refunds for stripe (#2260)** * Fix error when inviting already invited user (#2433) * Refactor invite function to send invites only to non invited members * Refactor error message to show status code * Change the error message to use inline Alert * Clear input fields when there is error * Use Reaction's blaze inlineAlerts for error message * Eliminate console error on inviteShopMember call * move emailconfig css to LESS file * Updated timeout time. (#2492) * Updated timeout time. * don't autohide This should not autohide, the error should display until a user resubmits with a new email address. If the error is hidden, they might not see it right away and miss it. This is a blocking error for this field so it should stay until resolved. * style updates for sortableTable * update translations * custom full-table filter for ReactTable * Fixed product images not displaying on order completed page (#2490) * custom full table filter * new match-sorter package for custom filter * Fix hard refresh on clicking tag link on product detail page (#2489) * Provide tag component with missing click function * Remove hard refresh on PDP link in Grid settings * Remove redundant risul:moment-timezone (#2491) * add translations for default table text * translations * kill translations for the moment, something is acting up * add catch for error when no data is available * List view toggle * Use sortableTable to display list * finish order line item popover functionality * First styling iteration * Add table classname * allow only users with the orders and dashboard/orders permission to view the popover * Merge with marketplace * Styling second iteration * Rewrite orders.js into React; Remve filters on orders * Add onto checking capabilty * Buyah * Replace span toggles with buttons * Styling iteration * Toggle bulk order actions bar on checkbox select * Select all checkbox * Change import to match style guide * Handle multiple select of orders (part 1) * Toggle ReactTable header visibility on order(s) select * Handle multiple select of orders (part 2) * Handle multiple select of orders: fully working * Check all * Massive refactor * few style additions * Hide columns on screen size change * Checkbox multi select tweak * Select all orders on 'Check All' even if one was already selected * Vertically align bulk actions bar contents * Corrections from review * Center align checkbox/avatar with parent check-all box * Center column data * Change checkbox class name * Change checkbox class name * Change checked icon to font-awesome check * Add className prop to badge component * Allow for selected rows to be styled in React Table * Style selected order rows * Styling merge with checkboxes * Pagination reorder * Match padding between top and bottom in bulk order actions bar * Toggle, control buttons * Remove border from selected orders * Add i18n for bulk order actiobs bar elements * Update badge snapshot to include provided className * Change sortable bar color * Toggle buttons within container and pagination margin increse * Remove old pagination * Checkboxes add * Fix collapsable column problem * Center align row data * Bulk order actions bar styling based on new order table styles (part 1) * Fix row size change * Bulk order actions bar styling based on new order table styles (part 2) * Fix bithound issues * Add @reactioncommerce/reaction-collections * Fix bithound issues * Remove line items code from merged in PR * Fix minor issues as commented on PR * Use assign as opposed to extend * Fix button new/prrocessing change * Make button unresizable * Use less files to style table * Remove hardcoded selected row background color, give selected row a className and style in stylesheet * Refactor code * Fix lint issues * Fix table moving up and down * Modify list component to receive className, change undefined data to props * Bulk order actions button list onClick * Toggle background color and icons on list items click * Further styling of shipping list * Remove hardcoded styles in the table * remove order actions files not being used anymore(might be reason for pagination error) * Prefer this.props over long destructuring statement * Select Orders from main orders screen (#2549) * Toggle bulk order actions bar on checkbox select * Handle multiple select of orders (part 1) * Toggle ReactTable header visibility on order(s) select * Handle multiple select of orders (part 2) * Handle multiple select of orders: fully working * Select all orders on 'Check All' even if one was already selected * Vertically align bulk actions bar contents * Center align checkbox/avatar with parent check-all box * Change checkbox class name * Change checkbox class name * Change checked icon to font-awesome check * Add className prop to badge component * Allow for selected rows to be styled in React Table * Style selected order rows * Match padding between top and bottom in bulk order actions bar * Remove border from selected orders * Add i18n for bulk order actiobs bar elements * Update badge snapshot to include provided className * Bulk order actions bar styling based on new order table styles (part 1) * Bulk order actions bar styling based on new order table styles (part 2) * Fix bithound issues * Fix bithound issues * Remove hardcoded selected row background color, give selected row a className and style in stylesheet * Remove hardcoded styles in the table * Prefer this.props over long destructuring statement * Final styling of shipping list * Final styling of shipping list * Iteration 1 of order select and set status * First working instance for new Orders detail view * Refactor code * Wrap up on styling * Fix broken bulk order select * Fix header padding * Iteration 2 of order select and set status * Fix toggle of shipping flow list, rename labels * Create back end methods for labeled and picked shipping statuses, refine front end methods to reflect this * Implement skipping flow statuses * Add event to order history showing bulk action state setting * Remove bulk order bar on orders detail view * Fix lint error * Fix moving table * Break down shippingStatus function into smaller functions * Reorder shipping flow * Set bulk selected orders to a specific state (iteration 1) * Remove unnecessary ordersContainer * Refactor repeated code into common function that's re-usable * Remove unnecessary method binding * Set multiple orders to labeled state * Provide optional shipped param to shipmentShipped method * Set multiple orders to shipped state * Move bulk actions bar code to it's own component * Add allowOutsideClick and cancelButtonText as alert options * Document and add comments for shipping methods * Use reaction color variables over hardcoded colors * Oops * Delay success modal until all orders' state has been set * Fix interchanged states * Translation (part 1) * Correct i18nKeyLabel typo * Translation (part 2), extract alerts to common function that's reusable * Standardise case in translation key * Fix typo in comment * Remove testing of truthiness of order object, prefer 'check' of object * Move shipping string states to constant * Remove unneeded call to shop for currency display * Standardise naming of shipping flow steps * Rethink wording of alerts * Use workflow object to store/determine shipping status (part 1) * Remove shipping booleans from shipping schema * Rewrite shipping status methods to fit use of workflow status (part 1) * Rewrite shipping status methods to fit use of workflow status (part 2) * Tests for orders/shipmentPicked and orders/shipmentLabeled; tweak tests for orders/shipmentPacked, orders/shipmentShipped and orders/shipmentDelivered * Import order * Remove unnecessary closing brace * Render spinner while waiting for action on bulk orders * UI consistency when selecting bulk actions * Show bottom pagination on bulk orders select * Implement regression alert * Refine regression alert * Commenting shipping state methods * remove deprecated use of number as first argument of Meteor.Error * Switch order of shipping flow checks * Tweak 'picked' status regression method * Fix line length * Rename variable * Add back missing 'Processing' translation * Fix random opening of status bar * Use props as passed down from parent container * Turn all avatars to checkboxes on order select * Add printing step to flow list * Enable Capture button * Set loading state of captore button to false on error * Rename file names * Fix error on payment approving
Resolves #2325
Users with permissions to view orders are able to select/deselect orders within the order list, whether one by one or all the orders listed in the current page.
How to test
N.B: The two buttons that appear on the bar (the
Capture
andBulk Actions
buttons) are not functional as at this point. Functionality for them will be handled in #2341