workarea-admin 3.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +52 -0
- data/README.md +19 -0
- data/Rakefile +23 -0
- data/app/assets/fonts/workarea/admin/spark_dotline_medium.woff +0 -0
- data/app/assets/fonts/workarea/admin/spark_dotline_medium.woff2 +0 -0
- data/app/assets/images/workarea/admin/add.svg +1 -0
- data/app/assets/images/workarea/admin/complete.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/button.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/category_summary.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/custom_block.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/divider.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/hero.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/html.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/image.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/image_and_text.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/image_group.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/product_insights.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/product_list.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/quote.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/recommendations.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/social_networks.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/taxonomy.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/text.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/three_column_taxonomy.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/two_column_taxonomy.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/video.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/video_and_text.svg +1 -0
- data/app/assets/images/workarea/admin/default_card.svg +1 -0
- data/app/assets/images/workarea/admin/favicon.ico +0 -0
- data/app/assets/images/workarea/admin/i18n.svg +1 -0
- data/app/assets/images/workarea/admin/icons/add.svg +1 -0
- data/app/assets/images/workarea/admin/icons/add_circle.svg +1 -0
- data/app/assets/images/workarea/admin/icons/alert.svg +1 -0
- data/app/assets/images/workarea/admin/icons/apple_calendar.svg +1 -0
- data/app/assets/images/workarea/admin/icons/arrow_down.svg +1 -0
- data/app/assets/images/workarea/admin/icons/arrow_up.svg +1 -0
- data/app/assets/images/workarea/admin/icons/asset.svg +1 -0
- data/app/assets/images/workarea/admin/icons/attributes.svg +1 -0
- data/app/assets/images/workarea/admin/icons/calendar.svg +1 -0
- data/app/assets/images/workarea/admin/icons/categories.svg +1 -0
- data/app/assets/images/workarea/admin/icons/category.svg +1 -0
- data/app/assets/images/workarea/admin/icons/clock.svg +1 -0
- data/app/assets/images/workarea/admin/icons/close.svg +1 -0
- data/app/assets/images/workarea/admin/icons/comment.svg +1 -0
- data/app/assets/images/workarea/admin/icons/comments.svg +1 -0
- data/app/assets/images/workarea/admin/icons/comments_viewed.svg +1 -0
- data/app/assets/images/workarea/admin/icons/content.svg +1 -0
- data/app/assets/images/workarea/admin/icons/create_preset.svg +1 -0
- data/app/assets/images/workarea/admin/icons/delete.svg +1 -0
- data/app/assets/images/workarea/admin/icons/edit.svg +1 -0
- data/app/assets/images/workarea/admin/icons/expand_more.svg +1 -0
- data/app/assets/images/workarea/admin/icons/favicon.svg +1 -0
- data/app/assets/images/workarea/admin/icons/featured_products.svg +1 -0
- data/app/assets/images/workarea/admin/icons/fire.svg +1 -0
- data/app/assets/images/workarea/admin/icons/fulfillment.svg +1 -0
- data/app/assets/images/workarea/admin/icons/google_calendar.svg +1 -0
- data/app/assets/images/workarea/admin/icons/grip.svg +1 -0
- data/app/assets/images/workarea/admin/icons/help.svg +1 -0
- data/app/assets/images/workarea/admin/icons/home.svg +1 -0
- data/app/assets/images/workarea/admin/icons/images.svg +1 -0
- data/app/assets/images/workarea/admin/icons/impersonation.svg +1 -0
- data/app/assets/images/workarea/admin/icons/imports.svg +1 -0
- data/app/assets/images/workarea/admin/icons/insights.svg +1 -0
- data/app/assets/images/workarea/admin/icons/inventory_sku.svg +1 -0
- data/app/assets/images/workarea/admin/icons/items.svg +1 -0
- data/app/assets/images/workarea/admin/icons/link.svg +1 -0
- data/app/assets/images/workarea/admin/icons/medium.svg +1 -0
- data/app/assets/images/workarea/admin/icons/menu.svg +1 -0
- data/app/assets/images/workarea/admin/icons/navigate_before.svg +1 -0
- data/app/assets/images/workarea/admin/icons/navigate_next.svg +1 -0
- data/app/assets/images/workarea/admin/icons/navigation_menu.svg +1 -0
- data/app/assets/images/workarea/admin/icons/order.svg +1 -0
- data/app/assets/images/workarea/admin/icons/order_statistics.svg +1 -0
- data/app/assets/images/workarea/admin/icons/orders.svg +1 -0
- data/app/assets/images/workarea/admin/icons/original.svg +1 -0
- data/app/assets/images/workarea/admin/icons/outlook.svg +1 -0
- data/app/assets/images/workarea/admin/icons/page.svg +1 -0
- data/app/assets/images/workarea/admin/icons/pages.svg +1 -0
- data/app/assets/images/workarea/admin/icons/payment.svg +1 -0
- data/app/assets/images/workarea/admin/icons/payment_transaction.svg +1 -0
- data/app/assets/images/workarea/admin/icons/permissions.svg +1 -0
- data/app/assets/images/workarea/admin/icons/plan_changes.svg +1 -0
- data/app/assets/images/workarea/admin/icons/planned_changes.svg +1 -0
- data/app/assets/images/workarea/admin/icons/prices.svg +1 -0
- data/app/assets/images/workarea/admin/icons/pricing.svg +1 -0
- data/app/assets/images/workarea/admin/icons/pricing_discount.svg +1 -0
- data/app/assets/images/workarea/admin/icons/pricing_sku.svg +1 -0
- data/app/assets/images/workarea/admin/icons/products.svg +1 -0
- data/app/assets/images/workarea/admin/icons/rates.svg +1 -0
- data/app/assets/images/workarea/admin/icons/recommendations.svg +1 -0
- data/app/assets/images/workarea/admin/icons/refresh.svg +1 -0
- data/app/assets/images/workarea/admin/icons/release.svg +1 -0
- data/app/assets/images/workarea/admin/icons/release_timeline.svg +1 -0
- data/app/assets/images/workarea/admin/icons/rules.svg +1 -0
- data/app/assets/images/workarea/admin/icons/saved_addresses.svg +1 -0
- data/app/assets/images/workarea/admin/icons/search.svg +1 -0
- data/app/assets/images/workarea/admin/icons/settings.svg +1 -0
- data/app/assets/images/workarea/admin/icons/shipping.svg +1 -0
- data/app/assets/images/workarea/admin/icons/small.svg +1 -0
- data/app/assets/images/workarea/admin/icons/star.svg +1 -0
- data/app/assets/images/workarea/admin/icons/timeline.svg +1 -0
- data/app/assets/images/workarea/admin/icons/tmp.svg +1 -0
- data/app/assets/images/workarea/admin/icons/user.svg +1 -0
- data/app/assets/images/workarea/admin/icons/variants.svg +1 -0
- data/app/assets/images/workarea/admin/icons/view.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wide.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/bold.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/bulleted_list.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/html.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/italic.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/link.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/numbered_list.svg +1 -0
- data/app/assets/images/workarea/admin/icons/wysiwyg/underline.svg +1 -0
- data/app/assets/images/workarea/admin/invalid.svg +1 -0
- data/app/assets/images/workarea/admin/logo.svg +1 -0
- data/app/assets/images/workarea/admin/message_error.svg +1 -0
- data/app/assets/images/workarea/admin/message_info.svg +1 -0
- data/app/assets/images/workarea/admin/message_success.svg +1 -0
- data/app/assets/images/workarea/admin/message_warning.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/american_express.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/diner_s_club.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/discover.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/mastercard.svg +1 -0
- data/app/assets/images/workarea/admin/payment_icons/visa.svg +1 -0
- data/app/assets/images/workarea/admin/selected.svg +1 -0
- data/app/assets/images/workarea/admin/valid.svg +1 -0
- data/app/assets/javascripts/jquery_ui/admin/categorized_autocomplete.js +53 -0
- data/app/assets/javascripts/jquery_ujs/replace.js +15 -0
- data/app/assets/javascripts/workarea/admin/application.js.erb +235 -0
- data/app/assets/javascripts/workarea/admin/config.js.erb +700 -0
- data/app/assets/javascripts/workarea/admin/google_analytics.js +6 -0
- data/app/assets/javascripts/workarea/admin/modules/add_content_block_buttons.js +71 -0
- data/app/assets/javascripts/workarea/admin/modules/add_to_calendar_buttons.js +45 -0
- data/app/assets/javascripts/workarea/admin/modules/asset_picker_fields.js +51 -0
- data/app/assets/javascripts/workarea/admin/modules/asset_pickers.js +65 -0
- data/app/assets/javascripts/workarea/admin/modules/autocomplete_fields.js +55 -0
- data/app/assets/javascripts/workarea/admin/modules/bookmarks.js +40 -0
- data/app/assets/javascripts/workarea/admin/modules/bulk_action_deletion.js +43 -0
- data/app/assets/javascripts/workarea/admin/modules/bulk_action_items.js +319 -0
- data/app/assets/javascripts/workarea/admin/modules/calendars.js +130 -0
- data/app/assets/javascripts/workarea/admin/modules/categorized_autocomplete_fields.js +58 -0
- data/app/assets/javascripts/workarea/admin/modules/cloneable_rows.js +58 -0
- data/app/assets/javascripts/workarea/admin/modules/content_block_list.js +70 -0
- data/app/assets/javascripts/workarea/admin/modules/content_blocks.js +248 -0
- data/app/assets/javascripts/workarea/admin/modules/content_editor.js +44 -0
- data/app/assets/javascripts/workarea/admin/modules/content_editor_form_cancel.js +29 -0
- data/app/assets/javascripts/workarea/admin/modules/content_editor_forms.js +58 -0
- data/app/assets/javascripts/workarea/admin/modules/content_preset_form.js +29 -0
- data/app/assets/javascripts/workarea/admin/modules/content_preview.js +86 -0
- data/app/assets/javascripts/workarea/admin/modules/dashboard_charts.js +182 -0
- data/app/assets/javascripts/workarea/admin/modules/dashboard_toggles.js +59 -0
- data/app/assets/javascripts/workarea/admin/modules/datepicker_fields.js +113 -0
- data/app/assets/javascripts/workarea/admin/modules/datetimepicker_fields.js +160 -0
- data/app/assets/javascripts/workarea/admin/modules/direct_uploads.js +329 -0
- data/app/assets/javascripts/workarea/admin/modules/disable_publish_now.js +80 -0
- data/app/assets/javascripts/workarea/admin/modules/discount_options_menus.js +115 -0
- data/app/assets/javascripts/workarea/admin/modules/dom_remove.js +30 -0
- data/app/assets/javascripts/workarea/admin/modules/expandables.js +70 -0
- data/app/assets/javascripts/workarea/admin/modules/featured_products_sort.js +28 -0
- data/app/assets/javascripts/workarea/admin/modules/filter_dropdowns.js +88 -0
- data/app/assets/javascripts/workarea/admin/modules/help_helper.js +127 -0
- data/app/assets/javascripts/workarea/admin/modules/help_lookup_buttons.js +66 -0
- data/app/assets/javascripts/workarea/admin/modules/live_search_text.js +49 -0
- data/app/assets/javascripts/workarea/admin/modules/menu_editor_links.js +69 -0
- data/app/assets/javascripts/workarea/admin/modules/menu_editor_menu_list_sortables.js +107 -0
- data/app/assets/javascripts/workarea/admin/modules/menu_editor_sort_by_menus.js +48 -0
- data/app/assets/javascripts/workarea/admin/modules/messages.js +187 -0
- data/app/assets/javascripts/workarea/admin/modules/new_navigation_taxons.js +58 -0
- data/app/assets/javascripts/workarea/admin/modules/pricing_overrides.js +36 -0
- data/app/assets/javascripts/workarea/admin/modules/primary_nav.js +37 -0
- data/app/assets/javascripts/workarea/admin/modules/product_copy_ids.js +47 -0
- data/app/assets/javascripts/workarea/admin/modules/product_images_sortables.js +59 -0
- data/app/assets/javascripts/workarea/admin/modules/product_rules_preview.js +51 -0
- data/app/assets/javascripts/workarea/admin/modules/property_toggles.js +88 -0
- data/app/assets/javascripts/workarea/admin/modules/publish_create_release.js +40 -0
- data/app/assets/javascripts/workarea/admin/modules/publish_with_release_menus.js +132 -0
- data/app/assets/javascripts/workarea/admin/modules/range_fields.js +35 -0
- data/app/assets/javascripts/workarea/admin/modules/recommendations_sortables.js +20 -0
- data/app/assets/javascripts/workarea/admin/modules/releasable_model_search_forms.js +42 -0
- data/app/assets/javascripts/workarea/admin/modules/release_calendar_placeholders.js +83 -0
- data/app/assets/javascripts/workarea/admin/modules/release_reminder.js +93 -0
- data/app/assets/javascripts/workarea/admin/modules/relevance_sort.js +30 -0
- data/app/assets/javascripts/workarea/admin/modules/remote_selects.js +116 -0
- data/app/assets/javascripts/workarea/admin/modules/sort_navigation_menus.js +44 -0
- data/app/assets/javascripts/workarea/admin/modules/sort_variants.js +67 -0
- data/app/assets/javascripts/workarea/admin/modules/tabs.js +66 -0
- data/app/assets/javascripts/workarea/admin/modules/takeover.js +154 -0
- data/app/assets/javascripts/workarea/admin/modules/taxon_insert.js +96 -0
- data/app/assets/javascripts/workarea/admin/modules/taxon_select.js +50 -0
- data/app/assets/javascripts/workarea/admin/modules/toggle_buttons.js +50 -0
- data/app/assets/javascripts/workarea/admin/modules/toggle_filters.js +43 -0
- data/app/assets/javascripts/workarea/admin/modules/tooltips.js +128 -0
- data/app/assets/javascripts/workarea/admin/modules/unsaved_changes.js +56 -0
- data/app/assets/javascripts/workarea/admin/modules/wysiwygs.js +87 -0
- data/app/assets/javascripts/workarea/admin/routes.js.erb +27 -0
- data/app/assets/javascripts/workarea/admin/templates/bookmark_form.jst.ejs +5 -0
- data/app/assets/javascripts/workarea/admin/templates/bulk_action_items_count.jst.ejs +4 -0
- data/app/assets/javascripts/workarea/admin/templates/chart_legend.jst.ejs +9 -0
- data/app/assets/javascripts/workarea/admin/templates/checkbox_with_label.jst.ejs +2 -0
- data/app/assets/javascripts/workarea/admin/templates/content_block_iframe.jst.ejs +2 -0
- data/app/assets/javascripts/workarea/admin/templates/datetime_picker.jst.ejs +37 -0
- data/app/assets/javascripts/workarea/admin/templates/direct_upload_processing.jst.ejs +25 -0
- data/app/assets/javascripts/workarea/admin/templates/direct_upload_table_row.jst.ejs +10 -0
- data/app/assets/javascripts/workarea/admin/templates/expandable_button.jst.ejs +4 -0
- data/app/assets/javascripts/workarea/admin/templates/help_helper.jst.ejs +97 -0
- data/app/assets/javascripts/workarea/admin/templates/help_helper_text.jst.ejs +6 -0
- data/app/assets/javascripts/workarea/admin/templates/inactive_blocks_toggle.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/inline_datepicker.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/loading.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/message.jst.ejs +10 -0
- data/app/assets/javascripts/workarea/admin/templates/message_dismiss_action.jst.ejs +5 -0
- data/app/assets/javascripts/workarea/admin/templates/new_release_option.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/release_select_form.jst.ejs +5 -0
- data/app/assets/javascripts/workarea/admin/templates/remote_select.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby +25 -0
- data/app/assets/javascripts/workarea/admin/templates/remote_select_sparkline.jst.ejs +8 -0
- data/app/assets/javascripts/workarea/admin/templates/tabs_menu.jst.ejs +7 -0
- data/app/assets/javascripts/workarea/admin/templates/takeover.jst.ejs +3 -0
- data/app/assets/javascripts/workarea/admin/templates/ui_menu_heading.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/admin/templates/ui_menu_item.jst.ejs +8 -0
- data/app/assets/javascripts/workarea/admin/templates/wysiwyg_toolbar.jst.ejs.ruby +59 -0
- data/app/assets/stylesheets/dropzonejs/admin/_dropzone.scss +126 -0
- data/app/assets/stylesheets/jquery_select2/admin/theme/_workarea.scss +413 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion.scss +11 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion_content.scss +12 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion_header.scss +37 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_autocomplete.scss +17 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_datepicker.scss +158 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_helper_hidden_accessible.scss +7 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_menu.scss +44 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_sortable.scss +9 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_state_focus.scss +14 -0
- data/app/assets/stylesheets/jquery_ui/admin/_ui_tabs.scss +71 -0
- data/app/assets/stylesheets/tooltipster/admin/_tooltipster_workarea_admin.scss +88 -0
- data/app/assets/stylesheets/turbolinks/admin/_progress_bar.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/application.scss.erb +150 -0
- data/app/assets/stylesheets/workarea/admin/base/_forms.scss +82 -0
- data/app/assets/stylesheets/workarea/admin/base/_images.scss +29 -0
- data/app/assets/stylesheets/workarea/admin/base/_links.scss +5 -0
- data/app/assets/stylesheets/workarea/admin/base/_lists.scss +8 -0
- data/app/assets/stylesheets/workarea/admin/base/_page.scss +32 -0
- data/app/assets/stylesheets/workarea/admin/base/_tables.scss +54 -0
- data/app/assets/stylesheets/workarea/admin/components/_activity.scss +63 -0
- data/app/assets/stylesheets/workarea/admin/components/_activity_group.scss +27 -0
- data/app/assets/stylesheets/workarea/admin/components/_add_to_calendar.scss +17 -0
- data/app/assets/stylesheets/workarea/admin/components/_admin_toolbar.scss +5 -0
- data/app/assets/stylesheets/workarea/admin/components/_asset_picker_field.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/components/_avatar.scss +38 -0
- data/app/assets/stylesheets/workarea/admin/components/_box.scss +52 -0
- data/app/assets/stylesheets/workarea/admin/components/_browsing_controls.scss +234 -0
- data/app/assets/stylesheets/workarea/admin/components/_bulk_actions.scss +42 -0
- data/app/assets/stylesheets/workarea/admin/components/_button.scss +75 -0
- data/app/assets/stylesheets/workarea/admin/components/_calendar.scss +325 -0
- data/app/assets/stylesheets/workarea/admin/components/_card.scss +193 -0
- data/app/assets/stylesheets/workarea/admin/components/_chart.scss +154 -0
- data/app/assets/stylesheets/workarea/admin/components/_chart_legend.scss +22 -0
- data/app/assets/stylesheets/workarea/admin/components/_chartkick.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/components/_checkbox.scss +74 -0
- data/app/assets/stylesheets/workarea/admin/components/_color_picker.scss +21 -0
- data/app/assets/stylesheets/workarea/admin/components/_comments.scss +76 -0
- data/app/assets/stylesheets/workarea/admin/components/_content_block.scss +136 -0
- data/app/assets/stylesheets/workarea/admin/components/_content_block_list.scss +58 -0
- data/app/assets/stylesheets/workarea/admin/components/_content_editor.scss +161 -0
- data/app/assets/stylesheets/workarea/admin/components/_content_preview.scss +117 -0
- data/app/assets/stylesheets/workarea/admin/components/_dashboard.scss +80 -0
- data/app/assets/stylesheets/workarea/admin/components/_dashboard_graphs.scss +23 -0
- data/app/assets/stylesheets/workarea/admin/components/_data_file_sample.scss +18 -0
- data/app/assets/stylesheets/workarea/admin/components/_data_pairs.scss +46 -0
- data/app/assets/stylesheets/workarea/admin/components/_date_marker.scss +42 -0
- data/app/assets/stylesheets/workarea/admin/components/_direct_upload.scss +105 -0
- data/app/assets/stylesheets/workarea/admin/components/_discount.scss +41 -0
- data/app/assets/stylesheets/workarea/admin/components/_expandable.scss +48 -0
- data/app/assets/stylesheets/workarea/admin/components/_header.scss +184 -0
- data/app/assets/stylesheets/workarea/admin/components/_help_article.scss +17 -0
- data/app/assets/stylesheets/workarea/admin/components/_help_article_summary.scss +57 -0
- data/app/assets/stylesheets/workarea/admin/components/_help_helper.scss +559 -0
- data/app/assets/stylesheets/workarea/admin/components/_index_table.scss +79 -0
- data/app/assets/stylesheets/workarea/admin/components/_insight.scss +93 -0
- data/app/assets/stylesheets/workarea/admin/components/_live_search.scss +120 -0
- data/app/assets/stylesheets/workarea/admin/components/_loading.scss +63 -0
- data/app/assets/stylesheets/workarea/admin/components/_menu.scss +121 -0
- data/app/assets/stylesheets/workarea/admin/components/_menu_editor.scss +400 -0
- data/app/assets/stylesheets/workarea/admin/components/_message.scss +108 -0
- data/app/assets/stylesheets/workarea/admin/components/_navigation_builder.scss +97 -0
- data/app/assets/stylesheets/workarea/admin/components/_new_block_button.scss +64 -0
- data/app/assets/stylesheets/workarea/admin/components/_new_navigation_link.scss +23 -0
- data/app/assets/stylesheets/workarea/admin/components/_page_container.scss +5 -0
- data/app/assets/stylesheets/workarea/admin/components/_page_content.scss +19 -0
- data/app/assets/stylesheets/workarea/admin/components/_page_messages.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/components/_pagination.scss +27 -0
- data/app/assets/stylesheets/workarea/admin/components/_payment_icon.scss +20 -0
- data/app/assets/stylesheets/workarea/admin/components/_pricing_overrides.scss +13 -0
- data/app/assets/stylesheets/workarea/admin/components/_primary_nav.scss +85 -0
- data/app/assets/stylesheets/workarea/admin/components/_product_images.scss +83 -0
- data/app/assets/stylesheets/workarea/admin/components/_product_rules.scss +33 -0
- data/app/assets/stylesheets/workarea/admin/components/_product_rules_preview.scss +29 -0
- data/app/assets/stylesheets/workarea/admin/components/_product_summary.scss +78 -0
- data/app/assets/stylesheets/workarea/admin/components/_property.scss +116 -0
- data/app/assets/stylesheets/workarea/admin/components/_property_toggle.scss +35 -0
- data/app/assets/stylesheets/workarea/admin/components/_range_input.scss +32 -0
- data/app/assets/stylesheets/workarea/admin/components/_release_changeset.scss +87 -0
- data/app/assets/stylesheets/workarea/admin/components/_release_creatable.scss +53 -0
- data/app/assets/stylesheets/workarea/admin/components/_release_select.scss +70 -0
- data/app/assets/stylesheets/workarea/admin/components/_search_form.scss +78 -0
- data/app/assets/stylesheets/workarea/admin/components/_secondary_nav.scss +16 -0
- data/app/assets/stylesheets/workarea/admin/components/_state.scss +35 -0
- data/app/assets/stylesheets/workarea/admin/components/_style_guide.scss +134 -0
- data/app/assets/stylesheets/workarea/admin/components/_summary.scss +199 -0
- data/app/assets/stylesheets/workarea/admin/components/_svg_icon.scss +62 -0
- data/app/assets/stylesheets/workarea/admin/components/_tabs.scss +22 -0
- data/app/assets/stylesheets/workarea/admin/components/_takeover.scss +95 -0
- data/app/assets/stylesheets/workarea/admin/components/_text_box.scss +97 -0
- data/app/assets/stylesheets/workarea/admin/components/_text_button.scss +73 -0
- data/app/assets/stylesheets/workarea/admin/components/_toggle_button.scss +159 -0
- data/app/assets/stylesheets/workarea/admin/components/_top_help_articles.scss +82 -0
- data/app/assets/stylesheets/workarea/admin/components/_view.scss +64 -0
- data/app/assets/stylesheets/workarea/admin/components/_workflow_bar.scss +125 -0
- data/app/assets/stylesheets/workarea/admin/components/_wysiwyg.scss +110 -0
- data/app/assets/stylesheets/workarea/admin/email.scss +4 -0
- data/app/assets/stylesheets/workarea/admin/email/_base.scss +48 -0
- data/app/assets/stylesheets/workarea/admin/email/_components.scss +114 -0
- data/app/assets/stylesheets/workarea/admin/email/_helpers.scss +69 -0
- data/app/assets/stylesheets/workarea/admin/email/_settings.scss +22 -0
- data/app/assets/stylesheets/workarea/admin/generic/_box_sizing.scss +20 -0
- data/app/assets/stylesheets/workarea/admin/generic/_fonts.scss +10 -0
- data/app/assets/stylesheets/workarea/admin/generic/_reset.scss +47 -0
- data/app/assets/stylesheets/workarea/admin/objects/_button_reset.scss +17 -0
- data/app/assets/stylesheets/workarea/admin/objects/_inline_list.scss +26 -0
- data/app/assets/stylesheets/workarea/admin/objects/_list_reset.scss +10 -0
- data/app/assets/stylesheets/workarea/admin/objects/_section.scss +8 -0
- data/app/assets/stylesheets/workarea/admin/objects/_text_field_reset.scss +10 -0
- data/app/assets/stylesheets/workarea/admin/objects/_tooltip_content.scss +25 -0
- data/app/assets/stylesheets/workarea/admin/settings/_breakpoints.scss.erb +8 -0
- data/app/assets/stylesheets/workarea/admin/settings/_colors.scss +32 -0
- data/app/assets/stylesheets/workarea/admin/settings/_global.scss +35 -0
- data/app/assets/stylesheets/workarea/admin/settings/_grid.scss +37 -0
- data/app/assets/stylesheets/workarea/admin/settings/_typography.scss +21 -0
- data/app/assets/stylesheets/workarea/admin/settings/_z_indexes.scss +37 -0
- data/app/assets/stylesheets/workarea/admin/tools/_center.scss +34 -0
- data/app/assets/stylesheets/workarea/admin/tools/_focus_ring.scss +23 -0
- data/app/assets/stylesheets/workarea/admin/tools/_global_box_shadow.scss +32 -0
- data/app/assets/stylesheets/workarea/admin/tools/_respond_to.scss +31 -0
- data/app/assets/stylesheets/workarea/admin/tools/_svg.scss +29 -0
- data/app/assets/stylesheets/workarea/admin/tools/_text_box_image.scss +24 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_break_word.scss +9 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_clearfix.scss +13 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_hidden.scss +71 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_image_replacement.scss +11 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_truncate.scss +10 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_visible.scss +70 -0
- data/app/assets/stylesheets/workarea/admin/trumps/_visually_hidden.scss +14 -0
- data/app/assets/stylesheets/workarea/admin/typography/_align.scss +15 -0
- data/app/assets/stylesheets/workarea/admin/typography/_headings.scss +87 -0
- data/app/assets/stylesheets/workarea/admin/typography/_links.scss +39 -0
- data/app/assets/stylesheets/workarea/admin/typography/_spark.scss +26 -0
- data/app/assets/stylesheets/workarea/admin/typography/_text.scss +75 -0
- data/app/controllers/workarea/admin/activities_controller.rb +9 -0
- data/app/controllers/workarea/admin/application_controller.rb +109 -0
- data/app/controllers/workarea/admin/bookmarks_controller.rb +17 -0
- data/app/controllers/workarea/admin/bulk_action_deletions_controller.rb +38 -0
- data/app/controllers/workarea/admin/bulk_action_product_edits_controller.rb +55 -0
- data/app/controllers/workarea/admin/bulk_action_sequential_product_edits_controller.rb +126 -0
- data/app/controllers/workarea/admin/bulk_actions_controller.rb +43 -0
- data/app/controllers/workarea/admin/bulk_variant_saving.rb +31 -0
- data/app/controllers/workarea/admin/catalog_categories_controller.rb +62 -0
- data/app/controllers/workarea/admin/catalog_product_copies_controller.rb +31 -0
- data/app/controllers/workarea/admin/catalog_product_images_controller.rb +67 -0
- data/app/controllers/workarea/admin/catalog_products_controller.rb +82 -0
- data/app/controllers/workarea/admin/catalog_variants_controller.rb +93 -0
- data/app/controllers/workarea/admin/categorizations_controller.rb +37 -0
- data/app/controllers/workarea/admin/changesets_controller.rb +28 -0
- data/app/controllers/workarea/admin/comments_controller.rb +104 -0
- data/app/controllers/workarea/admin/content_assets_controller.rb +66 -0
- data/app/controllers/workarea/admin/content_block_drafts_controller.rb +14 -0
- data/app/controllers/workarea/admin/content_blocks_controller.rb +105 -0
- data/app/controllers/workarea/admin/content_controller.rb +54 -0
- data/app/controllers/workarea/admin/content_emails_controller.rb +35 -0
- data/app/controllers/workarea/admin/content_pages_controller.rb +59 -0
- data/app/controllers/workarea/admin/content_presets_controller.rb +40 -0
- data/app/controllers/workarea/admin/create_catalog_categories_controller.rb +135 -0
- data/app/controllers/workarea/admin/create_catalog_products_controller.rb +145 -0
- data/app/controllers/workarea/admin/create_content_pages_controller.rb +91 -0
- data/app/controllers/workarea/admin/create_pricing_discounts_controller.rb +68 -0
- data/app/controllers/workarea/admin/create_releases_controller.rb +51 -0
- data/app/controllers/workarea/admin/create_users_controller.rb +65 -0
- data/app/controllers/workarea/admin/dashboards_controller.rb +51 -0
- data/app/controllers/workarea/admin/data_file_exports_controller.rb +35 -0
- data/app/controllers/workarea/admin/data_file_imports_controller.rb +35 -0
- data/app/controllers/workarea/admin/data_file_tax_imports_controller.rb +38 -0
- data/app/controllers/workarea/admin/data_files_controller.rb +13 -0
- data/app/controllers/workarea/admin/direct_uploads_controller.rb +36 -0
- data/app/controllers/workarea/admin/email_signups_controller.rb +20 -0
- data/app/controllers/workarea/admin/featured_products_controller.rb +78 -0
- data/app/controllers/workarea/admin/fulfillments_controller.rb +15 -0
- data/app/controllers/workarea/admin/guest_browsings_controller.rb +25 -0
- data/app/controllers/workarea/admin/help_assets_controller.rb +27 -0
- data/app/controllers/workarea/admin/help_authorization.rb +17 -0
- data/app/controllers/workarea/admin/help_controller.rb +79 -0
- data/app/controllers/workarea/admin/impersonations_controller.rb +34 -0
- data/app/controllers/workarea/admin/inventory_skus_controller.rb +79 -0
- data/app/controllers/workarea/admin/jump_to_controller.rb +30 -0
- data/app/controllers/workarea/admin/navigation_menus_controller.rb +104 -0
- data/app/controllers/workarea/admin/navigation_redirects_controller.rb +41 -0
- data/app/controllers/workarea/admin/navigation_taxons_controller.rb +104 -0
- data/app/controllers/workarea/admin/orders_controller.rb +28 -0
- data/app/controllers/workarea/admin/payment_transactions_controller.rb +20 -0
- data/app/controllers/workarea/admin/payments_controller.rb +12 -0
- data/app/controllers/workarea/admin/prices_controller.rb +69 -0
- data/app/controllers/workarea/admin/pricing_discount_code_lists_controller.rb +58 -0
- data/app/controllers/workarea/admin/pricing_discounts_controller.rb +56 -0
- data/app/controllers/workarea/admin/pricing_overrides_controller.rb +54 -0
- data/app/controllers/workarea/admin/pricing_skus_controller.rb +87 -0
- data/app/controllers/workarea/admin/product_rules_controller.rb +97 -0
- data/app/controllers/workarea/admin/publishing.rb +45 -0
- data/app/controllers/workarea/admin/recommendations_controller.rb +36 -0
- data/app/controllers/workarea/admin/releasables_controller.rb +16 -0
- data/app/controllers/workarea/admin/release_sessions_controller.rb +25 -0
- data/app/controllers/workarea/admin/releases_controller.rb +110 -0
- data/app/controllers/workarea/admin/reports_controller.rb +115 -0
- data/app/controllers/workarea/admin/search_customizations_controller.rb +84 -0
- data/app/controllers/workarea/admin/search_settings_controller.rb +27 -0
- data/app/controllers/workarea/admin/searches_controller.rb +11 -0
- data/app/controllers/workarea/admin/shipping_services_controller.rb +85 -0
- data/app/controllers/workarea/admin/shippings_controller.rb +24 -0
- data/app/controllers/workarea/admin/style_guides_controller.rb +6 -0
- data/app/controllers/workarea/admin/tax_categories_controller.rb +55 -0
- data/app/controllers/workarea/admin/tax_rates_controller.rb +14 -0
- data/app/controllers/workarea/admin/timeline_controller.rb +10 -0
- data/app/controllers/workarea/admin/toolbar_controller.rb +16 -0
- data/app/controllers/workarea/admin/trash_controller.rb +50 -0
- data/app/controllers/workarea/admin/user_params.rb +16 -0
- data/app/controllers/workarea/admin/users_controller.rb +77 -0
- data/app/controllers/workarea/admin/visiting.rb +51 -0
- data/app/helpers/workarea/admin/activities_helper.rb +70 -0
- data/app/helpers/workarea/admin/application_helper.rb +161 -0
- data/app/helpers/workarea/admin/bookmarks_helper.rb +15 -0
- data/app/helpers/workarea/admin/bulk_actions_helper.rb +9 -0
- data/app/helpers/workarea/admin/changesets_helper.rb +14 -0
- data/app/helpers/workarea/admin/content_block_icon_helper.rb +22 -0
- data/app/helpers/workarea/admin/content_helper.rb +69 -0
- data/app/helpers/workarea/admin/credit_cards_helper.rb +26 -0
- data/app/helpers/workarea/admin/data_files_helper.rb +9 -0
- data/app/helpers/workarea/admin/date_selector_helper.rb +58 -0
- data/app/helpers/workarea/admin/facets_helper.rb +15 -0
- data/app/helpers/workarea/admin/icons_helper.rb +95 -0
- data/app/helpers/workarea/admin/imports_helper.rb +50 -0
- data/app/helpers/workarea/admin/insights_helper.rb +42 -0
- data/app/helpers/workarea/admin/inventory_helper.rb +9 -0
- data/app/helpers/workarea/admin/navigation_helper.rb +70 -0
- data/app/helpers/workarea/admin/navigation_menus_helper.rb +12 -0
- data/app/helpers/workarea/admin/orders_helper.rb +17 -0
- data/app/helpers/workarea/admin/pages_helper.rb +9 -0
- data/app/helpers/workarea/admin/price_adjustments_helper.rb +21 -0
- data/app/helpers/workarea/admin/pricing_overrides_helper.rb +9 -0
- data/app/helpers/workarea/admin/product_rules_helper.rb +50 -0
- data/app/helpers/workarea/admin/products_helper.rb +10 -0
- data/app/helpers/workarea/admin/releases_helper.rb +221 -0
- data/app/helpers/workarea/admin/reports_helper.rb +57 -0
- data/app/helpers/workarea/admin/search_customizations_helper.rb +19 -0
- data/app/helpers/workarea/admin/settings_helper.rb +18 -0
- data/app/helpers/workarea/admin/storefront_helper.rb +13 -0
- data/app/helpers/workarea/admin/taxons_helper.rb +65 -0
- data/app/mailers/workarea/admin/application_mailer.rb +32 -0
- data/app/mailers/workarea/admin/comment_mailer.rb +32 -0
- data/app/mailers/workarea/admin/data_file_mailer.rb +68 -0
- data/app/mailers/workarea/admin/reports_mailer.rb +18 -0
- data/app/mailers/workarea/admin/status_report_mailer.rb +19 -0
- data/app/view_models/workarea/admin/activity_view_model.rb +107 -0
- data/app/view_models/workarea/admin/alerts_view_model.rb +60 -0
- data/app/view_models/workarea/admin/asset_view_model.rb +11 -0
- data/app/view_models/workarea/admin/bulk_action_deletion_view_model.rb +13 -0
- data/app/view_models/workarea/admin/bulk_action_product_edit_view_model.rb +25 -0
- data/app/view_models/workarea/admin/bulk_action_sequential_product_edit_view_model.rb +25 -0
- data/app/view_models/workarea/admin/category_view_model.rb +55 -0
- data/app/view_models/workarea/admin/changes_view_model.rb +52 -0
- data/app/view_models/workarea/admin/changeset_view_model.rb +81 -0
- data/app/view_models/workarea/admin/code_list_view_model.rb +25 -0
- data/app/view_models/workarea/admin/comment_view_model.rb +18 -0
- data/app/view_models/workarea/admin/commentable_view_model.rb +21 -0
- data/app/view_models/workarea/admin/content_view_model.rb +142 -0
- data/app/view_models/workarea/admin/contentable_view_model.rb +9 -0
- data/app/view_models/workarea/admin/dashboards/catalog_view_model.rb +13 -0
- data/app/view_models/workarea/admin/dashboards/index_view_model.rb +28 -0
- data/app/view_models/workarea/admin/dashboards/insights_graphs.rb +97 -0
- data/app/view_models/workarea/admin/dashboards/marketing_view_model.rb +83 -0
- data/app/view_models/workarea/admin/dashboards/orders_view_model.rb +20 -0
- data/app/view_models/workarea/admin/dashboards/people_view_model.rb +39 -0
- data/app/view_models/workarea/admin/dashboards/reports_view_model.rb +105 -0
- data/app/view_models/workarea/admin/dashboards/search_view_model.rb +22 -0
- data/app/view_models/workarea/admin/dashboards/store_view_model.rb +13 -0
- data/app/view_models/workarea/admin/data_file_view_model.rb +28 -0
- data/app/view_models/workarea/admin/data_files_view_model.rb +42 -0
- data/app/view_models/workarea/admin/discount_rules_view_model.rb +99 -0
- data/app/view_models/workarea/admin/discount_search_view_model.rb +17 -0
- data/app/view_models/workarea/admin/discount_view_model.rb +127 -0
- data/app/view_models/workarea/admin/discounts/buy_some_get_some_view_model.rb +35 -0
- data/app/view_models/workarea/admin/discounts/categories.rb +13 -0
- data/app/view_models/workarea/admin/discounts/category_view_model.rb +40 -0
- data/app/view_models/workarea/admin/discounts/free_gift_view_model.rb +35 -0
- data/app/view_models/workarea/admin/discounts/order_total_view_model.rb +32 -0
- data/app/view_models/workarea/admin/discounts/product_attribute_view_model.rb +38 -0
- data/app/view_models/workarea/admin/discounts/product_view_model.rb +40 -0
- data/app/view_models/workarea/admin/discounts/products.rb +13 -0
- data/app/view_models/workarea/admin/discounts/quantity_fixed_price_view_model.rb +35 -0
- data/app/view_models/workarea/admin/discounts/shipping_view_model.rb +36 -0
- data/app/view_models/workarea/admin/featured_products_view_model.rb +20 -0
- data/app/view_models/workarea/admin/fulfillment_item_view_model.rb +13 -0
- data/app/view_models/workarea/admin/fulfillment_view_model.rb +41 -0
- data/app/view_models/workarea/admin/help_search_view_model.rb +17 -0
- data/app/view_models/workarea/admin/insight_view_model.rb +37 -0
- data/app/view_models/workarea/admin/insights/category_view_model.rb +25 -0
- data/app/view_models/workarea/admin/insights/discount_view_model.rb +25 -0
- data/app/view_models/workarea/admin/insights/insights_details.rb +83 -0
- data/app/view_models/workarea/admin/insights/product_view_model.rb +56 -0
- data/app/view_models/workarea/admin/insights/search_view_model.rb +29 -0
- data/app/view_models/workarea/admin/inventory_sku_view_model.rb +21 -0
- data/app/view_models/workarea/admin/order_item_view_model.rb +29 -0
- data/app/view_models/workarea/admin/order_search_view_model.rb +14 -0
- data/app/view_models/workarea/admin/order_timeline_view_model.rb +163 -0
- data/app/view_models/workarea/admin/order_view_model.rb +114 -0
- data/app/view_models/workarea/admin/package_view_model.rb +20 -0
- data/app/view_models/workarea/admin/page_view_model.rb +16 -0
- data/app/view_models/workarea/admin/payment_view_model.rb +21 -0
- data/app/view_models/workarea/admin/pricing_sku_view_model.rb +21 -0
- data/app/view_models/workarea/admin/product_images_view_model.rb +9 -0
- data/app/view_models/workarea/admin/product_rules_preview_view_model.rb +64 -0
- data/app/view_models/workarea/admin/product_view_model.rb +153 -0
- data/app/view_models/workarea/admin/promo_code_view_model.rb +7 -0
- data/app/view_models/workarea/admin/recommendations_view_model.rb +23 -0
- data/app/view_models/workarea/admin/release_calendar_view_model.rb +57 -0
- data/app/view_models/workarea/admin/release_event_view_model.rb +56 -0
- data/app/view_models/workarea/admin/release_search_view_model.rb +13 -0
- data/app/view_models/workarea/admin/release_view_model.rb +44 -0
- data/app/view_models/workarea/admin/releases_feed_view_model.rb +58 -0
- data/app/view_models/workarea/admin/reports/average_order_value_view_model.rb +14 -0
- data/app/view_models/workarea/admin/reports/customers_view_model.rb +18 -0
- data/app/view_models/workarea/admin/reports/first_time_vs_returning_sales_view_model.rb +14 -0
- data/app/view_models/workarea/admin/reports/group_by_time.rb +38 -0
- data/app/view_models/workarea/admin/reports/insights_view_model.rb +32 -0
- data/app/view_models/workarea/admin/reports/low_inventory_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_category_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_country_view_model.rb +14 -0
- data/app/view_models/workarea/admin/reports/sales_by_discount_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_product_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_sku_view_model.rb +20 -0
- data/app/view_models/workarea/admin/reports/sales_by_traffic_referrer_view_model.rb +18 -0
- data/app/view_models/workarea/admin/reports/sales_over_time_view_model.rb +14 -0
- data/app/view_models/workarea/admin/reports/searches_view_model.rb +11 -0
- data/app/view_models/workarea/admin/revenue_view_model.rb +45 -0
- data/app/view_models/workarea/admin/search_analysis_view_model.rb +68 -0
- data/app/view_models/workarea/admin/search_customization_product_rules_view_model.rb +25 -0
- data/app/view_models/workarea/admin/search_customization_view_model.rb +17 -0
- data/app/view_models/workarea/admin/search_view_model.rb +91 -0
- data/app/view_models/workarea/admin/shipping_view_model.rb +23 -0
- data/app/view_models/workarea/admin/tax_category_view_model.rb +13 -0
- data/app/view_models/workarea/admin/timeline_view_model.rb +57 -0
- data/app/view_models/workarea/admin/transaction_view_model.rb +39 -0
- data/app/view_models/workarea/admin/user_search_view_model.rb +13 -0
- data/app/view_models/workarea/admin/user_view_model.rb +88 -0
- data/app/view_models/workarea/admin/variant_view_model.rb +48 -0
- data/app/views/layouts/workarea/admin/application.html.haml +181 -0
- data/app/views/layouts/workarea/admin/email.html.haml +185 -0
- data/app/views/layouts/workarea/admin/empty.html.haml +38 -0
- data/app/views/workarea/admin/activities/_bulk_action_order_export_create.haml +8 -0
- data/app/views/workarea/admin/activities/_bulk_action_pricing_discount_code_list_export_create.haml +8 -0
- data/app/views/workarea/admin/activities/_bulk_action_user_export_create.haml +8 -0
- data/app/views/workarea/admin/activities/_catalog_category_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_catalog_category_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_catalog_category_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_catalog_product_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_catalog_product_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_catalog_product_image_create.html.haml +10 -0
- data/app/views/workarea/admin/activities/_catalog_product_image_destroy.html.haml +11 -0
- data/app/views/workarea/admin/activities/_catalog_product_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_catalog_variant_create.html.haml +21 -0
- data/app/views/workarea/admin/activities/_catalog_variant_destroy.html.haml +15 -0
- data/app/views/workarea/admin/activities/_catalog_variant_update.html.haml +22 -0
- data/app/views/workarea/admin/activities/_comment_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_comment_destroy.html.haml +14 -0
- data/app/views/workarea/admin/activities/_comment_update.html.haml +12 -0
- data/app/views/workarea/admin/activities/_content_asset_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_content_asset_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_content_asset_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_content_block_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_content_block_destroy.html.haml +14 -0
- data/app/views/workarea/admin/activities/_content_block_update.html.haml +23 -0
- data/app/views/workarea/admin/activities/_content_email_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_content_page_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_content_page_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_content_page_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_content_update.html.haml +12 -0
- data/app/views/workarea/admin/activities/_help_article_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_help_article_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_help_article_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_help_asset_create.html.haml +8 -0
- data/app/views/workarea/admin/activities/_help_asset_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_import_catalog_create.html.haml +9 -0
- data/app/views/workarea/admin/activities/_import_redirect_create.html.haml +9 -0
- data/app/views/workarea/admin/activities/_import_tax_create.html.haml +9 -0
- data/app/views/workarea/admin/activities/_inventory_sku_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_inventory_sku_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_inventory_sku_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_navigation_menu_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_navigation_menu_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_navigation_menu_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_navigation_redirect_create.html.haml +9 -0
- data/app/views/workarea/admin/activities/_navigation_redirect_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_navigation_taxon_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_navigation_taxon_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_navigation_taxon_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_pricing_discount_code_list_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_pricing_discount_code_list_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_pricing_discount_code_list_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_pricing_discount_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_pricing_discount_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_pricing_discount_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_pricing_sku_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_pricing_sku_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_product_rule_create.html.haml +13 -0
- data/app/views/workarea/admin/activities/_product_rule_destroy.html.haml +13 -0
- data/app/views/workarea/admin/activities/_product_rule_update.html.haml +13 -0
- data/app/views/workarea/admin/activities/_release_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_release_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_release_info.html.haml +6 -0
- data/app/views/workarea/admin/activities/_release_update.html.haml +15 -0
- data/app/views/workarea/admin/activities/_search_customization_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_search_customization_destroy.html.haml +14 -0
- data/app/views/workarea/admin/activities/_search_customization_update.html.haml +11 -0
- data/app/views/workarea/admin/activities/_search_settings_update.html.haml +9 -0
- data/app/views/workarea/admin/activities/_shipping_service_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_shipping_service_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_shipping_service_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_tax_category_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_tax_category_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_tax_category_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/_tax_rate_create.html.haml +12 -0
- data/app/views/workarea/admin/activities/_tax_rate_destroy.html.haml +10 -0
- data/app/views/workarea/admin/activities/_tax_rate_update.html.haml +14 -0
- data/app/views/workarea/admin/activities/_user_update.html.haml +10 -0
- data/app/views/workarea/admin/activities/show.html.haml +43 -0
- data/app/views/workarea/admin/bulk_action_deletions/_form.html.haml +8 -0
- data/app/views/workarea/admin/bulk_action_deletions/edit.html.haml +31 -0
- data/app/views/workarea/admin/bulk_action_product_edits/edit.html.haml +266 -0
- data/app/views/workarea/admin/bulk_action_product_edits/review.html.haml +113 -0
- data/app/views/workarea/admin/bulk_action_sequential_product_edits/product.html.haml +254 -0
- data/app/views/workarea/admin/bulk_action_sequential_product_edits/publishing.html.haml +29 -0
- data/app/views/workarea/admin/bulk_actions/selected.html.haml +16 -0
- data/app/views/workarea/admin/catalog_categories/_aux_navigation.html.haml +2 -0
- data/app/views/workarea/admin/catalog_categories/_cards.html.haml +119 -0
- data/app/views/workarea/admin/catalog_categories/_summary.html.haml +14 -0
- data/app/views/workarea/admin/catalog_categories/edit.html.haml +85 -0
- data/app/views/workarea/admin/catalog_categories/index.html.haml +88 -0
- data/app/views/workarea/admin/catalog_categories/index.json.jbuilder +9 -0
- data/app/views/workarea/admin/catalog_categories/insights.html.haml +71 -0
- data/app/views/workarea/admin/catalog_categories/show.html.haml +23 -0
- data/app/views/workarea/admin/catalog_product_copies/new.html.haml +47 -0
- data/app/views/workarea/admin/catalog_product_images/edit.html.haml +52 -0
- data/app/views/workarea/admin/catalog_product_images/index.html.haml +75 -0
- data/app/views/workarea/admin/catalog_product_images/options.json.jbuilder +4 -0
- data/app/views/workarea/admin/catalog_products/_aux_navigation.html.haml +3 -0
- data/app/views/workarea/admin/catalog_products/_cards.html.haml +265 -0
- data/app/views/workarea/admin/catalog_products/_summary.html.haml +19 -0
- data/app/views/workarea/admin/catalog_products/content.html.haml +40 -0
- data/app/views/workarea/admin/catalog_products/edit.html.haml +170 -0
- data/app/views/workarea/admin/catalog_products/index.html.haml +120 -0
- data/app/views/workarea/admin/catalog_products/index.json.jbuilder +9 -0
- data/app/views/workarea/admin/catalog_products/insights.html.haml +89 -0
- data/app/views/workarea/admin/catalog_products/show.html.haml +24 -0
- data/app/views/workarea/admin/catalog_variants/edit.html.haml +76 -0
- data/app/views/workarea/admin/catalog_variants/index.html.haml +58 -0
- data/app/views/workarea/admin/catalog_variants/index.json.jbuilder +4 -0
- data/app/views/workarea/admin/catalog_variants/new.html.haml +68 -0
- data/app/views/workarea/admin/categorizations/index.html.haml +75 -0
- data/app/views/workarea/admin/categorizations/index.json.jbuilder +9 -0
- data/app/views/workarea/admin/changesets/fields/_category_id.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_category_ids.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_compatible_discount_ids.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_data.html.haml +2 -0
- data/app/views/workarea/admin/changesets/fields/_generic.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_packaged_product_ids.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_product_id.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_product_ids.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/_shipping_service_id.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/data/_category.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/data/_generic.html.haml +4 -0
- data/app/views/workarea/admin/changesets/fields/data/_products.html.haml +4 -0
- data/app/views/workarea/admin/changesets/index.html.haml +42 -0
- data/app/views/workarea/admin/comment_mailer/notify.html.haml +36 -0
- data/app/views/workarea/admin/comments/_card.html.haml +26 -0
- data/app/views/workarea/admin/comments/edit.html.haml +27 -0
- data/app/views/workarea/admin/comments/index.html.haml +64 -0
- data/app/views/workarea/admin/content/_aux_navigation.html.haml +4 -0
- data/app/views/workarea/admin/content/_card.html.haml +24 -0
- data/app/views/workarea/admin/content/_cards.html.haml +9 -0
- data/app/views/workarea/admin/content/_edit.html.haml +75 -0
- data/app/views/workarea/admin/content/_form.html.haml +51 -0
- data/app/views/workarea/admin/content/_summary.html.haml +10 -0
- data/app/views/workarea/admin/content/advanced.html.haml +65 -0
- data/app/views/workarea/admin/content/edit.html.haml +25 -0
- data/app/views/workarea/admin/content/index.html.haml +32 -0
- data/app/views/workarea/admin/content/preview.html.haml +14 -0
- data/app/views/workarea/admin/content/show.html.haml +27 -0
- data/app/views/workarea/admin/content_assets/_cards.html.haml +49 -0
- data/app/views/workarea/admin/content_assets/_summary.html.haml +9 -0
- data/app/views/workarea/admin/content_assets/edit.html.haml +56 -0
- data/app/views/workarea/admin/content_assets/index.html.haml +95 -0
- data/app/views/workarea/admin/content_assets/insert.html.haml +46 -0
- data/app/views/workarea/admin/content_assets/new.html.haml +36 -0
- data/app/views/workarea/admin/content_assets/show.html.haml +21 -0
- data/app/views/workarea/admin/content_blocks/_asset.html.haml +24 -0
- data/app/views/workarea/admin/content_blocks/_boolean.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_breakpoints.html.haml +17 -0
- data/app/views/workarea/admin/content_blocks/_category.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_color.html.haml +19 -0
- data/app/views/workarea/admin/content_blocks/_integer.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_options.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_products.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_range.html.haml +16 -0
- data/app/views/workarea/admin/content_blocks/_string.html.haml +17 -0
- data/app/views/workarea/admin/content_blocks/_taxonomy.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_text.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/_url.html.haml +14 -0
- data/app/views/workarea/admin/content_blocks/index.html.haml +31 -0
- data/app/views/workarea/admin/content_emails/edit.html.haml +22 -0
- data/app/views/workarea/admin/content_emails/index.html.haml +26 -0
- data/app/views/workarea/admin/content_pages/_aux_navigation.html.haml +2 -0
- data/app/views/workarea/admin/content_pages/_cards.html.haml +40 -0
- data/app/views/workarea/admin/content_pages/_summary.html.haml +14 -0
- data/app/views/workarea/admin/content_pages/edit.html.haml +76 -0
- data/app/views/workarea/admin/content_pages/index.html.haml +81 -0
- data/app/views/workarea/admin/content_pages/index.json.jbuilder +7 -0
- data/app/views/workarea/admin/content_pages/show.html.haml +23 -0
- data/app/views/workarea/admin/content_presets/new.html.haml +7 -0
- data/app/views/workarea/admin/create_catalog_categories/content.html.haml +31 -0
- data/app/views/workarea/admin/create_catalog_categories/featured_products.html.haml +75 -0
- data/app/views/workarea/admin/create_catalog_categories/navigation.html.haml +46 -0
- data/app/views/workarea/admin/create_catalog_categories/products.html.haml +64 -0
- data/app/views/workarea/admin/create_catalog_categories/publish.html.haml +36 -0
- data/app/views/workarea/admin/create_catalog_categories/rules.html.haml +68 -0
- data/app/views/workarea/admin/create_catalog_categories/setup.html.haml +51 -0
- data/app/views/workarea/admin/create_catalog_categories/taxonomy.html.haml +35 -0
- data/app/views/workarea/admin/create_catalog_products/categorization.html.haml +68 -0
- data/app/views/workarea/admin/create_catalog_products/content.html.haml +58 -0
- data/app/views/workarea/admin/create_catalog_products/details.html.haml +90 -0
- data/app/views/workarea/admin/create_catalog_products/images.html.haml +60 -0
- data/app/views/workarea/admin/create_catalog_products/publish.html.haml +45 -0
- data/app/views/workarea/admin/create_catalog_products/setup.html.haml +66 -0
- data/app/views/workarea/admin/create_catalog_products/variants.html.haml +93 -0
- data/app/views/workarea/admin/create_content_pages/content.html.haml +30 -0
- data/app/views/workarea/admin/create_content_pages/navigation.html.haml +45 -0
- data/app/views/workarea/admin/create_content_pages/publish.html.haml +35 -0
- data/app/views/workarea/admin/create_content_pages/setup.html.haml +53 -0
- data/app/views/workarea/admin/create_content_pages/taxonomy.html.haml +35 -0
- data/app/views/workarea/admin/create_pricing_discounts/details.html.haml +47 -0
- data/app/views/workarea/admin/create_pricing_discounts/publish.html.haml +31 -0
- data/app/views/workarea/admin/create_pricing_discounts/rules.html.haml +85 -0
- data/app/views/workarea/admin/create_pricing_discounts/setup.html.haml +100 -0
- data/app/views/workarea/admin/create_releases/plan.html.haml +83 -0
- data/app/views/workarea/admin/create_releases/setup.html.haml +58 -0
- data/app/views/workarea/admin/create_users/admin.html.haml +157 -0
- data/app/views/workarea/admin/create_users/customer.html.haml +76 -0
- data/app/views/workarea/admin/create_users/index.html.haml +38 -0
- data/app/views/workarea/admin/dashboards/catalog.html.haml +19 -0
- data/app/views/workarea/admin/dashboards/index.html.haml +177 -0
- data/app/views/workarea/admin/dashboards/marketing.html.haml +64 -0
- data/app/views/workarea/admin/dashboards/orders.html.haml +87 -0
- data/app/views/workarea/admin/dashboards/people.html.haml +70 -0
- data/app/views/workarea/admin/dashboards/reports.html.haml +220 -0
- data/app/views/workarea/admin/dashboards/search.html.haml +48 -0
- data/app/views/workarea/admin/dashboards/settings.html.haml +29 -0
- data/app/views/workarea/admin/dashboards/store.html.haml +21 -0
- data/app/views/workarea/admin/data_file_exports/new.html.haml +47 -0
- data/app/views/workarea/admin/data_file_imports/_csv_notes.html.haml +1 -0
- data/app/views/workarea/admin/data_file_imports/new.html.haml +47 -0
- data/app/views/workarea/admin/data_file_mailer/export.html.haml +3 -0
- data/app/views/workarea/admin/data_file_mailer/import.html.haml +11 -0
- data/app/views/workarea/admin/data_file_mailer/import_error.html.haml +13 -0
- data/app/views/workarea/admin/data_file_mailer/import_failure.html.haml +22 -0
- data/app/views/workarea/admin/data_file_tax_imports/new.html.haml +59 -0
- data/app/views/workarea/admin/data_files/errors.html.haml +38 -0
- data/app/views/workarea/admin/data_files/index.html.haml +68 -0
- data/app/views/workarea/admin/direct_uploads/product_images.html.haml +19 -0
- data/app/views/workarea/admin/email_signups/_summary.html.haml +6 -0
- data/app/views/workarea/admin/email_signups/index.html.haml +47 -0
- data/app/views/workarea/admin/facets/_applied.html.haml +17 -0
- data/app/views/workarea/admin/facets/_price_inputs.html.haml +23 -0
- data/app/views/workarea/admin/facets/_terms.html.haml +17 -0
- data/app/views/workarea/admin/featured_products/_release_preview_warning.html.haml +4 -0
- data/app/views/workarea/admin/featured_products/_selected.html.haml +10 -0
- data/app/views/workarea/admin/featured_products/_unselected.html.haml +8 -0
- data/app/views/workarea/admin/featured_products/edit.html.haml +46 -0
- data/app/views/workarea/admin/featured_products/select.html.haml +72 -0
- data/app/views/workarea/admin/fulfillments/show.html.haml +100 -0
- data/app/views/workarea/admin/help/edit.html.haml +53 -0
- data/app/views/workarea/admin/help/index.html.haml +78 -0
- data/app/views/workarea/admin/help/new.html.haml +53 -0
- data/app/views/workarea/admin/help/show.html.haml +23 -0
- data/app/views/workarea/admin/help/takeover.html.haml +35 -0
- data/app/views/workarea/admin/help_assets/index.html.haml +36 -0
- data/app/views/workarea/admin/insights/_best_customers.html.haml +20 -0
- data/app/views/workarea/admin/insights/_best_full_price_customers.html.haml +20 -0
- data/app/views/workarea/admin/insights/_cold_products.html.haml +29 -0
- data/app/views/workarea/admin/insights/_cold_searches.html.haml +25 -0
- data/app/views/workarea/admin/insights/_customer_acquisition.html.haml +11 -0
- data/app/views/workarea/admin/insights/_customers_at_risk.html.haml +20 -0
- data/app/views/workarea/admin/insights/_hot_products.html.haml +29 -0
- data/app/views/workarea/admin/insights/_hot_searches.html.haml +27 -0
- data/app/views/workarea/admin/insights/_low_aov_customers.html.haml +20 -0
- data/app/views/workarea/admin/insights/_most_discount_given.html.haml +24 -0
- data/app/views/workarea/admin/insights/_most_discounted_products.html.haml +32 -0
- data/app/views/workarea/admin/insights/_new_products.html.haml +20 -0
- data/app/views/workarea/admin/insights/_non_sellers.html.haml +23 -0
- data/app/views/workarea/admin/insights/_popular_searches.html.haml +21 -0
- data/app/views/workarea/admin/insights/_popular_searches_without_results.html.haml +19 -0
- data/app/views/workarea/admin/insights/_products_purchased_together.html.haml +26 -0
- data/app/views/workarea/admin/insights/_products_to_improve.html.haml +26 -0
- data/app/views/workarea/admin/insights/_promising_products.html.haml +26 -0
- data/app/views/workarea/admin/insights/_release_reminder.html.haml +36 -0
- data/app/views/workarea/admin/insights/_repeat_purchase_rate.html.haml +20 -0
- data/app/views/workarea/admin/insights/_sales_by_navigation.html.haml +22 -0
- data/app/views/workarea/admin/insights/_searches_to_improve.html.haml +25 -0
- data/app/views/workarea/admin/insights/_star_products.html.haml +26 -0
- data/app/views/workarea/admin/insights/_star_searches.html.haml +21 -0
- data/app/views/workarea/admin/insights/_top_categories.html.haml +22 -0
- data/app/views/workarea/admin/insights/_top_discounts.html.haml +24 -0
- data/app/views/workarea/admin/insights/_top_products.html.haml +25 -0
- data/app/views/workarea/admin/insights/_trending_products.html.haml +24 -0
- data/app/views/workarea/admin/insights/_trending_searches.html.haml +21 -0
- data/app/views/workarea/admin/insights/_upcoming_releases.html.haml +36 -0
- data/app/views/workarea/admin/inventory_skus/_aux_navigation.html.haml +4 -0
- data/app/views/workarea/admin/inventory_skus/_cards.html.haml +42 -0
- data/app/views/workarea/admin/inventory_skus/_summary.html.haml +6 -0
- data/app/views/workarea/admin/inventory_skus/edit.html.haml +71 -0
- data/app/views/workarea/admin/inventory_skus/index.html.haml +81 -0
- data/app/views/workarea/admin/inventory_skus/new.html.haml +52 -0
- data/app/views/workarea/admin/inventory_skus/show.html.haml +17 -0
- data/app/views/workarea/admin/navigation_menus/_summary.html.haml +10 -0
- data/app/views/workarea/admin/navigation_menus/edit.html.haml +42 -0
- data/app/views/workarea/admin/navigation_menus/index.html.haml +57 -0
- data/app/views/workarea/admin/navigation_menus/new.html.haml +44 -0
- data/app/views/workarea/admin/navigation_redirects/_summary.html.haml +7 -0
- data/app/views/workarea/admin/navigation_redirects/index.html.haml +72 -0
- data/app/views/workarea/admin/navigation_taxons/_insert.html.haml +53 -0
- data/app/views/workarea/admin/navigation_taxons/_select.html.haml +21 -0
- data/app/views/workarea/admin/navigation_taxons/_taxon.html.haml +34 -0
- data/app/views/workarea/admin/navigation_taxons/children.html.haml +19 -0
- data/app/views/workarea/admin/navigation_taxons/edit.html.haml +52 -0
- data/app/views/workarea/admin/navigation_taxons/index.html.haml +38 -0
- data/app/views/workarea/admin/navigation_taxons/new.html.haml +43 -0
- data/app/views/workarea/admin/orders/_aux_navigation.html.haml +4 -0
- data/app/views/workarea/admin/orders/_cards.html.haml +181 -0
- data/app/views/workarea/admin/orders/_summary.html.haml +11 -0
- data/app/views/workarea/admin/orders/attributes.html.haml +123 -0
- data/app/views/workarea/admin/orders/index.html.haml +128 -0
- data/app/views/workarea/admin/orders/show.html.haml +24 -0
- data/app/views/workarea/admin/orders/tenders/_credit_card.html.haml +4 -0
- data/app/views/workarea/admin/orders/tenders/_missing.html.haml +1 -0
- data/app/views/workarea/admin/orders/tenders/_store_credit.html.haml +4 -0
- data/app/views/workarea/admin/orders/timeline.html.haml +33 -0
- data/app/views/workarea/admin/orders/timeline/_authorize.html.haml +12 -0
- data/app/views/workarea/admin/orders/timeline/_canceled.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_canceled_fulfillment.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_capture.html.haml +12 -0
- data/app/views/workarea/admin/orders/timeline/_comment.html.haml +9 -0
- data/app/views/workarea/admin/orders/timeline/_copied.html.haml +9 -0
- data/app/views/workarea/admin/orders/timeline/_created.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_placed.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_price_overridden.html.haml +8 -0
- data/app/views/workarea/admin/orders/timeline/_refund.html.haml +12 -0
- data/app/views/workarea/admin/orders/timeline/_shipped.html.haml +8 -0
- data/app/views/workarea/admin/payment_transactions/_aux_navigation.html.haml +2 -0
- data/app/views/workarea/admin/payment_transactions/_summary.html.haml +6 -0
- data/app/views/workarea/admin/payment_transactions/index.html.haml +78 -0
- data/app/views/workarea/admin/payment_transactions/show.html.haml +80 -0
- data/app/views/workarea/admin/payments/show.html.haml +72 -0
- data/app/views/workarea/admin/prices/edit.html.haml +70 -0
- data/app/views/workarea/admin/prices/index.html.haml +51 -0
- data/app/views/workarea/admin/prices/new.html.haml +65 -0
- data/app/views/workarea/admin/pricing/show.html.haml +99 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/_cards.html.haml +67 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/_summary.html.haml +6 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/edit.html.haml +34 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/index.html.haml +53 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/new.html.haml +40 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/promo_codes.html.haml +50 -0
- data/app/views/workarea/admin/pricing_discount_code_lists/show.html.haml +31 -0
- data/app/views/workarea/admin/pricing_discounts/_aux_navigation.html.haml +3 -0
- data/app/views/workarea/admin/pricing_discounts/_cards.html.haml +122 -0
- data/app/views/workarea/admin/pricing_discounts/_summary.html.haml +10 -0
- data/app/views/workarea/admin/pricing_discounts/conditions/_item_quantity.html.haml +8 -0
- data/app/views/workarea/admin/pricing_discounts/conditions/_order_total.html.haml +10 -0
- data/app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml +17 -0
- data/app/views/workarea/admin/pricing_discounts/conditions/_user_tags.html.haml +13 -0
- data/app/views/workarea/admin/pricing_discounts/edit.html.haml +57 -0
- data/app/views/workarea/admin/pricing_discounts/index.html.haml +85 -0
- data/app/views/workarea/admin/pricing_discounts/index.json.jbuilder +8 -0
- data/app/views/workarea/admin/pricing_discounts/insights.html.haml +60 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_buy_some_get_some.html.haml +39 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_category.html.haml +22 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_free_gift.html.haml +28 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_order_total.html.haml +21 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_product.html.haml +23 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_product_attribute.html.haml +32 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_quantity_fixed_price.html.haml +36 -0
- data/app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml +21 -0
- data/app/views/workarea/admin/pricing_discounts/rules.html.haml +64 -0
- data/app/views/workarea/admin/pricing_discounts/show.html.haml +39 -0
- data/app/views/workarea/admin/pricing_overrides/edit.html.haml +115 -0
- data/app/views/workarea/admin/pricing_skus/_aux_navigation.html.haml +4 -0
- data/app/views/workarea/admin/pricing_skus/_cards.html.haml +67 -0
- data/app/views/workarea/admin/pricing_skus/_summary.html.haml +10 -0
- data/app/views/workarea/admin/pricing_skus/edit.html.haml +65 -0
- data/app/views/workarea/admin/pricing_skus/index.html.haml +81 -0
- data/app/views/workarea/admin/pricing_skus/new.html.haml +78 -0
- data/app/views/workarea/admin/pricing_skus/show.html.haml +16 -0
- data/app/views/workarea/admin/product_rules/_card.html.haml +23 -0
- data/app/views/workarea/admin/product_rules/_form.html.haml +12 -0
- data/app/views/workarea/admin/product_rules/_preview.html.haml +28 -0
- data/app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml +7 -0
- data/app/views/workarea/admin/product_rules/fields/_category.html.haml +5 -0
- data/app/views/workarea/admin/product_rules/fields/_created_at.html.haml +4 -0
- data/app/views/workarea/admin/product_rules/fields/_excluded_products.html.haml +5 -0
- data/app/views/workarea/admin/product_rules/fields/_generic.html.haml +8 -0
- data/app/views/workarea/admin/product_rules/fields/_on_sale.html.haml +7 -0
- data/app/views/workarea/admin/product_rules/fields/_price.html.haml +5 -0
- data/app/views/workarea/admin/product_rules/fields/_search.html.haml +31 -0
- data/app/views/workarea/admin/product_rules/index.html.haml +61 -0
- data/app/views/workarea/admin/product_rules/preview.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_available_inventory.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_category.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_created_at.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_excluded_products.html.haml +4 -0
- data/app/views/workarea/admin/product_rules/summaries/_generic.html.haml +3 -0
- data/app/views/workarea/admin/product_rules/summaries/_on_sale.html.haml +5 -0
- data/app/views/workarea/admin/product_rules/summaries/_price.html.haml +1 -0
- data/app/views/workarea/admin/product_rules/summaries/_search.html.haml +1 -0
- data/app/views/workarea/admin/recommendations/edit.html.haml +42 -0
- data/app/views/workarea/admin/releasables/index.html.haml +72 -0
- data/app/views/workarea/admin/releases/_cards.html.haml +103 -0
- data/app/views/workarea/admin/releases/_publish.html.haml +31 -0
- data/app/views/workarea/admin/releases/_select.html.haml +13 -0
- data/app/views/workarea/admin/releases/_summary.html.haml +6 -0
- data/app/views/workarea/admin/releases/calendar.html.haml +54 -0
- data/app/views/workarea/admin/releases/edit.html.haml +83 -0
- data/app/views/workarea/admin/releases/index.html.haml +100 -0
- data/app/views/workarea/admin/releases/new.html.haml +6 -0
- data/app/views/workarea/admin/releases/show.html.haml +65 -0
- data/app/views/workarea/admin/reports/_export.html.haml +12 -0
- data/app/views/workarea/admin/reports/_group_by_time.html.haml +6 -0
- data/app/views/workarea/admin/reports/average_order_value.html.haml +39 -0
- data/app/views/workarea/admin/reports/customers.html.haml +49 -0
- data/app/views/workarea/admin/reports/first_time_vs_returning_sales.html.haml +41 -0
- data/app/views/workarea/admin/reports/insights.html.haml +16 -0
- data/app/views/workarea/admin/reports/low_inventory.html.haml +35 -0
- data/app/views/workarea/admin/reports/reference.html.haml +88 -0
- data/app/views/workarea/admin/reports/sales_by_category.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_by_country.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_by_discount.html.haml +38 -0
- data/app/views/workarea/admin/reports/sales_by_product.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_by_sku.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_by_traffic_referrer.html.haml +42 -0
- data/app/views/workarea/admin/reports/sales_over_time.html.haml +49 -0
- data/app/views/workarea/admin/reports/searches.html.haml +45 -0
- data/app/views/workarea/admin/reports_mailer/export.html.haml +3 -0
- data/app/views/workarea/admin/search_customizations/_aux_navigation.html.haml +2 -0
- data/app/views/workarea/admin/search_customizations/_cards.html.haml +130 -0
- data/app/views/workarea/admin/search_customizations/analyze.html.haml +119 -0
- data/app/views/workarea/admin/search_customizations/edit.html.haml +74 -0
- data/app/views/workarea/admin/search_customizations/index.html.haml +78 -0
- data/app/views/workarea/admin/search_customizations/index.json.jbuilder +4 -0
- data/app/views/workarea/admin/search_customizations/insights.html.haml +71 -0
- data/app/views/workarea/admin/search_customizations/show.html.haml +19 -0
- data/app/views/workarea/admin/search_settings/show.html.haml +55 -0
- data/app/views/workarea/admin/searches/show.html.haml +54 -0
- data/app/views/workarea/admin/shared/_activate_select.html.haml +6 -0
- data/app/views/workarea/admin/shared/_bulk_actions.html.haml +18 -0
- data/app/views/workarea/admin/shared/_creation_date.html.haml +21 -0
- data/app/views/workarea/admin/shared/_csv_formatting_tooltip.html.haml +9 -0
- data/app/views/workarea/admin/shared/_date_selector.html.haml +22 -0
- data/app/views/workarea/admin/shared/_message.html.haml +4 -0
- data/app/views/workarea/admin/shared/_pagination.html.haml +38 -0
- data/app/views/workarea/admin/shared/_primary_nav.html.haml +113 -0
- data/app/views/workarea/admin/shared/_publishing_select.html.haml +6 -0
- data/app/views/workarea/admin/shared/_release_slug_tooltip.html.haml +7 -0
- data/app/views/workarea/admin/shared/_summary.html.haml +9 -0
- data/app/views/workarea/admin/shared/_toggle_button.html.haml +7 -0
- data/app/views/workarea/admin/shared/values.json.jbuilder +4 -0
- data/app/views/workarea/admin/shipping_services/edit.html.haml +69 -0
- data/app/views/workarea/admin/shipping_services/index.html.haml +61 -0
- data/app/views/workarea/admin/shipping_services/new.html.haml +57 -0
- data/app/views/workarea/admin/shippings/index.html.haml +92 -0
- data/app/views/workarea/admin/status_report_mailer/report.html.haml +94 -0
- data/app/views/workarea/admin/style_guides/_navigation.html.haml +10 -0
- data/app/views/workarea/admin/style_guides/base/_forms.html.haml +77 -0
- data/app/views/workarea/admin/style_guides/base/_tables.html.haml +72 -0
- data/app/views/workarea/admin/style_guides/components/_activity.html.haml +25 -0
- data/app/views/workarea/admin/style_guides/components/_activity_group.html.haml +80 -0
- data/app/views/workarea/admin/style_guides/components/_asset_picker_field.html.haml +12 -0
- data/app/views/workarea/admin/style_guides/components/_avatar.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/components/_box.html.haml +59 -0
- data/app/views/workarea/admin/style_guides/components/_button.html.haml +53 -0
- data/app/views/workarea/admin/style_guides/components/_card.html.haml +157 -0
- data/app/views/workarea/admin/style_guides/components/_checkbox.html.haml +21 -0
- data/app/views/workarea/admin/style_guides/components/_color_picker_field.html.haml +36 -0
- data/app/views/workarea/admin/style_guides/components/_data_file_sample.html.haml +28 -0
- data/app/views/workarea/admin/style_guides/components/_data_pairs.html.haml +28 -0
- data/app/views/workarea/admin/style_guides/components/_date_marker.html.haml +18 -0
- data/app/views/workarea/admin/style_guides/components/_direct_upload.html.haml +96 -0
- data/app/views/workarea/admin/style_guides/components/_expandable.html.haml +25 -0
- data/app/views/workarea/admin/style_guides/components/_index_table.html.haml +51 -0
- data/app/views/workarea/admin/style_guides/components/_insight.html.haml +100 -0
- data/app/views/workarea/admin/style_guides/components/_loading.html.haml +85 -0
- data/app/views/workarea/admin/style_guides/components/_menu.html.haml +112 -0
- data/app/views/workarea/admin/style_guides/components/_message.html.haml +45 -0
- data/app/views/workarea/admin/style_guides/components/_pagination.html.haml +156 -0
- data/app/views/workarea/admin/style_guides/components/_product_summary.html.haml +28 -0
- data/app/views/workarea/admin/style_guides/components/_property.html.haml +147 -0
- data/app/views/workarea/admin/style_guides/components/_property_toggle.html.haml +48 -0
- data/app/views/workarea/admin/style_guides/components/_release_changeset.html.haml +55 -0
- data/app/views/workarea/admin/style_guides/components/_search_form.html.haml +28 -0
- data/app/views/workarea/admin/style_guides/components/_state.html.haml +35 -0
- data/app/views/workarea/admin/style_guides/components/_summary.html.haml +66 -0
- data/app/views/workarea/admin/style_guides/components/_svg_icon.html.haml +51 -0
- data/app/views/workarea/admin/style_guides/components/_tabs.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/components/_text_box.html.haml +147 -0
- data/app/views/workarea/admin/style_guides/components/_text_button.html.haml +58 -0
- data/app/views/workarea/admin/style_guides/components/_toggle_button.html.haml +59 -0
- data/app/views/workarea/admin/style_guides/components/_ui_accordion.html.haml +21 -0
- data/app/views/workarea/admin/style_guides/components/_ui_autocomplete.html.haml +10 -0
- data/app/views/workarea/admin/style_guides/components/_ui_datepicker.html.haml +22 -0
- data/app/views/workarea/admin/style_guides/components/_ui_helper_hidden_accessible.html.haml +5 -0
- data/app/views/workarea/admin/style_guides/components/_view.html.haml +45 -0
- data/app/views/workarea/admin/style_guides/components/_workflow_bar.html.haml +118 -0
- data/app/views/workarea/admin/style_guides/components/_wysiwyg.html.haml +10 -0
- data/app/views/workarea/admin/style_guides/index.html.haml +87 -0
- data/app/views/workarea/admin/style_guides/objects/_button.html.haml +9 -0
- data/app/views/workarea/admin/style_guides/objects/_button_reset.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/objects/_inline_list.html.haml +41 -0
- data/app/views/workarea/admin/style_guides/objects/_list_reset.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/objects/_section.html.haml +13 -0
- data/app/views/workarea/admin/style_guides/objects/_text_field_reset.html.haml +11 -0
- data/app/views/workarea/admin/style_guides/objects/_tooltip_content.html.haml +31 -0
- data/app/views/workarea/admin/style_guides/settings/_color_variables.html.haml +21 -0
- data/app/views/workarea/admin/style_guides/show.html.haml +10 -0
- data/app/views/workarea/admin/style_guides/trumps/_break_word.html.haml +15 -0
- data/app/views/workarea/admin/style_guides/trumps/_clearfix.html.haml +21 -0
- data/app/views/workarea/admin/style_guides/trumps/_hidden.html.haml +97 -0
- data/app/views/workarea/admin/style_guides/trumps/_image_replacement.html.haml +13 -0
- data/app/views/workarea/admin/style_guides/trumps/_truncate.html.haml +13 -0
- data/app/views/workarea/admin/style_guides/trumps/_visible.html.haml +97 -0
- data/app/views/workarea/admin/style_guides/trumps/_visually_hidden.html.haml +17 -0
- data/app/views/workarea/admin/style_guides/typography/_align.html.haml +25 -0
- data/app/views/workarea/admin/style_guides/typography/_fonts.html.haml +25 -0
- data/app/views/workarea/admin/style_guides/typography/_headings.html.haml +34 -0
- data/app/views/workarea/admin/style_guides/typography/_links.html.haml +47 -0
- data/app/views/workarea/admin/style_guides/typography/_spark.html.haml +32 -0
- data/app/views/workarea/admin/style_guides/typography/_text.html.haml +50 -0
- data/app/views/workarea/admin/tax_categories/_cards.html.haml +57 -0
- data/app/views/workarea/admin/tax_categories/edit.html.haml +44 -0
- data/app/views/workarea/admin/tax_categories/index.html.haml +48 -0
- data/app/views/workarea/admin/tax_categories/new.html.haml +39 -0
- data/app/views/workarea/admin/tax_categories/show.html.haml +19 -0
- data/app/views/workarea/admin/tax_rates/index.html.haml +52 -0
- data/app/views/workarea/admin/timeline/_card.html.haml +16 -0
- data/app/views/workarea/admin/timeline/show.html.haml +78 -0
- data/app/views/workarea/admin/toolbar/show.html.haml +79 -0
- data/app/views/workarea/admin/trash/index.html.haml +21 -0
- data/app/views/workarea/admin/users/_cards.html.haml +199 -0
- data/app/views/workarea/admin/users/_summary.html.haml +15 -0
- data/app/views/workarea/admin/users/addresses.html.haml +22 -0
- data/app/views/workarea/admin/users/edit.html.haml +88 -0
- data/app/views/workarea/admin/users/index.html.haml +94 -0
- data/app/views/workarea/admin/users/index.json.jbuilder +4 -0
- data/app/views/workarea/admin/users/insights.html.haml +128 -0
- data/app/views/workarea/admin/users/orders.html.haml +52 -0
- data/app/views/workarea/admin/users/permissions.html.haml +132 -0
- data/app/views/workarea/admin/users/show.html.haml +38 -0
- data/bin/rails +18 -0
- data/config/locales/en.yml +3609 -0
- data/config/routes.rb +372 -0
- data/lib/workarea/admin.rb +7 -0
- data/lib/workarea/admin/engine.rb +8 -0
- data/lib/workarea/mailer_previews/admin/comment_mailer_preview.rb +12 -0
- data/lib/workarea/mailer_previews/admin/data_file_mailer_preview.rb +21 -0
- data/lib/workarea/mailer_previews/admin/status_report_mailer_preview.rb +9 -0
- data/public/workarea/import_samples/tax_rates.csv +3 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +5 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +22 -0
- data/test/dummy/config/boot.rb +3 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +54 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +43 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/new_framework_defaults.rb +17 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/workarea.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/de.yml +2 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +10 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +1 -0
- data/test/dummy/script/rails +6 -0
- data/test/helpers/workarea/admin/application_helper_test.rb +83 -0
- data/test/helpers/workarea/admin/icons_helper_test.rb +62 -0
- data/test/helpers/workarea/admin/imports_helper_test.rb +31 -0
- data/test/helpers/workarea/admin/insights_helper_test.rb +19 -0
- data/test/helpers/workarea/admin/releases_helper_test.rb +152 -0
- data/test/helpers/workarea/admin/settings_helper_test.rb +34 -0
- data/test/integration/workarea/admin/assets_integration_test.rb +62 -0
- data/test/integration/workarea/admin/authorization_integration_test.rb +32 -0
- data/test/integration/workarea/admin/bookmarks_integration_test.rb +29 -0
- data/test/integration/workarea/admin/bulk_action_deletions_integration_test.rb +149 -0
- data/test/integration/workarea/admin/bulk_action_product_edits_integration_test.rb +77 -0
- data/test/integration/workarea/admin/bulk_action_sequential_product_edits_integration_test.rb +198 -0
- data/test/integration/workarea/admin/bulk_actions_integration_test.rb +42 -0
- data/test/integration/workarea/admin/catalog_product_copies_integration_test.rb +37 -0
- data/test/integration/workarea/admin/categories_integration_test.rb +63 -0
- data/test/integration/workarea/admin/categorizations_integration_test.rb +49 -0
- data/test/integration/workarea/admin/changesets_integration_test.rb +22 -0
- data/test/integration/workarea/admin/comments_integration_test.rb +147 -0
- data/test/integration/workarea/admin/content_blocks_integration_test.rb +116 -0
- data/test/integration/workarea/admin/content_emails_integration_test.rb +22 -0
- data/test/integration/workarea/admin/content_integration_test.rb +20 -0
- data/test/integration/workarea/admin/content_presets_integration_test.rb +38 -0
- data/test/integration/workarea/admin/create_catalog_categories_integration_test.rb +99 -0
- data/test/integration/workarea/admin/create_catalog_products_integration_test.rb +215 -0
- data/test/integration/workarea/admin/create_content_pages_integration_test.rb +99 -0
- data/test/integration/workarea/admin/create_pricing_discounts_integration_test.rb +249 -0
- data/test/integration/workarea/admin/create_releases_integration_test.rb +24 -0
- data/test/integration/workarea/admin/create_users_integration_test.rb +188 -0
- data/test/integration/workarea/admin/data_file_exports_integration_test.rb +69 -0
- data/test/integration/workarea/admin/data_file_imports_integration_test.rb +153 -0
- data/test/integration/workarea/admin/direct_uploads_integration_test.rb +92 -0
- data/test/integration/workarea/admin/discounts_integration_test.rb +57 -0
- data/test/integration/workarea/admin/email_signups_integration_test.rb +18 -0
- data/test/integration/workarea/admin/featured_products_integration_test.rb +55 -0
- data/test/integration/workarea/admin/guest_browsings_integration_test.rb +62 -0
- data/test/integration/workarea/admin/help_articles_integration_test.rb +70 -0
- data/test/integration/workarea/admin/impersonations_integration_test.rb +79 -0
- data/test/integration/workarea/admin/import_taxes_integration_test.rb +30 -0
- data/test/integration/workarea/admin/inventory_skus_integration_test.rb +68 -0
- data/test/integration/workarea/admin/jump_to_integration_test.rb +239 -0
- data/test/integration/workarea/admin/menus_integration_test.rb +142 -0
- data/test/integration/workarea/admin/pages_integration_test.rb +45 -0
- data/test/integration/workarea/admin/permissions_integration_test.rb +27 -0
- data/test/integration/workarea/admin/pricing_overrides_integration_test.rb +63 -0
- data/test/integration/workarea/admin/pricing_sku_prices_integration_test.rb +86 -0
- data/test/integration/workarea/admin/pricing_skus_integration_test.rb +67 -0
- data/test/integration/workarea/admin/product_images_integration_test.rb +68 -0
- data/test/integration/workarea/admin/product_rules_integration_test.rb +151 -0
- data/test/integration/workarea/admin/products_integration_test.rb +73 -0
- data/test/integration/workarea/admin/promo_codes_list_integration_test.rb +73 -0
- data/test/integration/workarea/admin/publish_authorization_integration_test.rb +66 -0
- data/test/integration/workarea/admin/publishing_integration_test.rb +36 -0
- data/test/integration/workarea/admin/recommendations_integration_test.rb +29 -0
- data/test/integration/workarea/admin/redirects_integration_test.rb +26 -0
- data/test/integration/workarea/admin/releases_integration_test.rb +172 -0
- data/test/integration/workarea/admin/reports_integration_test.rb +55 -0
- data/test/integration/workarea/admin/search_customizations_integration_test.rb +60 -0
- data/test/integration/workarea/admin/search_settings_integration_test.rb +63 -0
- data/test/integration/workarea/admin/shipping_service_integration_test.rb +79 -0
- data/test/integration/workarea/admin/sort_integration_test.rb +17 -0
- data/test/integration/workarea/admin/tax_categories_integration_test.rb +44 -0
- data/test/integration/workarea/admin/taxonomy_integration_test.rb +94 -0
- data/test/integration/workarea/admin/trash_integration_test.rb +145 -0
- data/test/integration/workarea/admin/users_integration_test.rb +153 -0
- data/test/integration/workarea/admin/variants_integration_test.rb +78 -0
- data/test/integration/workarea/admin/visiting_integration_test.rb +40 -0
- data/test/javascripts/add_content_block_buttons_spec.js +21 -0
- data/test/javascripts/add_to_calendar_buttons_spec.js +27 -0
- data/test/javascripts/asset_pickers_spec.js +56 -0
- data/test/javascripts/cloneable_rows_spec.js +38 -0
- data/test/javascripts/content_blocks_spec.js +47 -0
- data/test/javascripts/content_editor_form_cancel_spec.js +19 -0
- data/test/javascripts/content_editor_forms_spec.js +20 -0
- data/test/javascripts/content_preset_form_spec.js +18 -0
- data/test/javascripts/datepicker_fields_spec.js +65 -0
- data/test/javascripts/datetimepicker_fields_spec.js +97 -0
- data/test/javascripts/direct_uploads_spec.js +152 -0
- data/test/javascripts/fixtures/add_content_block_button.html.haml +10 -0
- data/test/javascripts/fixtures/add_to_calendar_button.html.haml +6 -0
- data/test/javascripts/fixtures/asset_picker.html.haml +6 -0
- data/test/javascripts/fixtures/calendar.html.haml +25 -0
- data/test/javascripts/fixtures/cloneable_row.html.haml +7 -0
- data/test/javascripts/fixtures/content_block.html.haml +4 -0
- data/test/javascripts/fixtures/content_block_editor_form.html.haml +8 -0
- data/test/javascripts/fixtures/datepicker_fields.html.haml +31 -0
- data/test/javascripts/fixtures/datetimepicker_fields.html.haml +11 -0
- data/test/javascripts/fixtures/direct_upload.html.haml +3 -0
- data/test/javascripts/fixtures/help_lookup_button.haml +11 -0
- data/test/javascripts/fixtures/menu_editor_menu_list_sortable.html.haml +3 -0
- data/test/javascripts/fixtures/new_navigation_taxon.html.haml +10 -0
- data/test/javascripts/fixtures/primary_nav.html.haml +4 -0
- data/test/javascripts/fixtures/property_toggle.html.haml +16 -0
- data/test/javascripts/fixtures/release_calendar_placeholder.html.haml +1 -0
- data/test/javascripts/fixtures/release_reminder.html.haml +6 -0
- data/test/javascripts/fixtures/remote_select.html.haml +1 -0
- data/test/javascripts/fixtures/sort_form.html.haml +3 -0
- data/test/javascripts/fixtures/takeover.html.haml +4 -0
- data/test/javascripts/fixtures/tooltip.html.haml +3 -0
- data/test/javascripts/menu_editor_menu_list_sortables_spec.js +40 -0
- data/test/javascripts/messages_spec.js +50 -0
- data/test/javascripts/new_navigation_taxons_spec.js +20 -0
- data/test/javascripts/primary_nav_spec.js +22 -0
- data/test/javascripts/property_toggles_spec.js +33 -0
- data/test/javascripts/release_calendar_placeholders_spec.js +60 -0
- data/test/javascripts/release_reminder_spec.js +18 -0
- data/test/javascripts/relevance_sort_spec.js +23 -0
- data/test/javascripts/remove_selects_spec.js +32 -0
- data/test/javascripts/spec_helper.js +3 -0
- data/test/javascripts/takeover_spec.js +99 -0
- data/test/javascripts/tooltips_spec.js +52 -0
- data/test/mailers/workarea/admin/status_report_mailer_test.rb +38 -0
- data/test/system/workarea/admin/activity_system_test.rb +79 -0
- data/test/system/workarea/admin/alerts_system_test.rb +43 -0
- data/test/system/workarea/admin/assets_system_test.rb +75 -0
- data/test/system/workarea/admin/bookmarks_system_test.rb +31 -0
- data/test/system/workarea/admin/bulk_action_deletions_system_test.rb +71 -0
- data/test/system/workarea/admin/bulk_actions_system_test.rb +206 -0
- data/test/system/workarea/admin/categories_system_test.rb +188 -0
- data/test/system/workarea/admin/comments_system_test.rb +21 -0
- data/test/system/workarea/admin/content_emails_system_test.rb +29 -0
- data/test/system/workarea/admin/content_presets_system_test.rb +65 -0
- data/test/system/workarea/admin/content_system_test.rb +130 -0
- data/test/system/workarea/admin/dashboard_system_test.rb +72 -0
- data/test/system/workarea/admin/data_files_system_test.rb +110 -0
- data/test/system/workarea/admin/discounts_system_test.rb +106 -0
- data/test/system/workarea/admin/exports_system_test.rb +63 -0
- data/test/system/workarea/admin/featured_products_system_test.rb +39 -0
- data/test/system/workarea/admin/guest_browsing_system_test.rb +86 -0
- data/test/system/workarea/admin/help_system_test.rb +104 -0
- data/test/system/workarea/admin/impersonation_system_test.rb +59 -0
- data/test/system/workarea/admin/imports_system_test.rb +42 -0
- data/test/system/workarea/admin/insights_system_test.rb +15 -0
- data/test/system/workarea/admin/inventory_skus_system_test.rb +45 -0
- data/test/system/workarea/admin/menus_system_test.rb +94 -0
- data/test/system/workarea/admin/orders_system_test.rb +108 -0
- data/test/system/workarea/admin/pages_system_test.rb +58 -0
- data/test/system/workarea/admin/payment_transactions_system_test.rb +44 -0
- data/test/system/workarea/admin/pricing_sku_prices_system_test.rb +81 -0
- data/test/system/workarea/admin/pricing_skus_system_test.rb +56 -0
- data/test/system/workarea/admin/product_copy_system_test.rb +48 -0
- data/test/system/workarea/admin/product_images_system_test.rb +71 -0
- data/test/system/workarea/admin/product_rules_system_test.rb +157 -0
- data/test/system/workarea/admin/products_system_test.rb +140 -0
- data/test/system/workarea/admin/publish_authorization_system_test.rb +90 -0
- data/test/system/workarea/admin/recommendations_system_test.rb +80 -0
- data/test/system/workarea/admin/redirects_system_test.rb +42 -0
- data/test/system/workarea/admin/releases_system_test.rb +232 -0
- data/test/system/workarea/admin/reports_system_test.rb +455 -0
- data/test/system/workarea/admin/search_customizations_system_test.rb +133 -0
- data/test/system/workarea/admin/search_settings_system_test.rb +34 -0
- data/test/system/workarea/admin/search_system_test.rb +111 -0
- data/test/system/workarea/admin/sequential_product_editing_system_test.rb +57 -0
- data/test/system/workarea/admin/shipping_services_system_test.rb +30 -0
- data/test/system/workarea/admin/style_guides_system_test.rb +18 -0
- data/test/system/workarea/admin/tax_categories_system_test.rb +61 -0
- data/test/system/workarea/admin/taxonomy_system_test.rb +41 -0
- data/test/system/workarea/admin/timeline_system_test.rb +62 -0
- data/test/system/workarea/admin/toolbar_system_test.rb +24 -0
- data/test/system/workarea/admin/trash_system_test.rb +53 -0
- data/test/system/workarea/admin/users_system_test.rb +141 -0
- data/test/system/workarea/admin/variants_system_test.rb +51 -0
- data/test/teaspoon_env.rb +10 -0
- data/test/test_helper.rb +10 -0
- data/test/view_models/workarea/admin/activity_view_model_test.rb +173 -0
- data/test/view_models/workarea/admin/changeset_view_model_test.rb +72 -0
- data/test/view_models/workarea/admin/code_list_view_model_test.rb +43 -0
- data/test/view_models/workarea/admin/commentable_view_model_test.rb +52 -0
- data/test/view_models/workarea/admin/content_view_model_test.rb +109 -0
- data/test/view_models/workarea/admin/dashboards/insights_graphs_test.rb +106 -0
- data/test/view_models/workarea/admin/dashboards/marketing_view_model_test.rb +25 -0
- data/test/view_models/workarea/admin/dashboards/people_view_model_test.rb +26 -0
- data/test/view_models/workarea/admin/discount_rules_view_model_test.rb +119 -0
- data/test/view_models/workarea/admin/discount_search_view_model_test.rb +26 -0
- data/test/view_models/workarea/admin/discount_view_model_test.rb +19 -0
- data/test/view_models/workarea/admin/fulfillment_item_view_model_test.rb +18 -0
- data/test/view_models/workarea/admin/fulfillment_view_model_test.rb +37 -0
- data/test/view_models/workarea/admin/help_search_view_model_test.rb +35 -0
- data/test/view_models/workarea/admin/insights/insights_details_test.rb +159 -0
- data/test/view_models/workarea/admin/insights/product_view_model_test.rb +92 -0
- data/test/view_models/workarea/admin/order_timeline_view_model_test.rb +194 -0
- data/test/view_models/workarea/admin/product_images_view_model_test.rb +22 -0
- data/test/view_models/workarea/admin/product_view_model_test.rb +152 -0
- data/test/view_models/workarea/admin/promo_code_view_model_test.rb +17 -0
- data/test/view_models/workarea/admin/release_calendar_view_model_test.rb +72 -0
- data/test/view_models/workarea/admin/release_view_model_test.rb +80 -0
- data/test/view_models/workarea/admin/releases_feed_view_model_test.rb +39 -0
- data/test/view_models/workarea/admin/reports/average_order_value_view_model_test.rb +27 -0
- data/test/view_models/workarea/admin/reports/group_by_time_test.rb +32 -0
- data/test/view_models/workarea/admin/reports/insights_view_model_test.rb +36 -0
- data/test/view_models/workarea/admin/reports/sales_by_traffic_referrer_view_model_test.rb +19 -0
- data/test/view_models/workarea/admin/reports/sales_over_time_view_model_test.rb +27 -0
- data/test/view_models/workarea/admin/search_analysis_view_model_test.rb +74 -0
- data/test/view_models/workarea/admin/search_view_model_test.rb +36 -0
- data/test/view_models/workarea/admin/shipping_view_model_test.rb +29 -0
- data/test/view_models/workarea/admin/timeline_view_model_test.rb +80 -0
- data/test/view_models/workarea/admin/transaction_view_model_test.rb +34 -0
- data/test/view_models/workarea/admin/user_search_view_model_test.rb +16 -0
- data/workarea-admin.gemspec +17 -0
- metadata +1401 -0
@@ -0,0 +1,108 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
class OrdersSystemTest < SystemTest
|
6
|
+
include Admin::IntegrationTest
|
7
|
+
|
8
|
+
def test_attributes
|
9
|
+
order = create_placed_order
|
10
|
+
visit admin.order_path(order)
|
11
|
+
click_link t('workarea.admin.cards.attributes.title')
|
12
|
+
|
13
|
+
assert(page.has_content?('Test Product'))
|
14
|
+
assert(page.has_content?('SKU'))
|
15
|
+
assert(page.has_content?("#{Money.default_currency.symbol}10.00")) # Subtotal
|
16
|
+
assert(page.has_content?("#{Money.default_currency.symbol}1.00")) # Shipping
|
17
|
+
assert(page.has_content?("#{Money.default_currency.symbol}11.00")) # Total
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_fulfillment
|
21
|
+
order = create_placed_order
|
22
|
+
fulfillment = Fulfillment.find(order.id)
|
23
|
+
fulfillment.ship_items('1z', ['id' => order.items.first.id, 'quantity' => 2])
|
24
|
+
|
25
|
+
visit admin.order_path(order)
|
26
|
+
click_link t('workarea.admin.orders.cards.fulfillment.title')
|
27
|
+
|
28
|
+
assert(page.has_content?('Test Product'))
|
29
|
+
assert(page.has_content?('SKU'))
|
30
|
+
assert(page.has_content?('1z')) # Tracking Number
|
31
|
+
assert(page.has_content?('2')) # Quantity
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_shipping
|
35
|
+
order = create_placed_order
|
36
|
+
visit admin.order_path(order)
|
37
|
+
click_link t('workarea.admin.orders.attributes.shipping.title')
|
38
|
+
|
39
|
+
assert(page.has_content?('Ben Crouse'))
|
40
|
+
assert(page.has_content?('22 S. 3rd St.'))
|
41
|
+
assert(page.has_content?('Philadelphia'))
|
42
|
+
assert(page.has_content?('PA'))
|
43
|
+
assert(page.has_content?('19106'))
|
44
|
+
assert(page.has_content?('Test')) # Method Name
|
45
|
+
assert(page.has_content?("#{Money.default_currency.symbol}1.00")) # Shipping Charges
|
46
|
+
end
|
47
|
+
|
48
|
+
def test_payment
|
49
|
+
Workarea.with_config do |config|
|
50
|
+
config.auto_capture = false
|
51
|
+
|
52
|
+
order = create_placed_order
|
53
|
+
visit admin.order_path(order)
|
54
|
+
click_link t('workarea.admin.orders.attributes.payment.title')
|
55
|
+
|
56
|
+
assert(page.has_content?('Ben Crouse'))
|
57
|
+
assert(page.has_content?('22 S. 3rd St.'))
|
58
|
+
assert(page.has_content?('Philadelphia'))
|
59
|
+
assert(page.has_content?('PA'))
|
60
|
+
assert(page.has_content?('19106'))
|
61
|
+
assert(page.has_content?('Credit Card'))
|
62
|
+
assert(page.has_content?('-1')) # Card Number
|
63
|
+
assert(page.has_content?('Authorize'))
|
64
|
+
assert(page.has_content?('Success'))
|
65
|
+
assert(page.has_content?("#{Money.default_currency.symbol}11.00")) # Auth Amount
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
def test_timeline
|
70
|
+
order = create_placed_order
|
71
|
+
fulfillment = Fulfillment.find(order.id)
|
72
|
+
fulfillment.ship_items('1z', ['id' => order.items.first.id, 'quantity' => 2])
|
73
|
+
|
74
|
+
shipped_content = t('workarea.admin.orders.timeline.shipped', count: 2)
|
75
|
+
auth_content = t(
|
76
|
+
'workarea.admin.orders.timeline.authorize.success',
|
77
|
+
type: 'credit card',
|
78
|
+
amount: Admin::ApplicationController.helpers.number_to_currency(11.to_m)
|
79
|
+
)
|
80
|
+
|
81
|
+
visit admin.order_path(order)
|
82
|
+
assert(page.has_content?(t('workarea.admin.orders.timeline.placed')))
|
83
|
+
assert(page.has_content?(shipped_content))
|
84
|
+
assert(page.has_content?(auth_content))
|
85
|
+
|
86
|
+
click_link t('workarea.admin.timeline.card.title')
|
87
|
+
|
88
|
+
assert(page.has_content?(t('workarea.admin.orders.timeline.placed')))
|
89
|
+
assert(page.has_content?(t('workarea.admin.orders.timeline.created')))
|
90
|
+
assert(page.has_content?(shipped_content))
|
91
|
+
assert(page.has_content?(auth_content))
|
92
|
+
end
|
93
|
+
|
94
|
+
def test_order_without_fulfillment
|
95
|
+
order = create_placed_order
|
96
|
+
Fulfillment.find(order.id).destroy
|
97
|
+
IndexAdminSearch.perform(order)
|
98
|
+
|
99
|
+
visit admin.orders_path
|
100
|
+
assert(page.has_content?('Not Available'))
|
101
|
+
click_link order.id
|
102
|
+
|
103
|
+
assert(page.has_content?(t('workarea.admin.orders.cards.fulfillment.title')))
|
104
|
+
assert(page.has_content?(t('workarea.admin.orders.cards.fulfillment.not_available')))
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
class PagesSystemTest < SystemTest
|
6
|
+
include Admin::IntegrationTest
|
7
|
+
|
8
|
+
def test_management
|
9
|
+
visit admin.content_pages_path
|
10
|
+
|
11
|
+
click_link 'add_page'
|
12
|
+
fill_in 'page[name]', with: 'Testing Page'
|
13
|
+
click_button 'save_setup'
|
14
|
+
|
15
|
+
assert(page.has_content?('Success'))
|
16
|
+
assert(page.has_content?('Content'))
|
17
|
+
|
18
|
+
click_link 'Continue to Taxonomy'
|
19
|
+
assert(page.has_content?('Taxonomy'))
|
20
|
+
click_button 'save_taxonomy'
|
21
|
+
|
22
|
+
assert(page.has_content?('Success'))
|
23
|
+
assert(page.has_content?('Taxonomy'))
|
24
|
+
|
25
|
+
assert(page.has_content?('navigation'))
|
26
|
+
click_button 'save_navigation'
|
27
|
+
assert(page.has_content?('Success'))
|
28
|
+
|
29
|
+
click_button 'publish'
|
30
|
+
assert(page.has_content?('Success'))
|
31
|
+
assert(page.has_content?('Testing Page'))
|
32
|
+
|
33
|
+
click_link 'Attributes'
|
34
|
+
fill_in 'page[name]', with: 'Edited Page'
|
35
|
+
click_button 'save_page'
|
36
|
+
|
37
|
+
assert(page.has_content?('Success'))
|
38
|
+
assert(page.has_content?('Edited Page'))
|
39
|
+
|
40
|
+
click_link 'Delete'
|
41
|
+
assert_current_path(admin.content_pages_path)
|
42
|
+
assert(page.has_no_content?('Edited Page'))
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_searching_pages
|
46
|
+
create_page(name: 'Foo Page')
|
47
|
+
visit admin.content_pages_path
|
48
|
+
|
49
|
+
within '#page_search_form' do
|
50
|
+
fill_in 'q', with: 'foo'
|
51
|
+
click_button 'search_pages'
|
52
|
+
end
|
53
|
+
|
54
|
+
assert(page.has_content?('Foo Page'))
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
class PaymentTransactionsSystemTest < SystemTest
|
6
|
+
include Admin::IntegrationTest
|
7
|
+
|
8
|
+
def test_viewing_transactions
|
9
|
+
Workarea.with_config do |config|
|
10
|
+
config.auto_capture = false
|
11
|
+
|
12
|
+
order = create_placed_order(id: 'FOO')
|
13
|
+
payment = Payment.find(order.id)
|
14
|
+
auth = payment.credit_card.transactions.first
|
15
|
+
capture = payment.credit_card.build_transaction(
|
16
|
+
action: 'capture',
|
17
|
+
amount: auth.amount,
|
18
|
+
reference: auth
|
19
|
+
)
|
20
|
+
capture.complete!
|
21
|
+
|
22
|
+
visit admin.payment_transactions_path
|
23
|
+
|
24
|
+
click_button 'Transaction'
|
25
|
+
assert(page.has_content?('Authorize (1)'))
|
26
|
+
assert(page.has_content?('Capture (1)'))
|
27
|
+
click_button 'Transaction' # closes filter dropdown
|
28
|
+
|
29
|
+
click_button 'Auth Status'
|
30
|
+
assert(page.has_content?('Captured (1)'))
|
31
|
+
|
32
|
+
visit admin.payment_transactions_path
|
33
|
+
click_link 'Authorize', match: :first
|
34
|
+
|
35
|
+
assert(page.has_content?('Transaction'))
|
36
|
+
assert(page.has_content?('Credit Card'))
|
37
|
+
assert(page.has_content?("#{Money.default_currency.symbol}11.00"))
|
38
|
+
assert(page.has_content?('Bogus Gateway: Forced success'))
|
39
|
+
assert(page.has_content?('Capture'))
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
class PricingSkuPricesSystemTest < SystemTest
|
6
|
+
include Admin::IntegrationTest
|
7
|
+
setup :set_pricing_sku
|
8
|
+
|
9
|
+
def set_pricing_sku
|
10
|
+
@sku = create_pricing_sku(
|
11
|
+
prices: [
|
12
|
+
{ regular: 11, sale: 9.99, min_quantity: 1 },
|
13
|
+
{ regular: 5, sale: 3, min_quantity: 7 }
|
14
|
+
])
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_creates_price
|
18
|
+
visit admin.pricing_sku_prices_path(@sku)
|
19
|
+
click_link t('workarea.admin.prices.index.button')
|
20
|
+
fill_in 'price[regular]', with: '10.00'
|
21
|
+
fill_in 'price[sale]', with: '3.95'
|
22
|
+
fill_in 'price[min_quantity]', with: '2'
|
23
|
+
|
24
|
+
click_button t('workarea.admin.prices.new.create_price')
|
25
|
+
assert(page.has_content?('Success'))
|
26
|
+
|
27
|
+
row = find_all("table tr")[3]
|
28
|
+
within(row) do
|
29
|
+
assert(page.has_content?('$10.00'))
|
30
|
+
assert(page.has_content?('$3.95'))
|
31
|
+
assert(page.has_content?('2'))
|
32
|
+
assert(page.has_content?(t('workarea.admin.prices.active')))
|
33
|
+
assert(page.has_content?(t('workarea.admin.pricing_skus.not_on_sale')))
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_updates_price
|
38
|
+
visit admin.pricing_sku_prices_path(@sku)
|
39
|
+
click_on(t('workarea.admin.actions.edit'), match: :first)
|
40
|
+
|
41
|
+
fill_in 'price[regular]', with: '10.00'
|
42
|
+
fill_in 'price[sale]', with: '3.95'
|
43
|
+
fill_in 'price[min_quantity]', with: '3'
|
44
|
+
find('.toggle-button__label--positive').click
|
45
|
+
click_button t('workarea.admin.form.save_changes')
|
46
|
+
|
47
|
+
assert(page.has_content?('Success'))
|
48
|
+
|
49
|
+
row = find_all("table tr")[1]
|
50
|
+
within(row) do
|
51
|
+
assert(page.has_content?('$10.00'))
|
52
|
+
assert(page.has_content?('$3.95'))
|
53
|
+
assert(page.has_content?('3'))
|
54
|
+
assert(page.has_content?(t('workarea.admin.prices.inactive')))
|
55
|
+
assert(page.has_content?(t('workarea.admin.pricing_skus.on_sale')))
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_destroys_price
|
60
|
+
visit admin.pricing_sku_prices_path(@sku)
|
61
|
+
|
62
|
+
row = find_all("table tr")[1]
|
63
|
+
within(row) do
|
64
|
+
assert(page.has_content?('$11.00'))
|
65
|
+
assert(page.has_content?('$9.99'))
|
66
|
+
assert(page.has_content?('1'))
|
67
|
+
end
|
68
|
+
|
69
|
+
click_on(t('workarea.admin.actions.delete'), match: :first)
|
70
|
+
assert(page.has_content?('Success'))
|
71
|
+
|
72
|
+
row = find_all("table tr")[1]
|
73
|
+
within(row) do
|
74
|
+
refute(page.has_content?('$11.00'))
|
75
|
+
refute(page.has_content?('$9.99'))
|
76
|
+
refute(page.has_content?('1'))
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
class PricingSkusSystemTest < SystemTest
|
6
|
+
include Admin::IntegrationTest
|
7
|
+
|
8
|
+
def test_management
|
9
|
+
visit admin.pricing_skus_path
|
10
|
+
click_link t('workarea.admin.pricing_skus.index.button')
|
11
|
+
|
12
|
+
fill_in 'sku[id]', with: 'SKU1'
|
13
|
+
click_button 'create_sku'
|
14
|
+
|
15
|
+
assert(page.has_content?('Success'))
|
16
|
+
assert(page.has_content?('SKU1'))
|
17
|
+
|
18
|
+
click_link t('workarea.admin.cards.attributes.title')
|
19
|
+
fill_in 'sku[tax_code]', with: '002'
|
20
|
+
click_button 'save_sku'
|
21
|
+
|
22
|
+
assert(page.has_content?('Success'))
|
23
|
+
assert(page.has_content?('002'))
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_prices
|
27
|
+
visit admin.pricing_skus_path
|
28
|
+
click_link t('workarea.admin.pricing_skus.index.button')
|
29
|
+
|
30
|
+
fill_in 'sku[id]', with: 'SKU1'
|
31
|
+
click_button 'create_sku'
|
32
|
+
assert(page.has_content?('Success'))
|
33
|
+
|
34
|
+
click_link t('workarea.admin.prices.label')
|
35
|
+
click_link t('workarea.admin.prices.index.button')
|
36
|
+
fill_in 'price[regular]', with: '10.00'
|
37
|
+
click_button 'create_price'
|
38
|
+
|
39
|
+
assert(page.has_content?('Success'))
|
40
|
+
assert(page.has_content?("#{Money.default_currency.symbol}10.00"))
|
41
|
+
|
42
|
+
click_link t('workarea.admin.actions.edit')
|
43
|
+
fill_in 'price[regular]', with: '9.99'
|
44
|
+
click_button 'save_price'
|
45
|
+
|
46
|
+
assert(page.has_content?('Success'))
|
47
|
+
assert(page.has_content?("#{Money.default_currency.symbol}9.99"))
|
48
|
+
|
49
|
+
click_link t('workarea.admin.actions.delete')
|
50
|
+
|
51
|
+
assert(page.has_content?('Success'))
|
52
|
+
assert(page.has_no_content?("#{Money.default_currency.symbol}9.99"))
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
class ProductCopySystemTest < Workarea::SystemTest
|
6
|
+
include Admin::IntegrationTest
|
7
|
+
|
8
|
+
def test_copy_from_product_show
|
9
|
+
product = create_product
|
10
|
+
|
11
|
+
visit admin.catalog_product_path(product)
|
12
|
+
click_link t('workarea.admin.catalog_products.show.copy_product')
|
13
|
+
|
14
|
+
fill_in 'product[id]', with: 'FOOBAR'
|
15
|
+
|
16
|
+
click_button 'create_copy'
|
17
|
+
assert(page.has_content?('Success'))
|
18
|
+
assert_current_path(
|
19
|
+
admin.edit_create_catalog_product_path(
|
20
|
+
"#{product.slug}-1",
|
21
|
+
continue: true
|
22
|
+
)
|
23
|
+
)
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_copy_from_create_workflow
|
27
|
+
create_product(name: 'Original Product')
|
28
|
+
|
29
|
+
visit admin.create_catalog_products_path
|
30
|
+
click_link t('workarea.admin.create_catalog_products.setup.copy_button')
|
31
|
+
|
32
|
+
find('.select2-selection--single').click
|
33
|
+
find('.select2-results__option', text: 'Original Product').click
|
34
|
+
|
35
|
+
fill_in 'product[id]', with: 'FOOBAR'
|
36
|
+
|
37
|
+
click_button 'create_copy'
|
38
|
+
assert(page.has_content?('Success'))
|
39
|
+
assert_current_path(
|
40
|
+
admin.edit_create_catalog_product_path(
|
41
|
+
'original-product-1',
|
42
|
+
continue: true
|
43
|
+
)
|
44
|
+
)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
class ProductImagesSystemTest < SystemTest
|
6
|
+
include Admin::IntegrationTest
|
7
|
+
|
8
|
+
setup :set_product
|
9
|
+
|
10
|
+
def set_product
|
11
|
+
@product = create_product
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_managing_product_images
|
15
|
+
visit admin.catalog_product_images_path(@product)
|
16
|
+
|
17
|
+
#
|
18
|
+
# Add Image
|
19
|
+
#
|
20
|
+
#
|
21
|
+
attach_file 'image_image', product_image_file_path
|
22
|
+
fill_in 'image_option', with: 'blue'
|
23
|
+
click_button 'create_image'
|
24
|
+
|
25
|
+
assert_equal(admin.catalog_product_images_path(@product), current_path)
|
26
|
+
assert(page.has_content?('Success'))
|
27
|
+
assert(page.has_content?('Blue Images'))
|
28
|
+
|
29
|
+
#
|
30
|
+
# Edit Image
|
31
|
+
#
|
32
|
+
#
|
33
|
+
all('[data-product-images-sortable] .product-images__image')[0].hover
|
34
|
+
click_link t('workarea.admin.catalog_product_images.index.edit_image')
|
35
|
+
assert(page.has_content?('Blue Image'))
|
36
|
+
assert(page.has_content?('Edit Image'))
|
37
|
+
|
38
|
+
attach_file 'image_image', product_image_file_path
|
39
|
+
fill_in 'image_option', with: 'black'
|
40
|
+
click_button 'save_product_image'
|
41
|
+
|
42
|
+
assert(page.has_content?('Success'))
|
43
|
+
assert(page.has_content?('Black Images'))
|
44
|
+
refute_match(/blue_0/m, page.html)
|
45
|
+
|
46
|
+
#
|
47
|
+
# Delete Image
|
48
|
+
#
|
49
|
+
#
|
50
|
+
all('[data-product-images-sortable] .product-images__image')[0].hover
|
51
|
+
click_link t('workarea.admin.catalog_product_images.index.delete_image')
|
52
|
+
assert(page.has_content?('Success'))
|
53
|
+
assert(page.has_no_content?('Black Images'))
|
54
|
+
end
|
55
|
+
|
56
|
+
def test_reordering_within_an_option
|
57
|
+
visit admin.catalog_product_images_path(@product)
|
58
|
+
|
59
|
+
attach_file 'image_image', product_image_file_path
|
60
|
+
fill_in 'image_option', with: 'blue'
|
61
|
+
click_button 'create_image'
|
62
|
+
|
63
|
+
attach_file 'image_image', product_image_file_path
|
64
|
+
fill_in 'image_option', with: 'blue'
|
65
|
+
click_button 'create_image'
|
66
|
+
|
67
|
+
assert(page.has_selector?('.ui-sortable'))
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|