glib-web 0.5.58 → 0.5.63

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,11 +28,8 @@ json_ui_page json do |page|
28
28
  template.thumbnail title: 'Misc', onClick: ->(action) do
29
29
  action.windows_open url: json_ui_garage_url(path: 'views/misc')
30
30
  end
31
-
32
- if !Rails.env.test? # Avoid slowing down tests
33
- template.thumbnail title: 'Icons', onClick: ->(action) do
34
- action.windows_open url: json_ui_garage_url(path: 'views/icons')
35
- end
31
+ template.thumbnail title: 'Icons', onClick: ->(action) do
32
+ action.windows_open url: json_ui_garage_url(path: 'views/icons')
36
33
  end
37
34
  end
38
35
  end,
@@ -49,6 +46,19 @@ json_ui_page json do |page|
49
46
  action.windows_open url: json_ui_garage_url(path: 'views/links')
50
47
  end
51
48
  end
49
+ end,
50
+ ->(section) do
51
+ section.header padding: glib_json_padding_list, childViews: ->(header) do
52
+ header.h2 text: 'Reference'
53
+ end
54
+
55
+ section.rows builder: ->(template) do
56
+ if !Rails.env.test? # Avoid slowing down tests
57
+ template.thumbnail title: 'Icon Names', onClick: ->(action) do
58
+ action.windows_open url: json_ui_garage_url(path: 'views/icon_names')
59
+ end
60
+ end
61
+ end
52
62
  end
53
63
  ]
54
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.58
4
+ version: 0.5.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -73,6 +73,7 @@ extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
75
  - app/channels/glib/channel/is_typing_channel.rb
76
+ - app/channels/glib/channel/online_channel.rb
76
77
  - app/controllers/concerns/glib/analytics/funnel.rb
77
78
  - app/controllers/concerns/glib/auth/policy.rb
78
79
  - app/controllers/concerns/glib/json/dynamic_text.rb
@@ -207,6 +208,7 @@ files:
207
208
  - app/views/json_ui/garage/views/banners.json.jbuilder
208
209
  - app/views/json_ui/garage/views/calendar_data.json.jbuilder
209
210
  - app/views/json_ui/garage/views/charts.json.jbuilder
211
+ - app/views/json_ui/garage/views/icon_names.json.jbuilder
210
212
  - app/views/json_ui/garage/views/icons.json.jbuilder
211
213
  - app/views/json_ui/garage/views/images.json.jbuilder
212
214
  - app/views/json_ui/garage/views/index.json.jbuilder