avo 2.11.1.pre.3 → 2.11.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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/app/assets/stylesheets/css/sidebar.css +0 -10
  4. data/app/assets/svgs/failed_to_load.svg +15 -0
  5. data/app/components/avo/common_field_wrapper_component.html.erb +4 -0
  6. data/app/components/avo/fields/date_field/show_component.html.erb +0 -4
  7. data/app/components/avo/fields/trix_field/edit_component.rb +1 -1
  8. data/app/components/avo/index/field_wrapper_component.html.erb +1 -1
  9. data/app/components/avo/index/resource_controls_component.html.erb +3 -0
  10. data/app/components/avo/index/table_row_component.html.erb +14 -5
  11. data/app/components/avo/item_switcher_component.html.erb +1 -1
  12. data/app/components/avo/sidebar_component.html.erb +8 -2
  13. data/app/components/avo/sidebar_component.rb +9 -0
  14. data/app/controllers/avo/application_controller.rb +2 -2
  15. data/app/controllers/avo/base_controller.rb +6 -2
  16. data/app/javascript/js/controllers/fields/key_value_controller.js +3 -1
  17. data/app/javascript/js/controllers/sidebar_controller.js +5 -2
  18. data/app/views/avo/home/failed_to_load.html copy.erb +23 -0
  19. data/app/views/avo/home/failed_to_load.html.erb +9 -15
  20. data/app/views/avo/partials/_table_header.html.erb +12 -5
  21. data/app/views/layouts/avo/application.html.erb +6 -1
  22. data/bin/init +5 -0
  23. data/lib/avo/base_resource.rb +16 -1
  24. data/lib/avo/concerns/has_fields.rb +7 -3
  25. data/lib/avo/concerns/model_class_constantized.rb +1 -1
  26. data/lib/avo/configuration/resource_configuration.rb +21 -0
  27. data/lib/avo/configuration.rb +2 -0
  28. data/lib/avo/items_holder.rb +6 -0
  29. data/lib/avo/panel_builder.rb +1 -0
  30. data/lib/avo/version.rb +1 -1
  31. data/public/avo-assets/avo.css +51 -21
  32. data/public/avo-assets/avo.js +54 -54
  33. data/public/avo-assets/avo.js.map +3 -3
  34. metadata +5 -2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.1.pre.3
4
+ version: 2.11.2.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-07-24 00:00:00.000000000 Z
12
+ date: 2022-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -293,6 +293,7 @@ files:
293
293
  - app/assets/svgs/exclamation-sm.svg
294
294
  - app/assets/svgs/exclamation.svg
295
295
  - app/assets/svgs/eye.svg
296
+ - app/assets/svgs/failed_to_load.svg
296
297
  - app/assets/svgs/filter.svg
297
298
  - app/assets/svgs/fire.svg
298
299
  - app/assets/svgs/game-board.svg
@@ -1122,6 +1123,7 @@ files:
1122
1123
  - app/views/avo/home/_docs.html.erb
1123
1124
  - app/views/avo/home/_filters.html.erb
1124
1125
  - app/views/avo/home/_resources.html.erb
1126
+ - app/views/avo/home/failed_to_load.html copy.erb
1125
1127
  - app/views/avo/home/failed_to_load.html.erb
1126
1128
  - app/views/avo/home/index.html.erb
1127
1129
  - app/views/avo/partials/_custom_tools_alert.html.erb
@@ -1180,6 +1182,7 @@ files:
1180
1182
  - lib/avo/concerns/is_resource_item.rb
1181
1183
  - lib/avo/concerns/model_class_constantized.rb
1182
1184
  - lib/avo/configuration.rb
1185
+ - lib/avo/configuration/resource_configuration.rb
1183
1186
  - lib/avo/dashboards/base_dashboard.rb
1184
1187
  - lib/avo/dashboards/base_divider.rb
1185
1188
  - lib/avo/dashboards/chartkick_card.rb