From c6b51b801dd558693219e974c39574e5aa7e9b8a Mon Sep 17 00:00:00 2001 From: weskubo-cgi Date: Mon, 16 May 2022 16:21:57 -0700 Subject: [PATCH 1/8] Initial implementation of Help/Instructions and updates to tooltip to make it more versatile. --- frontend/src/components/ui/AppDateInput.vue | 111 ++++++++---------- frontend/src/components/ui/AppHelp.vue | 34 ++++++ frontend/src/components/ui/AppInput.vue | 32 ++--- .../src/components/ui/AppInstructions.vue | 91 ++++++++++++++ frontend/src/components/ui/AppModal.vue | 104 ++++++++++++++++ .../src/components/ui/AppRadioButtonGroup.vue | 6 +- frontend/src/components/ui/AppTooltip.vue | 64 ++++++---- .../components/ui/YesNoRadioButtonGroup.vue | 6 +- .../views/eligibility/CheckEligibility.vue | 23 ++++ .../views/eligibility/CoverageStatusCheck.vue | 17 ++- frontend/src/views/eligibility/PhnInquiry.vue | 58 ++++++++- .../src/views/groupmember/AddDependent.vue | 8 +- .../src/views/groupmember/AddGroupMember.vue | 4 +- .../src/views/groupmember/CancelDependent.vue | 4 +- .../views/groupmember/CancelGroupMember.vue | 4 +- 15 files changed, 448 insertions(+), 118 deletions(-) create mode 100644 frontend/src/components/ui/AppHelp.vue create mode 100644 frontend/src/components/ui/AppInstructions.vue create mode 100644 frontend/src/components/ui/AppModal.vue diff --git a/frontend/src/components/ui/AppDateInput.vue b/frontend/src/components/ui/AppDateInput.vue index df1fadad..97b2336a 100644 --- a/frontend/src/components/ui/AppDateInput.vue +++ b/frontend/src/components/ui/AppDateInput.vue @@ -1,72 +1,57 @@ \ No newline at end of file + diff --git a/frontend/src/components/ui/AppHelp.vue b/frontend/src/components/ui/AppHelp.vue new file mode 100644 index 00000000..a60f3e8d --- /dev/null +++ b/frontend/src/components/ui/AppHelp.vue @@ -0,0 +1,34 @@ + + + diff --git a/frontend/src/components/ui/AppInput.vue b/frontend/src/components/ui/AppInput.vue index 9d768bfb..e51685ba 100644 --- a/frontend/src/components/ui/AppInput.vue +++ b/frontend/src/components/ui/AppInput.vue @@ -3,20 +3,23 @@ import AppInputError from './AppInputError.vue' @@ -51,8 +54,8 @@ export default { padding: 5px 5px 5px 7px; } -.text_input[type="text"]:focus { - outline: 2px solid #3B99FC; +.text_input[type='text']:focus { + outline: 2px solid #3b99fc; outline-offset: 1px; } @@ -61,7 +64,6 @@ export default { } .error-input { - border-color: #D8292F !important; + border-color: #d8292f !important; } - - \ No newline at end of file + diff --git a/frontend/src/components/ui/AppInstructions.vue b/frontend/src/components/ui/AppInstructions.vue new file mode 100644 index 00000000..47146e7f --- /dev/null +++ b/frontend/src/components/ui/AppInstructions.vue @@ -0,0 +1,91 @@ + + + diff --git a/frontend/src/components/ui/AppModal.vue b/frontend/src/components/ui/AppModal.vue new file mode 100644 index 00000000..e77223fc --- /dev/null +++ b/frontend/src/components/ui/AppModal.vue @@ -0,0 +1,104 @@ + + + + diff --git a/frontend/src/components/ui/AppRadioButtonGroup.vue b/frontend/src/components/ui/AppRadioButtonGroup.vue index 52d4d9a3..d456328e 100644 --- a/frontend/src/components/ui/AppRadioButtonGroup.vue +++ b/frontend/src/components/ui/AppRadioButtonGroup.vue @@ -2,8 +2,8 @@
- - + +
@@ -34,8 +34,6 @@ export default { label: String, modelValue: String, group: Array, - tooltip: Boolean, - tooltipText: String, }, watch: { modelValue: function (val) { diff --git a/frontend/src/components/ui/AppTooltip.vue b/frontend/src/components/ui/AppTooltip.vue index d832fc3e..91252542 100644 --- a/frontend/src/components/ui/AppTooltip.vue +++ b/frontend/src/components/ui/AppTooltip.vue @@ -1,37 +1,59 @@ \ No newline at end of file +.tooltip-header { + background-color: #ffffff; + color: #000000; + font-weight: normal; +} +.tooltip:hover .tooltiptext { + visibility: visible; +} + diff --git a/frontend/src/components/ui/YesNoRadioButtonGroup.vue b/frontend/src/components/ui/YesNoRadioButtonGroup.vue index 4a0716ad..9b397de8 100644 --- a/frontend/src/components/ui/YesNoRadioButtonGroup.vue +++ b/frontend/src/components/ui/YesNoRadioButtonGroup.vue @@ -1,5 +1,7 @@ + diff --git a/frontend/src/views/eligibility/CoverageStatusCheck.vue b/frontend/src/views/eligibility/CoverageStatusCheck.vue index 78db0f4b..ba721550 100644 --- a/frontend/src/views/eligibility/CoverageStatusCheck.vue +++ b/frontend/src/views/eligibility/CoverageStatusCheck.vue @@ -3,7 +3,9 @@
- + + + @@ -13,12 +15,20 @@ - + + +

Patient Status Request

+ + Subsidy Insured Service: the screen will display whether MSP pays for Subsidy Insured Services for this PHN, including the number of services last paid to date, whether the beneficiary must pay, the number of paid services by calendar year. This information will be of interest to + supplementary benefits providers.
+ Last Eye Exam: the screen will return the date of the last paid eye exam for this PHN within the last 24 months. This information will be of interest to those performing eye exams. Patient Restriction:, if the patient has been restricted to a single general practitioner, the MSP Coverage + Status Check will advise you to review the MSP Bulletin." +

Select by clicking one or more boxes

@@ -95,6 +105,7 @@ + diff --git a/frontend/src/views/groupmember/AddDependent.vue b/frontend/src/views/groupmember/AddDependent.vue index 880e5ffe..3a9b9c79 100644 --- a/frontend/src/views/groupmember/AddDependent.vue +++ b/frontend/src/views/groupmember/AddDependent.vue @@ -6,7 +6,9 @@ - + + +
@@ -24,7 +26,9 @@ - + + + diff --git a/frontend/src/views/groupmember/AddGroupMember.vue b/frontend/src/views/groupmember/AddGroupMember.vue index c8e7de0a..c82d84c2 100644 --- a/frontend/src/views/groupmember/AddGroupMember.vue +++ b/frontend/src/views/groupmember/AddGroupMember.vue @@ -6,7 +6,9 @@ - + + + diff --git a/frontend/src/views/groupmember/CancelDependent.vue b/frontend/src/views/groupmember/CancelDependent.vue index 717ff898..6c18db8e 100644 --- a/frontend/src/views/groupmember/CancelDependent.vue +++ b/frontend/src/views/groupmember/CancelDependent.vue @@ -23,7 +23,9 @@ - + + + diff --git a/frontend/src/views/groupmember/CancelGroupMember.vue b/frontend/src/views/groupmember/CancelGroupMember.vue index caa22133..2979f7e8 100644 --- a/frontend/src/views/groupmember/CancelGroupMember.vue +++ b/frontend/src/views/groupmember/CancelGroupMember.vue @@ -13,7 +13,9 @@ - + + + From b96e2202c702d07f06d69a3b838ef1351deab3f0 Mon Sep 17 00:00:00 2001 From: weskubo-cgi Date: Tue, 17 May 2022 13:27:48 -0700 Subject: [PATCH 2/8] Minor updates. --- frontend/src/assets/css/main.css | 82 +++++++++---------- frontend/src/components/ui/AppTooltip.vue | 3 +- .../views/eligibility/CoverageStatusCheck.vue | 18 ++-- 3 files changed, 53 insertions(+), 50 deletions(-) diff --git a/frontend/src/assets/css/main.css b/frontend/src/assets/css/main.css index f646be7c..5f717c0c 100644 --- a/frontend/src/assets/css/main.css +++ b/frontend/src/assets/css/main.css @@ -1,77 +1,77 @@ /* Body */ body { - background-color: #F1F1F1; - padding-bottom: 20px; + background-color: #f1f1f1; + padding-bottom: 20px; } hr { - background-color: #606060; - border: 1px solid #606060; + background-color: #606060; + border: 1px solid #606060; } /* Main */ main { - max-width: 1320px; - min-width: 1100px; - width: 100%; - min-height: calc(100vh - 168px); - margin: 0 auto; - padding: 20px 60px 60px 60px; - background-color: #FFFFFF; + max-width: 1320px; + min-width: 1100px; + width: 100%; + min-height: calc(100vh - 168px); + margin: 0 auto; + padding: 20px 60px 60px 60px; + background-color: #ffffff; } main .content { - padding: 0; - font-size: 1rem; + padding: 0; + font-size: 1rem; } main .content:after { - content: ""; - display: table; - clear: both; + content: ''; + display: table; + clear: both; } /* Sub groups */ .subgroup { -/*.v-card.subgroup*/ - padding: 20px; margin:0px -20px 20px -20px; max-width: 110%; + padding: 20px; + margin: 0px -20px 20px -20px; + max-width: 110%; } .subgroup h2 { - font-weight: 100; - color: #999; - font-size: 24px; - line-height: 30px; - text-transform: uppercase; - margin-top: 0; - margin-bottom: 20px; + font-weight: 100; + color: #999; + font-size: 24px; + line-height: 30px; + text-transform: uppercase; + margin-top: 0; + margin-bottom: 20px; } -/* Input */ +/* Input */ input { - display: block; - width: 100%; + display: block; + width: 100%; } .checkbox-group .v-input--selection-controls { - margin-top: 8px; + margin-top: 8px; } -/* Vuetify Components */ -/*.v-icon.v-icon { - vertical-align: baseline; -} -*/ - /* tables */ .theme--light.v-data-table.base-table thead tr:last-child th { - border-top: 2px solid #003366; - border-bottom: 2px solid #003366; + border-top: 2px solid #003366; + border-bottom: 2px solid #003366; } -.v-data-table td, .v-data-table th { - padding: 0 16px; +.v-data-table td, +.v-data-table th { + padding: 0 16px; } .select-table tr { - cursor: pointer; + cursor: pointer; } .select-table tr.v-data-table__empty-wrapper { - cursor: default; + cursor: default; +} + +.flex { + display: flex; } diff --git a/frontend/src/components/ui/AppTooltip.vue b/frontend/src/components/ui/AppTooltip.vue index 91252542..c7318e9a 100644 --- a/frontend/src/components/ui/AppTooltip.vue +++ b/frontend/src/components/ui/AppTooltip.vue @@ -30,7 +30,6 @@ export default { diff --git a/frontend/src/main.js b/frontend/src/main.js index 2410cb77..b88a08fc 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -3,6 +3,7 @@ import '@bcgov/bc-sans/css/BCSans.css' import { createPinia } from 'pinia' import { createApp } from 'vue' +import { DraggablePlugin } from '@braks/revue-draggable' import { library } from '@fortawesome/fontawesome-svg-core' import { faBullhorn, faCheckCircle, faChevronDown, faExclamationCircle, faExclamationTriangle, faExternalLinkAlt, faInfoCircle, faQuestionCircle, faSpinner, faTimes, faTrashAlt } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' @@ -61,6 +62,8 @@ function initApp(permissions) { const router = createRouter(app) app.use(router) + app.use(DraggablePlugin) + app.config.globalProperties.$keycloak = keycloak library.add(faBullhorn) diff --git a/frontend/src/views/eligibility/PhnInquiry.vue b/frontend/src/views/eligibility/PhnInquiry.vue index 149c6e73..3b6321f2 100644 --- a/frontend/src/views/eligibility/PhnInquiry.vue +++ b/frontend/src/views/eligibility/PhnInquiry.vue @@ -1,9 +1,11 @@ - From e8e79112d039f77ebffe593b6193aa083bb477fc Mon Sep 17 00:00:00 2001 From: weskubo-cgi Date: Wed, 18 May 2022 12:13:05 -0700 Subject: [PATCH 4/8] Updated syntax. --- frontend/src/components/ui/AppDateInput.vue | 2 +- frontend/src/components/ui/AppInput.vue | 2 +- frontend/src/components/ui/AppRadioButtonGroup.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/ui/AppDateInput.vue b/frontend/src/components/ui/AppDateInput.vue index 97b2336a..ea2e9160 100644 --- a/frontend/src/components/ui/AppDateInput.vue +++ b/frontend/src/components/ui/AppDateInput.vue @@ -1,7 +1,7 @@