meta_workflows 0.9.40 → 0.9.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1229d2b932428c27988056a8309809fff4001883352a8b9a2009a2b354c52c73
4
- data.tar.gz: 507ea88f809236dcdcf4a9802fe107e3c934c369e3886f3dc97dc04d7bf311dd
3
+ metadata.gz: d243f864ec247e441fb99776933bdd6da36b9659aa67441dce1b2c697c4bddbe
4
+ data.tar.gz: 50ebf8d7d05836e527e79e4b33f537a945068025203270969a4da8b434bb87f7
5
5
  SHA512:
6
- metadata.gz: 94dc8852fe26a758701eadb4427c4dc1f5370199ce92cda67d40bc6f5ab5f2db621336bc53cda74fdbca8bae62e8b61bae4d0baef4458db27b6f6dd1bae18a9f
7
- data.tar.gz: 3f6baa1ed29f0931f20bcaedfd3d2db2e9751b9cb9444a085d97aac5b0247a2b5a31e05cc86679c6b196001ae74c3449d98eb9fd893c3815d7a336252b7bb5ce
6
+ metadata.gz: dbf074bc5ea6b95655d561e5a6625f39b18411ca25fabf8af7e2606ea32ed4abda22f27b795997bfbb757e6a58ba6e8e65d7526046a63844d9acefb08f94e496
7
+ data.tar.gz: a8acca539f74e197ec626d4aa1f9bc7b66da651db2d17a06db7e1404ca3fafe55ccc8a2a17795b49487b323ccff5a8164ad455ec284730f03c31cb83d33be7c5
@@ -6,12 +6,12 @@ module MetaWorkflows
6
6
  include ExecutionHelper
7
7
  include FormattingHelper
8
8
 
9
- # Helper for truncating long text with tooltip
10
- def truncate_with_tooltip(text, length: 50)
9
+ # Helper for truncating long text
10
+ def truncate_text(text, length: 50)
11
11
  return '' if text.blank?
12
12
 
13
13
  if text.length > length
14
- content_tag :span, truncate(text, length: length), title: text, class: 'cursor-help'
14
+ "#{text[0...length]}..."
15
15
  else
16
16
  text
17
17
  end
@@ -34,4 +34,8 @@ module RecipeAccessible
34
34
  def total_steps
35
35
  recipe&.dig('steps')&.size || 0
36
36
  end
37
+
38
+ def description
39
+ recipe&.dig('description')
40
+ end
37
41
  end
@@ -7,6 +7,11 @@
7
7
  <p class="mt-1 text-sm text-gray-500">
8
8
  Workflow Details
9
9
  </p>
10
+ <% if @workflow.description.present? %>
11
+ <p class="mt-2 text-sm text-gray-700">
12
+ <%= @workflow.description %>
13
+ </p>
14
+ <% end %>
10
15
  </div>
11
16
 
12
17
  <div class="flex space-x-3">
@@ -69,7 +69,7 @@
69
69
  </div>
70
70
  <% if workflow.recipe&.dig('description') %>
71
71
  <div class="text-sm text-gray-500">
72
- <%= truncate_with_tooltip(workflow.recipe['description'], length: 80) %>
72
+ <%= truncate_text(workflow.description, length: 80) %>
73
73
  </div>
74
74
  <% end %>
75
75
  </div>
@@ -3,7 +3,7 @@
3
3
  module MetaWorkflows
4
4
  MAJOR = 0
5
5
  MINOR = 9
6
- PATCH = 40 # this is automatically incremented by the build process
6
+ PATCH = 41 # this is automatically incremented by the build process
7
7
 
8
8
  VERSION = "#{MetaWorkflows::MAJOR}.#{MetaWorkflows::MINOR}.#{MetaWorkflows::PATCH}".freeze
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_workflows
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.40
4
+ version: 0.9.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Medovyy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-07-28 00:00:00.000000000 Z
12
+ date: 2025-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails