five-two-nw-olivander 0.1.2.41 → 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: 572b09e7306002df8ecf37812c976761ea225683b7e81ff634721b6d874c5620
4
- data.tar.gz: a3a040334ebfbed01be800f5ededd7596ebd5edc406a6e71abf83cd4feadf063
3
+ metadata.gz: 68b5d647249d3fe6be594a60a501f314246cda82723da9efd81079a5a43283dc
4
+ data.tar.gz: 9d827afec2b5713c33d4affb138af3816c7e01b24e69ea50fa7d3f1157a09796
5
5
  SHA512:
6
- metadata.gz: b1b232dd5995ac4fc36e31dc39a377aad4e1ebe549886f1f9f1bab476feb39cb5d6f0c169714630955ebef446b54fda1c3e2711fee202d3ee926459fbb0e7c5b
7
- data.tar.gz: 03de64ae32769284529a1be5ac0ec949050399fc4a63da2e8773af20baee8d8c79d26b56663a717cb73cfae8fddeb1517924b95894d9c3bea4dbde76a836c51a
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,7 +6,7 @@
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
12
  .container-fluid.h-100#kanban-container
@@ -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.41'.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.41
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-09-01 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