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,4 @@
|
|
1
|
+
.grid.grid--auto.grid--right.grid--middle
|
2
|
+
- if model.product.present?
|
3
|
+
.grid__cell= link_to t('workarea.admin.pricing_skus.show.view_product'), url_for(model.product), local_assigns[:html_options]
|
4
|
+
.grid__cell= link_to t('workarea.admin.pricing_skus.show.view_inventory'), url_for(model.inventory), local_assigns[:html_options]
|
@@ -0,0 +1,67 @@
|
|
1
|
+
.grid.grid--auto.grid--flush.grid--center
|
2
|
+
.grid__cell
|
3
|
+
.card{ class: card_classes(:attributes, local_assigns[:active]) }
|
4
|
+
= link_to edit_pricing_sku_path(model), class: 'card__header' do
|
5
|
+
%span.card__header-text= t('workarea.admin.cards.attributes.title')
|
6
|
+
= inline_svg 'workarea/admin/icons/attributes.svg', class: 'card__icon'
|
7
|
+
|
8
|
+
- if local_assigns[:active].blank?
|
9
|
+
.card__body
|
10
|
+
%ul.list-reset
|
11
|
+
%li
|
12
|
+
%strong #{t('workarea.admin.fields.active')}?
|
13
|
+
= check_box_tag 'sku', 'active', model.active, disabled: true
|
14
|
+
%li
|
15
|
+
%strong #{t('workarea.admin.fields.tax_code')}:
|
16
|
+
= model.tax_code.presence || '(none)'
|
17
|
+
%li
|
18
|
+
%strong #{t('workarea.admin.fields.msrp')}:
|
19
|
+
- if model.msrp.blank?
|
20
|
+
= t('workarea.admin.cards.attributes.no_value')
|
21
|
+
- else
|
22
|
+
= number_to_currency model.msrp
|
23
|
+
%li
|
24
|
+
%strong #{t('workarea.admin.fields.on_sale')}:
|
25
|
+
= model.on_sale?.to_s.titleize
|
26
|
+
%li
|
27
|
+
%strong #{t('workarea.admin.fields.discountable')}:
|
28
|
+
= model.discountable?.to_s.titleize
|
29
|
+
%li
|
30
|
+
%strong= t('workarea.admin.fields.updated_at')
|
31
|
+
#{local_time_ago(model.updated_at)}
|
32
|
+
%li
|
33
|
+
%strong= t('workarea.admin.fields.created_at')
|
34
|
+
#{local_time_ago(model.created_at)}
|
35
|
+
= append_partials('admin.pricing_sku_attributes_card', pricing_sku: model)
|
36
|
+
|
37
|
+
= link_to edit_pricing_sku_path(model), class: 'card__button' do
|
38
|
+
%span.button.button--small= t('workarea.admin.cards.attributes.button')
|
39
|
+
|
40
|
+
.grid__cell
|
41
|
+
.card{ class: card_classes(:prices, local_assigns[:active]) }
|
42
|
+
= link_to pricing_sku_prices_path(model), class: 'card__header' do
|
43
|
+
%span.card__header-text= t('workarea.admin.prices.label')
|
44
|
+
= inline_svg 'workarea/admin/icons/prices.svg', class: 'card__icon'
|
45
|
+
|
46
|
+
- if local_assigns[:active].blank?
|
47
|
+
.card__body
|
48
|
+
%ul.list-reset
|
49
|
+
- model.prices.take(10).each do |price|
|
50
|
+
%li
|
51
|
+
%strong= t('workarea.admin.prices.regular_price')
|
52
|
+
= number_to_currency price.regular
|
53
|
+
- if price.min_quantity > 1
|
54
|
+
= t('workarea.admin.pricing_skus.cards.prices.summary', quantity: price.min_quantity)
|
55
|
+
- if price.sale?
|
56
|
+
%li
|
57
|
+
%strong= t('workarea.admin.prices.sale_price')
|
58
|
+
= number_to_currency price.sale
|
59
|
+
|
60
|
+
%hr.card__hr
|
61
|
+
- if model.prices.size > 10
|
62
|
+
%li= t('workarea.admin.cards.more', amount: model.prices.size - 10)
|
63
|
+
= link_to pricing_sku_prices_path(model), class: 'card__button' do
|
64
|
+
%span.button.button--small= t('workarea.admin.pricing_skus.cards.prices.button')
|
65
|
+
|
66
|
+
.grid__cell
|
67
|
+
= render 'workarea/admin/timeline/card', timeline: model.timeline, active: local_assigns[:active]
|
@@ -0,0 +1,10 @@
|
|
1
|
+
= link_to pricing_sku_path(model, return_to: params[:return_to]), class: (model.active? ? 'summary' : 'summary summary--inactive') do
|
2
|
+
%span.summary__name= model.name
|
3
|
+
.summary__info-container
|
4
|
+
%span.summary__info
|
5
|
+
- if model.active?
|
6
|
+
#{local_time_ago(model.updated_at)}
|
7
|
+
- else
|
8
|
+
%span.summary__info-text-inactive= t('workarea.admin.pricing_skus.summary.inactive')
|
9
|
+
%span.summary__info= number_to_currency model.sale_price
|
10
|
+
%span.summary__type{ title: t('workarea.admin.pricing_skus.summary.pricing_sku') }= t('workarea.admin.pricing_skus.summary.pricing_sku')
|
@@ -0,0 +1,65 @@
|
|
1
|
+
- @page_title = t('workarea.admin.pricing_skus.edit.title', name: @sku.name)
|
2
|
+
|
3
|
+
.view
|
4
|
+
.view__header
|
5
|
+
.grid.grid--right
|
6
|
+
.grid__cell.grid__cell--25
|
7
|
+
= render 'workarea/admin/releases/select'
|
8
|
+
.grid__cell.grid__cell--50
|
9
|
+
.view__heading
|
10
|
+
= link_to_index_for(@sku)
|
11
|
+
%h1= link_to @sku.name, url_for(@sku)
|
12
|
+
.grid__cell.grid__cell--25
|
13
|
+
= render_aux_navigation_for(@sku)
|
14
|
+
|
15
|
+
.view__container
|
16
|
+
= render_cards_for(@sku, :attributes)
|
17
|
+
|
18
|
+
.view__container.view__container--narrow
|
19
|
+
- @sku.errors.full_messages.each do |message|
|
20
|
+
= render_message 'error', message
|
21
|
+
|
22
|
+
= form_tag pricing_sku_path(@sku), method: :patch, id: 'pricing_sku_form', data: { unsaved_changes: '' } do
|
23
|
+
.section
|
24
|
+
.property
|
25
|
+
%span.property__name
|
26
|
+
= t('workarea.admin.fields.active')
|
27
|
+
= inline_svg('workarea/admin/i18n.svg', class: 'svg-icon svg-icon--small') if locale_options.many? && Workarea.config.localized_active_fields
|
28
|
+
= toggle_button_for 'sku[active]', @sku.active?
|
29
|
+
|
30
|
+
.property
|
31
|
+
= label_tag 'sku[tax_code]', t('workarea.admin.fields.tax_code'), class: 'property__name'
|
32
|
+
= text_field_tag 'sku[tax_code]', @sku.tax_code, class: 'text-box'
|
33
|
+
|
34
|
+
.property
|
35
|
+
= label_tag 'sku_msrp', t('workarea.admin.fields.msrp'), class: 'property__name'
|
36
|
+
= currency_symbol
|
37
|
+
= text_field_tag 'sku[msrp]', @sku.msrp, class: 'text-box text-box--small'
|
38
|
+
|
39
|
+
.grid
|
40
|
+
.grid__cell.grid__cell--50.grid__cell--25-at-medium
|
41
|
+
.property
|
42
|
+
%span.property__name= t('workarea.admin.fields.on_sale')
|
43
|
+
= toggle_button_for 'sku[on_sale]', @sku.on_sale?, title_true: t('workarea.admin.pricing_skus.on_sale'), title_false: t('workarea.admin.pricing_skus.not_on_sale')
|
44
|
+
|
45
|
+
.grid__cell.grid__cell--50.grid__cell--25-at-medium
|
46
|
+
.property
|
47
|
+
%span.property__name= t('workarea.admin.fields.discountable')
|
48
|
+
= toggle_button_for 'sku[discountable]', @sku.discountable?, title_true: t('workarea.admin.pricing_skus.allow_discounting'), title_false: t('workarea.admin.pricing_skus.disallow_discounting')
|
49
|
+
|
50
|
+
= append_partials('admin.pricing_sku_fields', sku: @sku)
|
51
|
+
|
52
|
+
.grid.grid--huge
|
53
|
+
.grid__cell.grid__cell--50.grid__cell--25-at-medium
|
54
|
+
.property
|
55
|
+
= label_tag 'sku_updated_at', t('workarea.admin.fields.updated_at'), class: 'property__name'
|
56
|
+
= local_time(@sku.updated_at)
|
57
|
+
.grid__cell.grid__cell--50.grid__cell--25-at-medium
|
58
|
+
.property
|
59
|
+
= label_tag 'sku_created_at', t('workarea.admin.fields.created_at'), class: 'property__name'
|
60
|
+
= local_time(@sku.created_at)
|
61
|
+
|
62
|
+
.workflow-bar
|
63
|
+
.grid.grid--auto.grid--right.grid--middle
|
64
|
+
.grid__cell= render 'workarea/admin/shared/publishing_select'
|
65
|
+
.grid__cell= button_tag t('workarea.admin.form.save_changes'), value: 'save_sku', class: 'workflow-bar__button workflow-bar__button--update'
|
@@ -0,0 +1,81 @@
|
|
1
|
+
- @page_title = t('workarea.admin.pricing_skus.index.title')
|
2
|
+
|
3
|
+
.view
|
4
|
+
.view__header
|
5
|
+
.grid.grid--middle.grid--center
|
6
|
+
.grid__cell.grid__cell--50
|
7
|
+
.view__heading
|
8
|
+
= link_to "↑ #{t('workarea.admin.catalog.dashboard_link')}", catalog_dashboards_path, class: 'view__dashboard-button'
|
9
|
+
%h1= t('workarea.admin.pricing_skus.index.title')
|
10
|
+
|
11
|
+
.view__container
|
12
|
+
.browsing-controls.browsing-controls--with-divider.browsing-controls--center{ class: ('browsing-controls--filters-displayed' unless @search.toggle_facets?) }
|
13
|
+
= form_tag pricing_skus_path, method: 'get', id: 'pricing_skus_sort_form', class: 'browsing-controls__form' do
|
14
|
+
= facet_hidden_inputs(@search.facets)
|
15
|
+
.browsing-controls__sort
|
16
|
+
.property.property--inline
|
17
|
+
= label_tag 'sort', t('workarea.admin.search.sort_by'), class: 'property__name'
|
18
|
+
= select_tag :sort, options_for_select(@search.sorts, selected: @search.sort), data: { form_submitting_control: '' }
|
19
|
+
|
20
|
+
.browsing-controls__search
|
21
|
+
.search-form
|
22
|
+
= text_field_tag :q, params[:q], class: 'search-form__input', id: 'search_products', title: t('workarea.admin.search.keywords'), placeholder: t('workarea.admin.search.keywords')
|
23
|
+
= submit_tag 'search_skus', class: 'search-form__button'
|
24
|
+
|
25
|
+
= render 'workarea/admin/shared/creation_date', search: @search, form_path: pricing_skus_path
|
26
|
+
|
27
|
+
- if @search.facets.present?
|
28
|
+
- @search.facets.each do |facet|
|
29
|
+
= render "workarea/admin/facets/#{facet.type}", facet: facet
|
30
|
+
|
31
|
+
- if @search.toggle_facets?
|
32
|
+
.browsing-controls__toggle-filters
|
33
|
+
%button.text-button{ type: 'button', data: { toggle_filters: '' } }= t('workarea.admin.search.show_filters')
|
34
|
+
|
35
|
+
= render 'workarea/admin/facets/applied', search: @search, reset_path: pricing_skus_path
|
36
|
+
|
37
|
+
%p.browsing-controls__count{ data: { browsing_controls_count: @search.total } }
|
38
|
+
= t('workarea.admin.pricing_skus.index.sku_pluralize', count: @search.total)
|
39
|
+
|
40
|
+
- if @search.results.any?
|
41
|
+
%table.index-table
|
42
|
+
%thead
|
43
|
+
%tr
|
44
|
+
%th.index-table__control-cell
|
45
|
+
.checkbox
|
46
|
+
= check_box_tag 'select_all', nil, false, id: 'select_all', class: 'checkbox__input', data: { bulk_action_select_all: '' }
|
47
|
+
= label_tag 'select_all', t('workarea.admin.bulk_actions.select_all'), class: 'checkbox__label'
|
48
|
+
%th= t('workarea.admin.fields.sku')
|
49
|
+
%th.align-right= t('workarea.admin.fields.msrp')
|
50
|
+
%th.align-right= t('workarea.admin.fields.regular')
|
51
|
+
%th.align-right= t('workarea.admin.fields.sale_price')
|
52
|
+
%th.align-center= t('workarea.admin.fields.on_sale')
|
53
|
+
%th.align-center= t('workarea.admin.fields.allow_discounting')
|
54
|
+
%th= t('workarea.admin.fields.updated_at')
|
55
|
+
%tbody
|
56
|
+
- @search.results.each do |result|
|
57
|
+
%tr.index-table__row{ class: ('index-table__row--inactive' unless result.active) }
|
58
|
+
%td.index-table__control-cell
|
59
|
+
.checkbox
|
60
|
+
= check_box_tag 'global_id', result.to_gid_param, false, class: 'checkbox__input', id: dom_id(result), data: { bulk_action_item: '' }
|
61
|
+
= label_tag dom_id(result), '', class: 'checkbox__label', title: t('workarea.admin.bulk_actions.add_summary_button')
|
62
|
+
%td
|
63
|
+
= link_to result.id, pricing_sku_path(result)
|
64
|
+
= upcoming_changesets_icon_for(result)
|
65
|
+
%td.align-right= number_to_currency result.msrp
|
66
|
+
%td.align-right= number_to_currency result.regular_price
|
67
|
+
%td.align-right= number_to_currency result.sale_price
|
68
|
+
%td.align-center= t("workarea.admin.#{result.on_sale?}")
|
69
|
+
%td.align-center= t("workarea.admin.#{result.discountable?}")
|
70
|
+
%td= local_time_ago(result.updated_at)
|
71
|
+
|
72
|
+
- if @search.results.total_pages > 1
|
73
|
+
= render 'workarea/admin/shared/pagination', collection: @search.results
|
74
|
+
|
75
|
+
.workflow-bar
|
76
|
+
.grid
|
77
|
+
.grid__cell.grid__cell--50
|
78
|
+
= render 'workarea/admin/shared/bulk_actions', klass: Workarea::Pricing::Sku, search: @search
|
79
|
+
|
80
|
+
.grid__cell.grid__cell--50.align-right
|
81
|
+
= link_to t('workarea.admin.pricing_skus.index.button'), new_pricing_sku_path, id: 'add_pricing_sku', class: 'workflow-bar__button workflow-bar__button--create'
|
@@ -0,0 +1,78 @@
|
|
1
|
+
- @page_title = t('workarea.admin.pricing_skus.new.title')
|
2
|
+
|
3
|
+
.view
|
4
|
+
.view__header
|
5
|
+
.grid.grid--middle.grid--center
|
6
|
+
.grid__cell.grid__cell--50
|
7
|
+
.view__heading
|
8
|
+
= link_to_index_for(@sku)
|
9
|
+
%h1= t('workarea.admin.pricing_skus.new.title')
|
10
|
+
|
11
|
+
.view__container
|
12
|
+
- if @sku.errors.present?
|
13
|
+
- @sku.errors.full_messages.each do |message|
|
14
|
+
= render_message 'error', message
|
15
|
+
|
16
|
+
= form_tag pricing_skus_path, method: 'post', id: 'pricing_sku_form', data: { unsaved_changes: '' } do
|
17
|
+
= hidden_field_tag 'return_to', request.referrer
|
18
|
+
|
19
|
+
.section
|
20
|
+
|
21
|
+
.property.property--required
|
22
|
+
= label_tag 'sku_sku', t('workarea.admin.fields.sku'), class: 'property__name'
|
23
|
+
= text_field_tag 'sku[id]', @sku.id, class: 'text-box', required: true, placeholder: t('workarea.admin.pricing_skus.sku_placeholder')
|
24
|
+
|
25
|
+
.property
|
26
|
+
= label_tag 'sku[tax_code]', t('workarea.admin.fields.tax_code'), class: 'property__name'
|
27
|
+
= text_field_tag 'sku[tax_code]', @sku.tax_code, class: 'text-box', placeholder: t('workarea.admin.pricing_skus.tax_code_placeholder')
|
28
|
+
|
29
|
+
.property
|
30
|
+
%span.property__name= t('workarea.admin.fields.on_sale')
|
31
|
+
= toggle_button_for 'sku[on_sale]', @sku.on_sale?, title_true: t('workarea.admin.pricing_skus.on_sale'), title_false: t('workarea.admin.pricing_skus.not_on_sale')
|
32
|
+
|
33
|
+
.property
|
34
|
+
%span.property__name= t('workarea.admin.fields.discountable')
|
35
|
+
= toggle_button_for 'sku[discountable]', @sku.discountable?, title_true: t('workarea.admin.pricing_skus.allow_discounting'), title_false: t('workarea.admin.pricing_skus.disallow_discounting')
|
36
|
+
|
37
|
+
.property
|
38
|
+
= label_tag 'sku_msrp', t('workarea.admin.fields.msrp'), class: 'property__name'
|
39
|
+
= currency_symbol
|
40
|
+
= text_field_tag 'sku[msrp]', @sku.msrp, class: 'text-box text-box--small', placeholder: t('workarea.admin.pricing_skus.msrp_placeholder')
|
41
|
+
|
42
|
+
= append_partials('admin.pricing_sku_fields', sku: @sku)
|
43
|
+
|
44
|
+
.section
|
45
|
+
|
46
|
+
%h2= t('workarea.admin.prices.label')
|
47
|
+
|
48
|
+
%table
|
49
|
+
%thead
|
50
|
+
%tr
|
51
|
+
%th= t('workarea.admin.prices.regular_price')
|
52
|
+
%th #{t('workarea.admin.prices.sale_price')} #{t('workarea.admin.prices.sale_price_default')}
|
53
|
+
%th= t('workarea.admin.prices.minimum_quantity')
|
54
|
+
%tbody
|
55
|
+
- @sku.prices.each do |price|
|
56
|
+
%tr
|
57
|
+
%td
|
58
|
+
= currency_symbol
|
59
|
+
= text_field_tag 'prices[][regular]', price.regular, class: 'text-box text-box--small', title: t('workarea.admin.fields.regular'), placeholder: t('workarea.admin.prices.placeholder')
|
60
|
+
%td
|
61
|
+
= currency_symbol
|
62
|
+
= text_field_tag 'prices[][sale]', price.sale, class: 'text-box text-box--small', title: t('workarea.admin.fields.sale'), placeholder: t('workarea.admin.prices.placeholder')
|
63
|
+
%td
|
64
|
+
= text_field_tag 'prices[][min_quantity]', price.min_quantity, class: 'text-box text-box--small', title: t('workarea.admin.fields.min_quantity'), placeholder: t('workarea.admin.prices.minimum_quantity_placeholder')
|
65
|
+
|
66
|
+
%tr{ data: { cloneable_row: '' } }
|
67
|
+
%td
|
68
|
+
= currency_symbol
|
69
|
+
= text_field_tag 'prices[][regular]', '', class: 'text-box text-box--small', title: t('workarea.admin.fields.regular'), placeholder: t('workarea.admin.prices.placeholder')
|
70
|
+
%td
|
71
|
+
= currency_symbol
|
72
|
+
= text_field_tag 'prices[][sale]', '', class: 'text-box text-box--small', title: t('workarea.admin.fields.sale'), placeholder: t('workarea.admin.prices.placeholder')
|
73
|
+
%td
|
74
|
+
= text_field_tag 'prices[][min_quantity]', 1, class: 'text-box text-box--small', title: t('workarea.admin.fields.min_quantity'), placeholder: t('workarea.admin.prices.minimum_quantity_placeholder')
|
75
|
+
|
76
|
+
.workflow-bar
|
77
|
+
.grid.grid--auto.grid--right.grid--middle
|
78
|
+
.grid__cell= button_tag t('workarea.admin.pricing_skus.new.create_sku'), value: 'create_sku', class: 'workflow-bar__button workflow-bar__button--create'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
- @page_title = @sku.name
|
2
|
+
|
3
|
+
.view
|
4
|
+
.view__header
|
5
|
+
.grid
|
6
|
+
.grid__cell.grid__cell--25
|
7
|
+
= render 'workarea/admin/releases/select'
|
8
|
+
.grid__cell.grid__cell--50
|
9
|
+
.view__heading
|
10
|
+
= link_to_index_for(@sku)
|
11
|
+
%h1= @sku.name
|
12
|
+
.grid__cell.grid__cell--25
|
13
|
+
= render_aux_navigation_for(@sku)
|
14
|
+
|
15
|
+
.view__container
|
16
|
+
= render_cards_for(@sku)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.card{ class: card_classes(:product_rules, local_assigns[:active]) }
|
2
|
+
= link_to product_list_product_rules_path(product_list.to_global_id), class: 'card__header' do
|
3
|
+
%span.card__header-text= t('workarea.admin.product_rules.card.header')
|
4
|
+
= inline_svg 'workarea/admin/icons/rules.svg', class: 'card__icon'
|
5
|
+
|
6
|
+
- if local_assigns[:active].blank?
|
7
|
+
.card__body
|
8
|
+
- if product_list.product_rules.empty?
|
9
|
+
%p.card__empty-note= t('workarea.admin.product_rules.card.description')
|
10
|
+
%ul
|
11
|
+
%li= t('workarea.admin.product_rules.card.example_1')
|
12
|
+
%li= t('workarea.admin.product_rules.card.example_2')
|
13
|
+
%li= t('workarea.admin.product_rules.card.example_3')
|
14
|
+
|
15
|
+
= link_to product_list_product_rules_path(product_list.to_global_id), class: 'card__button' do
|
16
|
+
%span.button.button--small= t('workarea.admin.product_rules.card.empty_button')
|
17
|
+
|
18
|
+
- else
|
19
|
+
%ul.list-reset
|
20
|
+
- product_list.product_rules.each do |rule|
|
21
|
+
%li= render_product_rule_summary_for(rule)
|
22
|
+
= link_to product_list_product_rules_path(product_list.to_global_id), class: 'card__button' do
|
23
|
+
%span.button.button--small= t('workarea.admin.product_rules.card.button')
|
@@ -0,0 +1,12 @@
|
|
1
|
+
- if rule.persisted?
|
2
|
+
= form_tag product_list_product_rule_path(product_list.to_global_id, rule), method: 'patch', data: { product_rules_preview: '', product_list_id: product_list.to_global_id.to_param, rule_id: rule.id.to_s, unsaved_changes: '' } do
|
3
|
+
= hidden_field_tag 'return_to', local_assigns[:return_to]
|
4
|
+
= hidden_field_tag 'show_all', params[:show_all], id: nil
|
5
|
+
= render_product_rule_fields_for(rule)
|
6
|
+
= button_tag t('workarea.admin.actions.save'), class: 'button button--small'
|
7
|
+
- else
|
8
|
+
= form_tag product_list_product_rules_path(product_list.to_global_id), method: 'post', data: { product_rules_preview: '', product_list_id: product_list.to_global_id.to_param, rule_id: rule.id.to_s, unsaved_changes: '' } do
|
9
|
+
= hidden_field_tag 'return_to', local_assigns[:return_to]
|
10
|
+
= hidden_field_tag 'show_all', params[:show_all], id: nil
|
11
|
+
= render_product_rule_fields_for(rule)
|
12
|
+
= button_tag t('workarea.admin.actions.save'), class: 'button button--small'
|
@@ -0,0 +1,28 @@
|
|
1
|
+
- if preview.results.empty?
|
2
|
+
%p.product-rules-preview__no-results= t('workarea.admin.product_rules.preview.no_results')
|
3
|
+
- else
|
4
|
+
%h3.align-center= t('workarea.admin.product_rules.preview.matching_product', count: preview.results.total)
|
5
|
+
|
6
|
+
.align-center
|
7
|
+
- if preview.show_all?
|
8
|
+
= link_to t('workarea.admin.product_rules.preview.hide_undisplayable'), product_rules_show_all_query_string(show_all: false)
|
9
|
+
- else
|
10
|
+
= link_to t('workarea.admin.product_rules.preview.show_undisplayable'), product_rules_show_all_query_string
|
11
|
+
= link_to '#show-all-info', data: { tooltip: '' } do
|
12
|
+
= inline_svg('workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue', title: t('workarea.admin.product_rules.preview.show_undisplayable_info_link'))
|
13
|
+
|
14
|
+
#show-all-info.tooltip-content
|
15
|
+
%p= t('workarea.admin.product_rules.preview.show_undisplayable_info')
|
16
|
+
|
17
|
+
.product-rules-preview__products
|
18
|
+
.grid.grid--auto.grid--flush.grid--center
|
19
|
+
- preview.results.each do |result|
|
20
|
+
.grid__cell
|
21
|
+
.product-summary{ class: ('product-summary--muted' unless result.displayable?) }
|
22
|
+
.product-summary__media
|
23
|
+
.product-summary__image-wrapper
|
24
|
+
= image_tag(product_image_url(result.primary_image, :small), alt: result.name, class: 'product-summary__image')
|
25
|
+
%span.product-summary__name{ title: result.name }= result.name
|
26
|
+
%span.product-summary__graph
|
27
|
+
%span.spark{ title: t('workarea.admin.catalog_categories.cards.featured_products.sparkline_title') }
|
28
|
+
{#{sparkline_analytics_data_for(result.insights.orders_sparkline).join(',')}}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
= hidden_field_tag 'product_rule[name]', 'available_inventory', id: nil
|
2
|
+
Inventory must be
|
3
|
+
= select_tag 'product_rule[operator]', options_for_select(product_rule_operators, rule.operator)
|
4
|
+
= number_field_tag 'product_rule[value]', rule.value.presence || 0, class: 'text-box text-box--i18n text-box--small'
|
5
|
+
= inline_svg 'workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue', data: { tooltip: { content_id: '#available-inventory-info' }.to_json }
|
6
|
+
#available-inventory-info.tooltip-content
|
7
|
+
%p This is the total available inventory for all SKUs in the product. If a SKU has an inventory policy of "Ignore", it was unlimited available inventory.
|
@@ -0,0 +1,5 @@
|
|
1
|
+
= hidden_field_tag 'product_rule[name]', 'category'
|
2
|
+
Name
|
3
|
+
= select_tag 'product_rule[operator]', options_for_select([['equal', 'equal'], ['not equal', 'not_equal']], rule.operator)
|
4
|
+
- categories = Workarea::Catalog::Category.any_in(id: rule.terms)
|
5
|
+
= select_tag 'product_rule[value]', options_from_collection_for_select(categories, 'id', 'name', rule.terms), multiple: true, data: { remote_select: { source: catalog_categories_path, options: { placeholder: 'Choose a category...' } }.to_json }
|
@@ -0,0 +1,4 @@
|
|
1
|
+
= hidden_field_tag 'product_rule[name]', 'created_at', id: nil
|
2
|
+
With creation date
|
3
|
+
= select_tag 'product_rule[operator]', options_for_select(product_rule_operators, rule.operator)
|
4
|
+
= text_field_tag 'product_rule[value]', rule.value, data: { datepicker_field: '' }, class: 'text-box text-box--i18n text-box--medium'
|
@@ -0,0 +1,5 @@
|
|
1
|
+
= hidden_field_tag 'product_rule[name]', 'excluded_products', id: nil
|
2
|
+
= hidden_field_tag 'product_rule[operator]', 'equals', id: nil
|
3
|
+
Exclude
|
4
|
+
- products = Workarea::Catalog::Product.any_in(id: rule.terms)
|
5
|
+
= select_tag 'product_rule[value]', options_from_collection_for_select(products, 'id', 'name', rule.terms), multiple: true, data: { remote_select: { source: catalog_products_path, options: { placeholder: 'Choose products...' } }.to_json }
|
@@ -0,0 +1,8 @@
|
|
1
|
+
= hidden_field_tag 'product_rule[name]', rule.name, id: nil
|
2
|
+
= hidden_field_tag 'product_rule[operator]', 'equals'
|
3
|
+
= rule.name.titleize
|
4
|
+
is
|
5
|
+
= text_field_tag 'product_rule[value]', rule.value, class: 'text-box text-box--i18n text-box--medium'
|
6
|
+
= inline_svg 'workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue', data: { tooltip: { content_id: '#value-info' }.to_json }
|
7
|
+
#value-info.tooltip-content
|
8
|
+
%p Separating values with commas will allow products that match any to be included. So using <code>Red, Green, Blue</code> would include Red products, Green products, or Blue products.
|
@@ -0,0 +1,7 @@
|
|
1
|
+
= hidden_field_tag 'product_rule[name]', 'on_sale', id: nil
|
2
|
+
= hidden_field_tag 'product_rule[operator]', 'equals'
|
3
|
+
Only products that are
|
4
|
+
= select_tag 'product_rule[value]', options_for_select([['on sale', true], ['not on sale', false]], rule.value)
|
5
|
+
= inline_svg 'workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue', data: { tooltip: { content_id: '#on-sale-info', interactive: true }.to_json }
|
6
|
+
#on-sale-info.tooltip-content
|
7
|
+
%p A product is considered "on sale" if any of its #{link_to 'pricing SKUs', pricing_skus_path} are on sale.
|