completion-kit 0.5.16 → 0.5.17
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ce9123debaea45400d854ccca1cef4ca1c93a486bb397213f7e7998c8748ca2
|
|
4
|
+
data.tar.gz: 4fc585bef631af5ee454a8e86bfd7cbdf95303d0e100e5405a644b1ca85fae2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37321a08941fbdc87e43698a18db78ef3adb100831449e128a5487004e93714ea494361b07a2aec4b55b8b723aae39e0a8c38f5f7b82f377e365269eeb3ffa0c
|
|
7
|
+
data.tar.gz: 8744ac203aeb30e7dceda1fad9cd70b5f1b31c8f4eed156ed66b7ed8e33a8be92955d4d025fbfd313d0c8389c117ca0ac44f551dd7251da4148c00430da75ec4
|
|
@@ -3172,10 +3172,11 @@ select.ck-input {
|
|
|
3172
3172
|
cursor: pointer;
|
|
3173
3173
|
}
|
|
3174
3174
|
|
|
3175
|
-
.ck-metrics-table th:nth-child(1), .ck-metrics-table td:nth-child(1) { width:
|
|
3175
|
+
.ck-metrics-table th:nth-child(1), .ck-metrics-table td:nth-child(1) { width: 18rem; white-space: normal; }
|
|
3176
3176
|
.ck-metrics-table th:nth-child(2), .ck-metrics-table td:nth-child(2) { width: auto; }
|
|
3177
3177
|
.ck-metrics-table th:nth-child(3), .ck-metrics-table td:nth-child(3) { width: 16rem; }
|
|
3178
3178
|
.ck-metrics-table th:nth-child(4), .ck-metrics-table td:nth-child(4) { width: 3rem; }
|
|
3179
|
+
.ck-metrics-table td:nth-child(1) strong { overflow-wrap: anywhere; }
|
|
3179
3180
|
|
|
3180
3181
|
.ck-datasets-table th:nth-child(1), .ck-datasets-table td:nth-child(1) { width: auto; }
|
|
3181
3182
|
.ck-datasets-table th:nth-child(2), .ck-datasets-table td:nth-child(2) { width: 5rem; white-space: nowrap; }
|
|
@@ -180,15 +180,15 @@ module CompletionKit
|
|
|
180
180
|
end
|
|
181
181
|
|
|
182
182
|
def ck_run_path(run)
|
|
183
|
-
CompletionKit::Engine.routes.url_helpers.run_path(run)
|
|
183
|
+
CompletionKit::Engine.routes.url_helpers.run_path(run, **url_options.except(:host, :protocol, :script_name))
|
|
184
184
|
end
|
|
185
185
|
|
|
186
186
|
def ck_prompt_path(prompt)
|
|
187
|
-
CompletionKit::Engine.routes.url_helpers.prompt_path(prompt)
|
|
187
|
+
CompletionKit::Engine.routes.url_helpers.prompt_path(prompt, **url_options.except(:host, :protocol, :script_name))
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
def ck_dataset_path(dataset)
|
|
191
|
-
CompletionKit::Engine.routes.url_helpers.dataset_path(dataset)
|
|
191
|
+
CompletionKit::Engine.routes.url_helpers.dataset_path(dataset, **url_options.except(:host, :protocol, :script_name))
|
|
192
192
|
end
|
|
193
193
|
|
|
194
194
|
def ck_format_maybe_json(text)
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<% if @run.dataset %>
|
|
29
29
|
<span class="ck-run-config__dataset">
|
|
30
30
|
<%= link_to @run.dataset.name, dataset_path(@run.dataset), class: "ck-link" %>
|
|
31
|
-
<span class="ck-run-config__dataset-meta"><%=
|
|
31
|
+
<span class="ck-run-config__dataset-meta"><%= @run.dataset.row_count %> rows</span>
|
|
32
32
|
<button type="button" class="ck-run-config__dataset-preview" onclick="document.getElementById('dataset-preview-<%= @run.id %>').showModal()">Preview</button>
|
|
33
33
|
</span>
|
|
34
34
|
<% else %>
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
<header class="ck-modal__header">
|
|
94
94
|
<div class="ck-modal__heading">
|
|
95
95
|
<h2 class="ck-modal__title"><%= @run.dataset.name %></h2>
|
|
96
|
-
<span class="ck-modal__meta"><%=
|
|
96
|
+
<span class="ck-modal__meta"><%= @run.dataset.row_count %> rows</span>
|
|
97
97
|
</div>
|
|
98
98
|
<button type="button" class="ck-modal__close" aria-label="Close" onclick="this.closest('dialog').close()">×</button>
|
|
99
99
|
</header>
|