workarea-wish_lists 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a060b4ac8c812642c3468a8c04bf2d41d350bf82129d80bc23e80fc8a7f1076
4
- data.tar.gz: d0e73f8423e4e6d9ba3977ea33329778cbea295cea8485933a2ec2ed625cade0
3
+ metadata.gz: 6447243829e104fb64a1226d8821382346c69cc89eaa44dc4cf46a5b24a11c4c
4
+ data.tar.gz: '08a4b760cf2d4cfadc450a16063849b75fa3af7194daf23b1bdd63b27c99273d'
5
5
  SHA512:
6
- metadata.gz: 86bcf3cf9b45407591b95c8827edb4f6bc748f20e81501dab7ffb08642b2456a6e606b881fa6d6e89e36d6f5236ae5bd845bd4046a48766d484aa65ae12e5771
7
- data.tar.gz: 5c9e81aa4102e7beea127fb4c0606316a07bd1db7eba1e8f982dc513dee1d59dc442de3acc902067b5aee62ce5befc429155375fa9f0fffdc0af69dd8f2a1262
6
+ metadata.gz: 8d9fd3a420d9d12a25365d087852a68b085ae254be2385b84145b4aecd6526467d3a5b0242dac949621f2c9a77b24dd232ee574a59d4ce89e50ef726f02968ab
7
+ data.tar.gz: 0a18fcbe1ea2296a7922e5dbc428800e98727e69182250f20d64736d0057dac86ee49d9265654da8ed87d3ec6b0597ddb586f14be1299a14e38e2cf2cd0f1d6b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ Workarea Wish Lists 3.1.1 (2020-03-26)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Add wishlist import and export functionality to users index page
5
+
6
+ WISHLISTS-3
7
+ Jeff Yucis
8
+
9
+
10
+
1
11
  Workarea Wish Lists 3.0.1 (2019-04-16)
2
12
  --------------------------------------------------------------------------------
3
13
 
data/Gemfile CHANGED
@@ -3,5 +3,4 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
3
 
4
4
  gemspec
5
5
 
6
- # gem 'workarea', '>= 3.4.0'
7
- gem 'workarea', github: 'workarea-commerce/workarea'
6
+ gem 'workarea', github: 'workarea-commerce/workarea', branch: 'v3.5-stable'
data/Rakefile CHANGED
@@ -38,13 +38,12 @@ desc "Release version #{Workarea::WishLists::VERSION} of the gem"
38
38
  task :release do
39
39
  host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com"
40
40
 
41
- #Rake::Task['workarea:changelog'].execute
42
- #system 'git add CHANGELOG.md'
43
- #system 'git commit -m "Update CHANGELOG"'
44
- #system 'git push origin HEAD'
41
+ Rake::Task['workarea:changelog'].execute
42
+ system 'git add CHANGELOG.md'
43
+ system 'git commit -m "Update CHANGELOG"'
45
44
 
46
45
  system "git tag -a v#{Workarea::WishLists::VERSION} -m 'Tagging #{Workarea::WishLists::VERSION}'"
47
- system 'git push --tags'
46
+ system 'git push origin HEAD --follow-tags'
48
47
 
49
48
  system 'gem build workarea-wish_lists.gemspec'
50
49
  system "gem push workarea-wish_lists-#{Workarea::WishLists::VERSION}.gem"
@@ -0,0 +1,9 @@
1
+ .grid.grid--auto.grid--right.grid--middle
2
+ .grid__cell= link_to t('workarea.admin.users.wish_list_import_export_nav.wish_lists'), '#export-wish-lists', data: { tooltip: { interactive: true, side: 'bottom' } }
3
+
4
+ #export-wish-lists.tooltip-content
5
+ %p= t('workarea.admin.users.wish_list_import_export_nav.description')
6
+ .align-center
7
+ = link_to t('workarea.admin.users.wish_list_import_export_nav.import'), new_data_file_import_path(model_type: Workarea::WishList), return_to: users_path, class: 'text text--bold'
8
+ %span= t('workarea.admin.users.wish_list_import_export_nav.or')
9
+ = link_to t('workarea.admin.users.wish_list_import_export_nav.export'), new_data_file_export_path(model_type: Workarea::WishList), return_to: users_path, class: 'text text--bold'
@@ -55,3 +55,8 @@ Workarea.append_partials(
55
55
  'admin.reports_dashboard',
56
56
  'workarea/admin/dashboards/wish_list_products_card'
57
57
  )
58
+
59
+ Workarea.append_partials(
60
+ 'admin.user_index_aux_navigation',
61
+ 'workarea/admin/users/wishlist_import_export_nav'
62
+ )
@@ -19,6 +19,12 @@ en:
19
19
  state: State
20
20
  title: Wish list for %{user}
21
21
  title_html: Wish list for %{user}
22
+ wish_list_import_export_nav:
23
+ description: You can bulk import and export wish lists here. To see a specific account's wish list, visit their detail page from the table below.
24
+ export: Export
25
+ import: Import
26
+ or: or
27
+ wish_lists: Wish Lists
22
28
  fields:
23
29
  adds: Adds
24
30
  deletes: Deletes
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module WishLists
3
- VERSION = '3.1.0'.freeze
3
+ VERSION = '3.1.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-wish_lists
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bcrouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-26 00:00:00.000000000 Z
11
+ date: 2020-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea
@@ -94,6 +94,7 @@ files:
94
94
  - app/views/workarea/admin/reports/wish_list_products.html.haml
95
95
  - app/views/workarea/admin/users/_wish_list_card.html.haml
96
96
  - app/views/workarea/admin/users/_wish_list_item_summary.html.haml
97
+ - app/views/workarea/admin/users/_wishlist_import_export_nav.html.haml
97
98
  - app/views/workarea/admin/users/wish_list.html.haml
98
99
  - app/views/workarea/storefront/carts/_move_to_wish_list.html.haml
99
100
  - app/views/workarea/storefront/pages/_wish_lists_robots.text.erb