qa_server 7.7.1 → 7.8.0

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: b0978259611a921fa54a761892e41d7248f1176274534d2760501abe367beeaa
4
- data.tar.gz: 2db5881b75ef09978b4ed2a26c6f80aa18e7b18d5f947df8b3d0c2062672082b
3
+ metadata.gz: 794b6a1df8268f9b316ba8626f45ace1241f5208538c2dab2965c36077ce8ad3
4
+ data.tar.gz: ad7b9425e8f9d4fcdca98dfa0f6ae31ac0fa6a0fe5d4b6b8207d648db023edfd
5
5
  SHA512:
6
- metadata.gz: a25a399d6ac07235da877181c581307e80dbd8c562f3af789ddc580e14480520da1a3dd2201c5a1c631aba5b2f4d7f79172a2acb456348b763626abfaa79c40b
7
- data.tar.gz: 023bbcb131e44ed281222c6b85a8e67028612027c11a4a432d3f99115ee0223b359a48c82892710b329958fd959840c210cc2957773e85556f18f6ae974a8ff8
6
+ metadata.gz: 2efb90f8b0d3409fc7058557497820476791b642db776ef406855c3e4c5d3bd581e0661662b8eeb74dec146f59ae7e9a5a5a1aad36c297524ab6a88ee07e6505
7
+ data.tar.gz: 5f32bb54311cbd6cc58c4f6cf4017c7dff1d64047672af9b303cb57a3dae7010e8d64353a49666d1e5378ab2ddb3f1f8108e48a7114926b49badda60a6f425bf
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 7.8.0 (2021-04-14)
2
+
3
+ * add geographic subauth for Mesh-NLM
4
+ * dogear expected and actual cells when accuracy test is pending
5
+
1
6
  ### 7.7.1 (2021-04-14)
2
7
 
3
8
  * fix background colors in historical uptime table
@@ -88,6 +88,10 @@ td.bold-left-border {
88
88
  border-left: 2px solid black;
89
89
  }
90
90
 
91
+ .status-dogear {
92
+ background: linear-gradient(135deg, #333 0%, #333 10%, transparent 10%, transparent 100%);
93
+ }
94
+
91
95
  .status-good {
92
96
  text-align: center;
93
97
  background-color: #ccffcc;
@@ -81,7 +81,7 @@ module QaServer
81
81
 
82
82
  # @return [String] the name of the css style class to use for the status cell based on the status of the scenario test.
83
83
  def status_style_class(status)
84
- "status-#{status}"
84
+ status[:pending] ? "status-dogear status-#{status[:status]}" : "status-#{status[:status]}"
85
85
  end
86
86
 
87
87
  # @return [String] the name of the css style class to use for the status cell based on the status of the scenario test.
@@ -44,8 +44,6 @@
44
44
  <select name="authority" id="authority" class="string optional form-control form-control" value="" aria-labelledby="authority" onchange="hide_data()">
45
45
  <option value=""><%= t('qa_server.check_status.select_authority') %></option>
46
46
  <option disabled>──────────</option>
47
- <option value="<%= @presenter.value_all_collections %>"><%= t('qa_server.check_status.show_all') %></option>
48
- <option disabled>──────────</option>
49
47
  <% @authorities_list.each do |auth_name| %>
50
48
  <option value="<%= auth_name %>"<%= " selected" if auth_name == selected_authority %>><%= auth_name.upcase %></option>
51
49
  <% end %>
@@ -77,7 +75,10 @@
77
75
  <% end %>
78
76
 
79
77
 
80
- <div id="status-loading-message" class="wait-message"><%= t('qa_server.check_status.wait_message') %></div>
78
+ <div id="status-loading-message" class="wait-message">
79
+ <%= t('qa_server.check_status.wait_message_ln1') %><br>
80
+ <%= t('qa_server.check_status.wait_message_ln2') %>
81
+ </div>
81
82
 
82
83
  <% if @presenter.connection_status_data? %>
83
84
  <div id="connection-status-section" class="status-section">
@@ -100,7 +101,7 @@
100
101
  </tr>
101
102
  <% end %>
102
103
  <tr>
103
- <td class="<%= @presenter.status_style_class(status[:status]) %>"><%= @presenter.status_label(status[:status]) %></td>
104
+ <td class="<%= @presenter.status_style_class(status) %>"><%= @presenter.status_label(status[:status]) %></td>
104
105
  <td><%= status[:subauthority_name] %></td>
105
106
  <td><%= status[:service] %></td>
106
107
  <td><%= status[:action] %></td>
@@ -137,8 +138,8 @@
137
138
  </tr>
138
139
  <% end %>
139
140
  <tr>
140
- <td class="position <%= @presenter.status_style_class(status[:status]) %>"><%= status[:expected] %></td>
141
- <td class="position <%= @presenter.status_style_class(status[:status]) %>"><%= status[:actual] %></td>
141
+ <td class="position <%= @presenter.status_style_class(status) %>"><%= status[:expected] %></td>
142
+ <td class="position <%= @presenter.status_style_class(status) %>"><%= status[:actual] %></td>
142
143
  <td><%= status[:request_data] %></td>
143
144
  <td><a href="<%= status[:target] %>"><%= status[:target] %></a></td>
144
145
  <td><%= status[:authority_name] %></td>
@@ -25,12 +25,12 @@ en:
25
25
  check_status:
26
26
  title: Check Status
27
27
  select_authority: Select authority...
28
- show_all: ALL Authorities (SLOW)
29
28
  connections: Check Connection Status only
30
29
  accuracy: Check Accuracy only
31
30
  comparison: Compare Accuracy
32
31
  all_checks: Run all checks
33
- wait_message: "Please wait while the status is verified. This will be slow if you selected ALL Authorities."
32
+ wait_message_ln1: "Please wait while the status is verified."
33
+ wait_message_ln2: "This may be slow for large authorities or ones with a lot of tests."
34
34
  connection_checks: Connection Checks
35
35
  accuracy_checks: Accuracy Checks for Search Results
36
36
  comparison_checks: Comparison of Accuracy Checks
@@ -206,6 +206,7 @@
206
206
  ]
207
207
  },
208
208
  "subauthorities": {
209
+ "geographic": "Geographic",
209
210
  "subject": "Subject",
210
211
  "publication_type": "FormOfWork"
211
212
  }
@@ -45,7 +45,7 @@ search:
45
45
  -
46
46
  pending: true
47
47
  query: Spain
48
- subauth: subject
48
+ subauth: geographic
49
49
  subject_uri: "http://id.nlm.nih.gov/mesh/D013030"
50
50
  position: 3
51
51
  replacements:
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module QaServer
3
- VERSION = '7.7.1'
3
+ VERSION = '7.8.0'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qa_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.7.1
4
+ version: 7.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - E. Lynette Rayle