motor-admin 0.2.1 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/config/locales/en.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/pt.yml +2 -0
- data/lib/motor/admin.rb +1 -1
- data/lib/motor/build_schema/load_from_rails.rb +0 -2
- data/lib/motor/version.rb +1 -1
- data/lib/motor.rb +0 -1
- data/ui/dist/{main-5c903ff9235e54ac03f1.css.gz → main-32da50c51ef9fcddf634.css.gz} +0 -0
- data/ui/dist/main-32da50c51ef9fcddf634.js.gz +0 -0
- data/ui/dist/manifest.json +5 -5
- metadata +4 -18
- data/ui/dist/main-5c903ff9235e54ac03f1.js.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 854fa2c5799dc38f7a9e349de3f6391894a6fc2deaddadb27626f86bc8d6517d
|
4
|
+
data.tar.gz: e452093f3e2f5157b3561e859f04876b84deae6097c1444f3cbc1562486e3753
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 368cf58ba672c132ada6dc2803683e59c472029385fe211e7ddda5f302c3c73b529906586fc70cfd957e2fc740a85d81b84752ffc47800fa2a7226310ac879ed
|
7
|
+
data.tar.gz: a8786928fd85bc54108889ff61a48fce1188d0e3f3f07e9e786197a9ec895a0b58d4db4f93a38513885ff9357f84a4ac521691bfa56f401e2c9bc510976f396c
|
data/README.md
CHANGED
@@ -49,6 +49,8 @@ Everything in the admin panel can be configured using the intuitive settings UI,
|
|
49
49
|
|
50
50
|
Data displayed on the resource page can be completely customized via [SQL queries](#sql-queries) and [dashboards](#dashboards) attached to the resource as a tab. Usually, queries used to display resource data should contain `{{resource_name_id}}` [variable](#sql-queries).
|
51
51
|
|
52
|
+
[Learn more about resource customizations](https://github.com/omohokcoj/motor-admin/blob/master/guides/customizing_resource_table.md)
|
53
|
+
|
52
54
|
### Custom Actions
|
53
55
|
|
54
56
|
![Custom actions](https://user-images.githubusercontent.com/5418788/119266132-3c1dd580-bbf2-11eb-9666-09e1640eaf7b.png)
|
@@ -75,8 +77,9 @@ end
|
|
75
77
|
|
76
78
|
![Custom form](https://user-images.githubusercontent.com/5418788/119264008-1391dd80-bbea-11eb-9f14-cb405e77fb60.png)
|
77
79
|
|
78
|
-
Values from the form fields can be used in API path via `{field_name}` syntax: `/api/some-endpoint/{resource_id}/apply
|
79
|
-
|
80
|
+
Values from the form fields can be used in API path via `{field_name}` syntax: `/api/some-endpoint/{resource_id}/apply`.
|
81
|
+
|
82
|
+
[Learn more about custom forms builder](https://github.com/omohokcoj/motor-admin/blob/master/guides/building_custom_forms.md)
|
80
83
|
|
81
84
|
### SQL Queries
|
82
85
|
|
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/lib/motor/admin.rb
CHANGED
@@ -287,8 +287,6 @@ module Motor
|
|
287
287
|
{ includes: validator.send(:delimiter) }
|
288
288
|
when ActiveRecord::Validations::PresenceValidator
|
289
289
|
{ required: true }
|
290
|
-
when ActiveModel::Validations::FormatValidator
|
291
|
-
{ format: JsRegex.new(options[:with]).to_h.slice(:source, :options) }
|
292
290
|
when ActiveRecord::Validations::LengthValidator
|
293
291
|
{ length: normalize_length_validation_options(options) }
|
294
292
|
when ActiveModel::Validations::NumericalityValidator
|
data/lib/motor/version.rb
CHANGED
data/lib/motor.rb
CHANGED
File without changes
|
Binary file
|
data/ui/dist/manifest.json
CHANGED
@@ -2601,9 +2601,9 @@
|
|
2601
2601
|
"icons/zoom-out.svg.gz": "icons/zoom-out.svg.gz",
|
2602
2602
|
"icons/zoom-question.svg": "icons/zoom-question.svg",
|
2603
2603
|
"icons/zoom-question.svg.gz": "icons/zoom-question.svg.gz",
|
2604
|
-
"main-
|
2605
|
-
"main-
|
2606
|
-
"main-
|
2607
|
-
"main.css": "main-
|
2608
|
-
"main.js": "main-
|
2604
|
+
"main-32da50c51ef9fcddf634.css.gz": "main-32da50c51ef9fcddf634.css.gz",
|
2605
|
+
"main-32da50c51ef9fcddf634.js.LICENSE.txt": "main-32da50c51ef9fcddf634.js.LICENSE.txt",
|
2606
|
+
"main-32da50c51ef9fcddf634.js.gz": "main-32da50c51ef9fcddf634.js.gz",
|
2607
|
+
"main.css": "main-32da50c51ef9fcddf634.css",
|
2608
|
+
"main.js": "main-32da50c51ef9fcddf634.js"
|
2609
2609
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motor-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Matsyburka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-filter
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: js_regex
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3.0'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '3.0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: rails
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1537,8 +1523,8 @@ files:
|
|
1537
1523
|
- ui/dist/icons/zoom-money.svg.gz
|
1538
1524
|
- ui/dist/icons/zoom-out.svg.gz
|
1539
1525
|
- ui/dist/icons/zoom-question.svg.gz
|
1540
|
-
- ui/dist/main-
|
1541
|
-
- ui/dist/main-
|
1526
|
+
- ui/dist/main-32da50c51ef9fcddf634.css.gz
|
1527
|
+
- ui/dist/main-32da50c51ef9fcddf634.js.gz
|
1542
1528
|
- ui/dist/manifest.json
|
1543
1529
|
homepage:
|
1544
1530
|
licenses:
|
Binary file
|