avo 2.5.2.pre.1 → 2.5.2.pre.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of avo might be problematic. Click here for more details.

Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -0
  3. data/Gemfile.lock +4 -1
  4. data/app/assets/builds/avo.css +727 -21
  5. data/app/assets/builds/avo.js +211 -122
  6. data/app/assets/builds/avo.js.map +3 -3
  7. data/app/assets/stylesheets/avo.css +2 -0
  8. data/app/assets/stylesheets/css/tags.css +16 -0
  9. data/app/components/avo/card_component.rb +0 -12
  10. data/app/components/avo/fields/tags_field/edit_component.html.erb +27 -0
  11. data/app/components/avo/fields/tags_field/edit_component.rb +4 -0
  12. data/app/components/avo/fields/tags_field/index_component.html.erb +14 -0
  13. data/app/components/avo/fields/tags_field/index_component.rb +7 -0
  14. data/app/components/avo/fields/tags_field/show_component.html.erb +7 -0
  15. data/app/components/avo/fields/tags_field/show_component.rb +11 -0
  16. data/app/components/avo/fields/tags_field/tag_component.html.erb +9 -0
  17. data/app/components/avo/fields/tags_field/tag_component.rb +11 -0
  18. data/app/components/avo/index/resource_table_component.html.erb +1 -1
  19. data/app/javascript/js/application.js +1 -1
  20. data/app/javascript/js/controllers/base_controller.js +22 -0
  21. data/app/javascript/js/controllers/fields/tags_field_controller.js +86 -0
  22. data/app/javascript/js/controllers/fields/tags_field_helpers.js +47 -0
  23. data/app/javascript/js/controllers.js +2 -0
  24. data/app/views/avo/dashboards/_chartkick_card.html.erb +1 -1
  25. data/app/views/avo/dashboards/_metric_card.html.erb +1 -1
  26. data/db/factories.rb +2 -0
  27. data/lib/avo/base_resource.rb +6 -0
  28. data/lib/avo/concerns/handles_field_args.rb +36 -0
  29. data/lib/avo/fields/base_field.rb +2 -1
  30. data/lib/avo/fields/tags_field.rb +82 -0
  31. data/lib/avo/hosts/record_host.rb +7 -0
  32. data/lib/avo/licensing/pro_license.rb +2 -1
  33. data/lib/avo/version.rb +1 -1
  34. data/lib/generators/avo/templates/cards/chartkick_card.tt +1 -1
  35. data/lib/generators/avo/templates/cards/chartkick_card_sample.tt +1 -1
  36. data/lib/generators/avo/templates/cards/metric_card.tt +1 -1
  37. data/lib/generators/avo/templates/cards/metric_card_sample.tt +1 -1
  38. data/lib/generators/avo/templates/locales/avo.en.yml +4 -0
  39. data/public/avo-assets/avo.css +727 -21
  40. data/public/avo-assets/avo.js +211 -122
  41. data/public/avo-assets/avo.js.map +3 -3
  42. metadata +17 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3f737e1a8d82d8a95de8606d43beb770ef8793d8cf0d368aa0775d8fbcf1ea3
4
- data.tar.gz: eb5c457949f2db92f678493016eba05cff481fc2485eb4bba9744c3c50c63c11
3
+ metadata.gz: 28282821b69a27441d5dfa7a9e78b8a9f5faaa39c3b7c8f9625b0dfa964385e1
4
+ data.tar.gz: ce84b1a4e61200a085ac1d5503a0c4194c706c55e9330966629a6aa86a5ff4b4
5
5
  SHA512:
6
- metadata.gz: a607668ef7d50ecb55d7ad8ff4106d1825553d83e398959ca3bea104463bbf439f5ca3c5c1cc9ffaf2210844f4863de7f8a8d0134e315fe466c96bc84465fe19
7
- data.tar.gz: 285b3a7a7bebc884f894ee473117b3583d71180f59b62497be0fecc5af7d2a3fd9855ea4efd614f99913835d404e742ec56e8256e3097f56bd86f5e85e96d678
6
+ metadata.gz: d96a852c90b95ec7ccedf8b77ae8bc3a1e855633d4959b949a13f6b0a8aaca1d3377a849016571b0adbdef47ecde917d364f7f63b3ffa674f3ec0cf01a3d3797
7
+ data.tar.gz: 00c9c7365ffb6e9d4a95b1f89fbca255baad0b78eec3ec9f357db2afef20aa0979c1b9ac70ea621135429ff31e3973dd6b0e7ef54916194e51bae23b943f0fe0
data/Gemfile CHANGED
@@ -148,3 +148,5 @@ gem "hightop"
148
148
  gem "active_median"
149
149
 
150
150
  gem 'acts_as_list'
151
+
152
+ gem 'acts-as-taggable-on', '~> 9.0'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.5.2.pre.1)
4
+ avo (2.5.2.pre.2)
5
5
  active_link_to
6
6
  addressable
7
7
  breadcrumbs_on_rails
@@ -86,6 +86,8 @@ GEM
86
86
  minitest (>= 5.1)
87
87
  tzinfo (~> 2.0)
88
88
  zeitwerk (~> 2.3)
89
+ acts-as-taggable-on (9.0.1)
90
+ activerecord (>= 6.0, < 7.1)
89
91
  acts_as_list (1.0.4)
90
92
  activerecord (>= 4.2)
91
93
  addressable (2.8.0)
@@ -421,6 +423,7 @@ PLATFORMS
421
423
  DEPENDENCIES
422
424
  active_link_to
423
425
  active_median
426
+ acts-as-taggable-on (~> 9.0)
424
427
  acts_as_list
425
428
  addressable
426
429
  annotate