workarea-classic_search_autocomplete 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.eslintrc +35 -0
  4. data/.eslintrc.json +35 -0
  5. data/.github/workflows/ci.yml +60 -0
  6. data/.gitignore +19 -0
  7. data/.rubocop.yml +2 -0
  8. data/.stylelintrc +8 -0
  9. data/.stylelintrc.json +8 -0
  10. data/CHANGELOG.md +19 -0
  11. data/Gemfile +17 -0
  12. data/LICENSE +52 -0
  13. data/README.md +45 -0
  14. data/Rakefile +60 -0
  15. data/app/assets/javascripts/jquery_ui/storefront/categorized_autocomplete.js +53 -0
  16. data/app/assets/javascripts/workarea/storefront/modules/search_fields.js +69 -0
  17. data/app/assets/javascripts/workarea/storefront/templates/ui_menu_heading.jst.ejs +1 -0
  18. data/app/assets/javascripts/workarea/storefront/templates/ui_menu_item.jst.ejs +8 -0
  19. data/app/assets/stylesheets/jquery_ui/storefront/_ui_autocomplete.scss +17 -0
  20. data/app/assets/stylesheets/jquery_ui/storefront/_ui_menu.scss +40 -0
  21. data/app/controllers/.keep +0 -0
  22. data/app/controllers/workarea/storefront/searches_controller.decorator +14 -0
  23. data/app/queries/workarea/search/search_suggestions.rb +45 -0
  24. data/app/view_models/workarea/storefront/search_suggestion_view_model.rb +85 -0
  25. data/app/views/workarea/storefront/searches/index.json.jbuilder +1 -0
  26. data/bin/rails +25 -0
  27. data/config/initializers/appends.rb +26 -0
  28. data/config/initializers/workarea.rb +2 -0
  29. data/config/routes.rb +5 -0
  30. data/lib/workarea/classic_search_autocomplete.rb +11 -0
  31. data/lib/workarea/classic_search_autocomplete/engine.rb +10 -0
  32. data/lib/workarea/classic_search_autocomplete/version.rb +5 -0
  33. data/package.json +9 -0
  34. data/script/admin_ci +9 -0
  35. data/script/ci +11 -0
  36. data/script/core_ci +9 -0
  37. data/script/plugins_ci +9 -0
  38. data/script/storefront_ci +9 -0
  39. data/test/dummy/.ruby-version +1 -0
  40. data/test/dummy/Rakefile +6 -0
  41. data/test/dummy/app/assets/config/manifest.js +3 -0
  42. data/test/dummy/app/assets/images/.keep +0 -0
  43. data/test/dummy/app/assets/javascripts/application.js +14 -0
  44. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  45. data/test/dummy/app/controllers/application_controller.rb +2 -0
  46. data/test/dummy/app/controllers/concerns/.keep +0 -0
  47. data/test/dummy/app/helpers/application_helper.rb +2 -0
  48. data/test/dummy/app/jobs/application_job.rb +2 -0
  49. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  50. data/test/dummy/app/models/concerns/.keep +0 -0
  51. data/test/dummy/app/views/layouts/application.html.erb +15 -0
  52. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  53. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  54. data/test/dummy/bin/bundle +3 -0
  55. data/test/dummy/bin/rails +4 -0
  56. data/test/dummy/bin/rake +4 -0
  57. data/test/dummy/bin/setup +25 -0
  58. data/test/dummy/bin/update +25 -0
  59. data/test/dummy/config.ru +5 -0
  60. data/test/dummy/config/application.rb +34 -0
  61. data/test/dummy/config/boot.rb +5 -0
  62. data/test/dummy/config/environment.rb +5 -0
  63. data/test/dummy/config/environments/development.rb +52 -0
  64. data/test/dummy/config/environments/production.rb +83 -0
  65. data/test/dummy/config/environments/test.rb +45 -0
  66. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  67. data/test/dummy/config/initializers/assets.rb +12 -0
  68. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  69. data/test/dummy/config/initializers/content_security_policy.rb +25 -0
  70. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  71. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  72. data/test/dummy/config/initializers/inflections.rb +16 -0
  73. data/test/dummy/config/initializers/mime_types.rb +4 -0
  74. data/test/dummy/config/initializers/workarea.rb +5 -0
  75. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  76. data/test/dummy/config/locales/en.yml +33 -0
  77. data/test/dummy/config/puma.rb +34 -0
  78. data/test/dummy/config/routes.rb +5 -0
  79. data/test/dummy/config/spring.rb +6 -0
  80. data/test/dummy/db/seeds.rb +2 -0
  81. data/test/dummy/lib/assets/.keep +0 -0
  82. data/test/dummy/log/.keep +0 -0
  83. data/test/integration/workarea/storefront/search_autocomplete_integration_test.rb +43 -0
  84. data/test/queries/workarea/search/search_suggestions_test.rb +77 -0
  85. data/test/system/workarea/storefront/search_autocomplete_analytics_system_test.rb +46 -0
  86. data/test/teaspoon_env.rb +6 -0
  87. data/test/test_helper.rb +10 -0
  88. data/test/view_models/workarea/storefront/search_suggestion_view_model_test.rb +42 -0
  89. data/workarea-classic_search_autocomplete.gemspec +25 -0
  90. data/yarn.lock +3265 -0
  91. metadata +156 -0
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: workarea-classic_search_autocomplete
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Curt Howard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-11-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: workarea
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.x
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.5.x
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 3.x
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.5.x
33
+ description: |
34
+ This plugin displays live results as the user begins to type a search into
35
+ the Storefront search field in a small UI displayed below the field. It
36
+ leverages a customized version of the jQuery UI Autocomplete functionality.
37
+ For a better overall UX and UI for your customers, consider the
38
+ workarea-search_autocomplete plugin instead.
39
+ email:
40
+ - choward@workarea.com
41
+ executables: []
42
+ extensions: []
43
+ extra_rdoc_files: []
44
+ files:
45
+ - ".editorconfig"
46
+ - ".eslintrc"
47
+ - ".eslintrc.json"
48
+ - ".github/workflows/ci.yml"
49
+ - ".gitignore"
50
+ - ".rubocop.yml"
51
+ - ".stylelintrc"
52
+ - ".stylelintrc.json"
53
+ - CHANGELOG.md
54
+ - Gemfile
55
+ - LICENSE
56
+ - README.md
57
+ - Rakefile
58
+ - app/assets/javascripts/jquery_ui/storefront/categorized_autocomplete.js
59
+ - app/assets/javascripts/workarea/storefront/modules/search_fields.js
60
+ - app/assets/javascripts/workarea/storefront/templates/ui_menu_heading.jst.ejs
61
+ - app/assets/javascripts/workarea/storefront/templates/ui_menu_item.jst.ejs
62
+ - app/assets/stylesheets/jquery_ui/storefront/_ui_autocomplete.scss
63
+ - app/assets/stylesheets/jquery_ui/storefront/_ui_menu.scss
64
+ - app/controllers/.keep
65
+ - app/controllers/workarea/storefront/searches_controller.decorator
66
+ - app/queries/workarea/search/search_suggestions.rb
67
+ - app/view_models/workarea/storefront/search_suggestion_view_model.rb
68
+ - app/views/workarea/storefront/searches/index.json.jbuilder
69
+ - bin/rails
70
+ - config/initializers/appends.rb
71
+ - config/initializers/workarea.rb
72
+ - config/routes.rb
73
+ - lib/workarea/classic_search_autocomplete.rb
74
+ - lib/workarea/classic_search_autocomplete/engine.rb
75
+ - lib/workarea/classic_search_autocomplete/version.rb
76
+ - package.json
77
+ - script/admin_ci
78
+ - script/ci
79
+ - script/core_ci
80
+ - script/plugins_ci
81
+ - script/storefront_ci
82
+ - test/dummy/.ruby-version
83
+ - test/dummy/Rakefile
84
+ - test/dummy/app/assets/config/manifest.js
85
+ - test/dummy/app/assets/images/.keep
86
+ - test/dummy/app/assets/javascripts/application.js
87
+ - test/dummy/app/assets/stylesheets/application.css
88
+ - test/dummy/app/controllers/application_controller.rb
89
+ - test/dummy/app/controllers/concerns/.keep
90
+ - test/dummy/app/helpers/application_helper.rb
91
+ - test/dummy/app/jobs/application_job.rb
92
+ - test/dummy/app/mailers/application_mailer.rb
93
+ - test/dummy/app/models/concerns/.keep
94
+ - test/dummy/app/views/layouts/application.html.erb
95
+ - test/dummy/app/views/layouts/mailer.html.erb
96
+ - test/dummy/app/views/layouts/mailer.text.erb
97
+ - test/dummy/bin/bundle
98
+ - test/dummy/bin/rails
99
+ - test/dummy/bin/rake
100
+ - test/dummy/bin/setup
101
+ - test/dummy/bin/update
102
+ - test/dummy/config.ru
103
+ - test/dummy/config/application.rb
104
+ - test/dummy/config/boot.rb
105
+ - test/dummy/config/environment.rb
106
+ - test/dummy/config/environments/development.rb
107
+ - test/dummy/config/environments/production.rb
108
+ - test/dummy/config/environments/test.rb
109
+ - test/dummy/config/initializers/application_controller_renderer.rb
110
+ - test/dummy/config/initializers/assets.rb
111
+ - test/dummy/config/initializers/backtrace_silencers.rb
112
+ - test/dummy/config/initializers/content_security_policy.rb
113
+ - test/dummy/config/initializers/cookies_serializer.rb
114
+ - test/dummy/config/initializers/filter_parameter_logging.rb
115
+ - test/dummy/config/initializers/inflections.rb
116
+ - test/dummy/config/initializers/mime_types.rb
117
+ - test/dummy/config/initializers/workarea.rb
118
+ - test/dummy/config/initializers/wrap_parameters.rb
119
+ - test/dummy/config/locales/en.yml
120
+ - test/dummy/config/puma.rb
121
+ - test/dummy/config/routes.rb
122
+ - test/dummy/config/spring.rb
123
+ - test/dummy/db/seeds.rb
124
+ - test/dummy/lib/assets/.keep
125
+ - test/dummy/log/.keep
126
+ - test/integration/workarea/storefront/search_autocomplete_integration_test.rb
127
+ - test/queries/workarea/search/search_suggestions_test.rb
128
+ - test/system/workarea/storefront/search_autocomplete_analytics_system_test.rb
129
+ - test/teaspoon_env.rb
130
+ - test/test_helper.rb
131
+ - test/view_models/workarea/storefront/search_suggestion_view_model_test.rb
132
+ - workarea-classic_search_autocomplete.gemspec
133
+ - yarn.lock
134
+ homepage: https://github.com/workarea-commerce/workarea-classic_search_autocomplete
135
+ licenses: []
136
+ metadata: {}
137
+ post_install_message:
138
+ rdoc_options: []
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ requirements: []
152
+ rubygems_version: 3.0.6
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: Basic Autocomplete results displayed while searching
156
+ test_files: []