five-two-nw-olivander 0.1.2.40 → 0.1.2.42

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2ac359b6567be3b0696c755542583ea97b013ad103c1b7dbdc2664088b38534
4
- data.tar.gz: ac2e80d9ce4041c81805cc622885f7d89e4e4a83a657588896b32a68bef20a17
3
+ metadata.gz: 68b5d647249d3fe6be594a60a501f314246cda82723da9efd81079a5a43283dc
4
+ data.tar.gz: 9d827afec2b5713c33d4affb138af3816c7e01b24e69ea50fa7d3f1157a09796
5
5
  SHA512:
6
- metadata.gz: e3fa9c6ff543cfba046039b56006371d149923318f64aef3a5c8946f1b34c20c365a6460359a93e01f7396770969e78dcbe14c2052bda5b34c7aab43b846bbc8
7
- data.tar.gz: 89218054a0e0f8f6b23a980e5ad0914f349ed479741bcee726d729abeb2fb1bdd79b4aef4f860c7c891a65b086202adec22348547e9afa17dfab42cceee371ef
6
+ metadata.gz: 70e79e71abd95e85ad67496841293a7657d9b901204e4b37d4021666e0b149e4f566692c41cb39aa875a17becd1e357bfe49f1e5538c717b1a0271b1717e23ba
7
+ data.tar.gz: dc8d79c2f858e8631182684be725c59f8a7233e8f377d24ed173b7b6522656567c5901bb4cb721b3bcdefc8874bbdf895548ddbd0832548feccddada22b8dcd9
@@ -0,0 +1,8 @@
1
+ import { Controller } from "@hotwired/stimulus"
2
+
3
+ // Connects to data-controller="refresh-datatable"
4
+ export default class extends Controller {
5
+ connect() {
6
+ console.log('the refresh datatable controller was initialized')
7
+ }
8
+ }
@@ -71,7 +71,7 @@ module Olivander
71
71
  elsif sym.include?('.')
72
72
  col sym, visible: visible, label: label
73
73
  else
74
- col sym, visible: visible, label: label
74
+ col sym, visible: visible, label: label, action: :show
75
75
  end
76
76
  end
77
77
  actions_col
@@ -1,8 +1,6 @@
1
1
  module Olivander
2
2
  module ApplicationHelper
3
3
  def page_title
4
- return @page_title if @page_title
5
-
6
4
  cf = content_for(:title)
7
5
  return cf unless cf.blank?
8
6
 
@@ -10,6 +8,8 @@ module Olivander
10
8
  key = "page_titles.#{controller_key}.#{action_name}"
11
9
  return I18n.t(key) if I18n.exists?(key)
12
10
 
11
+ return @page_title if @page_title
12
+
13
13
  "#{controller_name}: #{action_name}".titleize
14
14
  end
15
15
 
@@ -0,0 +1,8 @@
1
+ import { Controller } from "@hotwired/stimulus"
2
+
3
+ // Connects to data-controller="refresh-datatable"
4
+ export default class extends Controller {
5
+ connect() {
6
+ console.log('the refresh datatable controller was initialized')
7
+ }
8
+ }
@@ -31,7 +31,7 @@
31
31
  .col-12
32
32
  .card.card-primary
33
33
  .card-header
34
- %h3.card-title= @page_title
34
+ %h3.card-title= page_title
35
35
  .card-tools
36
36
  = resource_form_actions(@context.route_builder, resource.klass, for_action: :index)
37
37
  .card-body
@@ -6,8 +6,8 @@
6
6
  %h1 Kanban Board
7
7
  .col-sm-6.text-right
8
8
  %a{ class: "nav-link", 'data-controlsidebar-slide': "true", 'data-widget': "control-sidebar", href: "#", role: "button", title: "Show Sidebar Options" }
9
- Set Board Options
9
+ = content_for(:board_options_label) || 'Set Board Options'
10
10
 
11
11
  %section.content.pb-3
12
- .container-fluid.h-100
12
+ .container-fluid.h-100#kanban-container
13
13
  = content
@@ -1 +1,3 @@
1
1
  %aside.control-sidebar.control-sidebar-dark
2
+ .p-3.control-sidebar-content
3
+ = content_for :sidebar
@@ -1,3 +1,3 @@
1
1
  module Olivander
2
- VERSION = '0.1.2.40'.freeze
2
+ VERSION = '0.1.2.42'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: five-two-nw-olivander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.40
4
+ version: 0.1.2.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dennis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-28 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chartkick
@@ -181,6 +181,7 @@ files:
181
181
  - app/assets/javascripts/adminlte/plugins/sweetalert2/sweetalert2.min.css
182
182
  - app/assets/javascripts/adminlte/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css
183
183
  - app/assets/javascripts/adminlte/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js
184
+ - app/assets/javascripts/controllers/refresh_datatable_controller.js
184
185
  - app/assets/stylesheets/adminlte.css
185
186
  - app/assets/stylesheets/fa-fix.scss
186
187
  - app/assets/stylesheets/olivander/application.css
@@ -207,6 +208,7 @@ files:
207
208
  - app/datatables/olivander/datatable.rb
208
209
  - app/helpers/olivander/application_helper.rb
209
210
  - app/inputs/date_time_input.rb
211
+ - app/javascript/controllers/refresh_datatable_controller.js
210
212
  - app/jobs/olivander/application_job.rb
211
213
  - app/mailers/olivander/application_mailer.rb
212
214
  - app/models/olivander/application_record.rb