avo 2.6.1.pre.1 → 2.7.1.pre.1
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/builds/avo.css +4 -8
- data/app/assets/builds/avo.js +1 -1
- data/app/assets/builds/avo.js.map +2 -2
- data/app/assets/svgs/download-solid-reversed.svg +2 -2
- data/app/assets/svgs/heroicons/solid/user-remove.svg +1 -1
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +1 -0
- data/app/components/avo/fields/has_one_field/show_component.html.erb +2 -2
- data/app/components/avo/fields/tags_field/index_component.html.erb +1 -1
- data/app/components/avo/index/resource_controls_component.rb +2 -1
- data/app/components/avo/resource_component.rb +7 -0
- data/app/components/avo/views/resource_edit_component.html.erb +5 -0
- data/app/components/avo/views/resource_edit_component.rb +9 -3
- data/app/components/avo/views/resource_show_component.html.erb +7 -2
- data/app/components/avo/views/resource_show_component.rb +5 -2
- data/app/controllers/avo/cards_controller.rb +25 -0
- data/app/controllers/avo/dashboards_controller.rb +2 -8
- data/app/controllers/avo/home_controller.rb +8 -1
- data/app/controllers/avo/search_controller.rb +33 -20
- data/app/javascript/js/controllers/search_controller.js +2 -0
- data/app/views/avo/{dashboards → cards}/_chartkick_card.html.erb +0 -0
- data/app/views/avo/{dashboards → cards}/_metric_card.html.erb +0 -0
- data/app/views/avo/{dashboards/card.html.erb → cards/show.html.erb} +0 -0
- data/app/views/avo/partials/_custom_tools_alert.html.erb +16 -5
- data/app/views/layouts/avo/application.html.erb +1 -1
- data/config/routes.rb +6 -3
- data/lib/avo/app.rb +2 -0
- data/lib/avo/base_resource.rb +1 -0
- data/lib/avo/base_resource_tool.rb +34 -0
- data/lib/avo/concerns/has_tools.rb +47 -0
- data/lib/avo/engine.rb +2 -1
- data/lib/avo/hosts/association_scope_host.rb +0 -1
- data/lib/avo/licensing/pro_license.rb +1 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/install_generator.rb +3 -0
- data/lib/generators/avo/resource_tool_generator.rb +40 -0
- data/lib/generators/avo/templates/resource_tools/partial.tt +37 -0
- data/lib/generators/avo/templates/resource_tools/resource_tool.tt +4 -0
- data/public/avo-assets/avo.js +1 -1
- data/public/avo-assets/avo.js.map +2 -2
- metadata +11 -5
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.
|
4
|
+
version: 2.7.1.pre.1
|
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-05-
|
12
|
+
date: 2022-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -1046,6 +1046,7 @@ files:
|
|
1046
1046
|
- app/controllers/avo/associations_controller.rb
|
1047
1047
|
- app/controllers/avo/attachments_controller.rb
|
1048
1048
|
- app/controllers/avo/base_controller.rb
|
1049
|
+
- app/controllers/avo/cards_controller.rb
|
1049
1050
|
- app/controllers/avo/dashboards_controller.rb
|
1050
1051
|
- app/controllers/avo/debug_controller.rb
|
1051
1052
|
- app/controllers/avo/home_controller.rb
|
@@ -1104,9 +1105,9 @@ files:
|
|
1104
1105
|
- app/views/avo/base/index.html.erb
|
1105
1106
|
- app/views/avo/base/new.html.erb
|
1106
1107
|
- app/views/avo/base/show.html.erb
|
1107
|
-
- app/views/avo/
|
1108
|
-
- app/views/avo/
|
1109
|
-
- app/views/avo/
|
1108
|
+
- app/views/avo/cards/_chartkick_card.html.erb
|
1109
|
+
- app/views/avo/cards/_metric_card.html.erb
|
1110
|
+
- app/views/avo/cards/show.html.erb
|
1110
1111
|
- app/views/avo/dashboards/show.html.erb
|
1111
1112
|
- app/views/avo/debug/index.html.erb
|
1112
1113
|
- app/views/avo/debug/report.html.erb
|
@@ -1164,8 +1165,10 @@ files:
|
|
1164
1165
|
- lib/avo/base_action.rb
|
1165
1166
|
- lib/avo/base_card.rb
|
1166
1167
|
- lib/avo/base_resource.rb
|
1168
|
+
- lib/avo/base_resource_tool.rb
|
1167
1169
|
- lib/avo/concerns/fetches_things.rb
|
1168
1170
|
- lib/avo/concerns/handles_field_args.rb
|
1171
|
+
- lib/avo/concerns/has_tools.rb
|
1169
1172
|
- lib/avo/configuration.rb
|
1170
1173
|
- lib/avo/dashboards/base_dashboard.rb
|
1171
1174
|
- lib/avo/dashboards/base_divider.rb
|
@@ -1261,6 +1264,7 @@ files:
|
|
1261
1264
|
- lib/generators/avo/metric_card_generator.rb
|
1262
1265
|
- lib/generators/avo/partial_card_generator.rb
|
1263
1266
|
- lib/generators/avo/resource_generator.rb
|
1267
|
+
- lib/generators/avo/resource_tool_generator.rb
|
1264
1268
|
- lib/generators/avo/templates/action.tt
|
1265
1269
|
- lib/generators/avo/templates/cards/chartkick_card.tt
|
1266
1270
|
- lib/generators/avo/templates/cards/chartkick_card_sample.tt
|
@@ -1288,6 +1292,8 @@ files:
|
|
1288
1292
|
- lib/generators/avo/templates/locales/avo.ro.yml
|
1289
1293
|
- lib/generators/avo/templates/resource/controller.tt
|
1290
1294
|
- lib/generators/avo/templates/resource/resource.tt
|
1295
|
+
- lib/generators/avo/templates/resource_tools/partial.tt
|
1296
|
+
- lib/generators/avo/templates/resource_tools/resource_tool.tt
|
1291
1297
|
- lib/generators/avo/templates/standalone_action.tt
|
1292
1298
|
- lib/generators/avo/templates/tool/controller.tt
|
1293
1299
|
- lib/generators/avo/templates/tool/sidebar_item.tt
|