avo 2.5.2.pre.7 → 2.6.0

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 (76) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/app/assets/stylesheets/avo.css +33 -1
  4. data/app/assets/stylesheets/css/search.css +1 -1
  5. data/app/assets/svgs/heroicons/solid/user-remove.svg +1 -1
  6. data/app/components/avo/actions_component.html.erb +3 -2
  7. data/app/components/avo/alert_component.html.erb +1 -1
  8. data/app/components/avo/alert_component.rb +24 -5
  9. data/app/components/avo/button_component.rb +50 -17
  10. data/app/components/avo/card_component.rb +12 -0
  11. data/app/components/avo/fields/concerns/item_labels.rb +40 -0
  12. data/app/components/avo/fields/tags_field/edit_component.html.erb +1 -1
  13. data/app/components/avo/fields/tags_field/index_component.html.erb +1 -5
  14. data/app/components/avo/fields/tags_field/index_component.rb +2 -0
  15. data/app/components/avo/fields/tags_field/show_component.rb +3 -7
  16. data/app/components/avo/fields/tags_field/tag_component.html.erb +1 -1
  17. data/app/components/avo/filters_component.html.erb +1 -1
  18. data/app/components/avo/index/field_wrapper_component.html.erb +1 -1
  19. data/app/components/avo/index/grid_cover_empty_state_component.html.erb +1 -1
  20. data/app/components/avo/index/table_row_component.html.erb +1 -1
  21. data/app/components/avo/panel_component.html.erb +3 -3
  22. data/app/components/avo/panel_component.rb +1 -1
  23. data/app/components/avo/resource_component.rb +50 -0
  24. data/app/components/avo/sidebar/group_component.html.erb +4 -2
  25. data/app/components/avo/sidebar/heading_component.html.erb +1 -1
  26. data/app/components/avo/sidebar/link_component.html.erb +1 -1
  27. data/app/components/avo/sidebar/link_component.rb +1 -1
  28. data/app/components/avo/sidebar_component.html.erb +5 -13
  29. data/app/components/avo/sidebar_profile_component.html.erb +1 -1
  30. data/app/components/avo/views/resource_edit_component.html.erb +28 -3
  31. data/app/components/avo/views/resource_edit_component.rb +4 -6
  32. data/app/components/avo/views/resource_index_component.html.erb +17 -9
  33. data/app/components/avo/views/resource_new_component.html.erb +8 -2
  34. data/app/components/avo/views/resource_show_component.html.erb +16 -6
  35. data/app/components/avo/views/resource_show_component.rb +0 -45
  36. data/app/controllers/avo/actions_controller.rb +23 -8
  37. data/app/controllers/avo/associations_controller.rb +3 -3
  38. data/app/controllers/avo/base_controller.rb +11 -21
  39. data/app/controllers/avo/private_controller.rb +1 -0
  40. data/app/controllers/avo/search_controller.rb +2 -2
  41. data/app/helpers/avo/application_helper.rb +1 -1
  42. data/app/javascript/js/controllers/fields/key_value_controller.js +1 -1
  43. data/app/javascript/js/controllers/fields/tags_field_controller.js +3 -3
  44. data/app/javascript/js/controllers/filter_controller.js +4 -1
  45. data/app/javascript/js/controllers.js +0 -2
  46. data/app/views/avo/actions/show.html.erb +5 -2
  47. data/app/views/avo/dashboards/_chartkick_card.html.erb +1 -1
  48. data/app/views/avo/dashboards/_metric_card.html.erb +1 -1
  49. data/app/views/avo/partials/_logo.html.erb +1 -1
  50. data/app/views/avo/partials/_navbar.html.erb +9 -6
  51. data/app/views/avo/partials/_table_header.html.erb +3 -2
  52. data/app/views/avo/private/_links_and_buttons.html.erb +2 -2
  53. data/app/views/layouts/avo/application.html.erb +50 -53
  54. data/lib/avo/base_action.rb +24 -6
  55. data/lib/avo/engine.rb +1 -1
  56. data/lib/avo/fields/belongs_to_field.rb +4 -4
  57. data/lib/avo/fields/has_and_belongs_to_many_field.rb +2 -2
  58. data/lib/avo/fields/has_base_field.rb +2 -0
  59. data/lib/avo/fields/has_many_field.rb +2 -2
  60. data/lib/avo/fields/has_one_field.rb +2 -2
  61. data/lib/avo/fields/tags_field.rb +5 -5
  62. data/lib/avo/version.rb +1 -1
  63. data/lib/generators/avo/templates/cards/chartkick_card.tt +1 -1
  64. data/lib/generators/avo/templates/cards/chartkick_card_sample.tt +1 -1
  65. data/lib/generators/avo/templates/cards/metric_card.tt +1 -1
  66. data/lib/generators/avo/templates/cards/metric_card_sample.tt +1 -1
  67. data/lib/tasks/avo_tasks.rake +7 -3
  68. data/public/avo-assets/avo.css +233 -176
  69. data/public/avo-assets/avo.js +63 -63
  70. data/public/avo-assets/avo.js.map +3 -3
  71. metadata +5 -9
  72. data/app/assets/builds/avo.css +0 -9557
  73. data/app/assets/builds/avo.js +0 -512
  74. data/app/assets/builds/avo.js.map +0 -7
  75. data/app/assets/stylesheets/css/alerts.css +0 -35
  76. data/app/javascript/js/controllers/alerts_controller.js +0 -26

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.