From f173cd040ec7910b2496a9be0824d14fb65e78d0 Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 31 Jul 2022 07:25:14 -0400 Subject: [PATCH 1/3] Add description to copy edit report --- app/controllers/reports/session_reports_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/reports/session_reports_controller.rb b/app/controllers/reports/session_reports_controller.rb index 7e9927a46..13099a914 100644 --- a/app/controllers/reports/session_reports_controller.rb +++ b/app/controllers/reports/session_reports_controller.rb @@ -12,6 +12,7 @@ def session_copy_edit_status worksheet.append_row( [ 'Session', + 'Description', 'Areas', 'Status', 'Copy Edited', @@ -24,6 +25,7 @@ def session_copy_edit_status worksheet.append_row( [ session.title, + session.description, # NOTE: there is no mechanism for format HTML for excel so put the desc in and see what happens session.area_list.sort.join(';'), session.status, session.proofed ? 'Y' : 'N', From 3a040fc2d8027e0c24e7efa13913e6d6b17745c4 Mon Sep 17 00:00:00 2001 From: Gail Terman Date: Sun, 31 Jul 2022 15:08:40 -0400 Subject: [PATCH 2/3] PLAN-617 fix some pagination issues - add a frontend-persistent page size across all tables - add a go-to-page box - add a spinner while the table loads --- app/javascript/components/table_vue.vue | 44 ++++++++++++++++------- app/javascript/store/app.store.js | 5 +++ app/javascript/store/table.mixin.js | 47 +++++++++++++++++++++---- db/seeds/development/survey.seeds.rb | 6 ++-- 4 files changed, 80 insertions(+), 22 deletions(-) diff --git a/app/javascript/components/table_vue.vue b/app/javascript/components/table_vue.vue index 64f64af96..dde689ffc 100644 --- a/app/javascript/components/table_vue.vue +++ b/app/javascript/components/table_vue.vue @@ -54,18 +54,25 @@ -
+
- -
+ + + + + + Go + +
Search Results: {{totalRows}} {{countCaption}} @@ -86,8 +93,14 @@ @row-selected="onRowSelected" @sort-changed="onSortChanged" + :busy="tableBusy" > -