-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vuetify Fixes for MHR and Misc Features #1615
Vuetify Fixes for MHR and Misc Features #1615
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great Cameron, a fair bit of cleanup and refactoring.
Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Good one 👏🏻
Just curious if it is required to add dashes to the props of the components? Maybe we can update the lint rule. The reason is that it's easier to search for it in files.
@@ -8,6 +8,7 @@ import { getVueRouter } from '@/router' | |||
import { getPiniaStore } from '@/store' | |||
import * as Sentry from '@sentry/vue' | |||
import vuetify from './plugins/vuetify' | |||
import { vMaska } from 'maska' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super easy replacement. Defined globally, so we can use in any template, just need to import basically the mask config. That being said, we don't really mask anything but phone numbers but the options there :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we use just one mask (for phone) do we even need this package? On the other hand, it is small and has no additional dependencies so maybe we can keep it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose its a nice option for future. The package is pretty small and very easy to implement/maintain.
@@ -10,10 +10,10 @@ export const defaultFlagSet: LDFlagSet = { | |||
'search-registration-number': true, | |||
'search-serial-number': true, | |||
'mhr-ui-enabled': true, // Mhr Search - default true: Should remove from codebase | |||
'mhr-registration-enabled': false, // Enables MHR table tab | |||
'mhr-transfer-enabled': false, // Enables changes to base MHR Home Owners within the MHR Information flow | |||
'mhr-registration-enabled': true, // Enables MHR table tab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we permanently enabling these now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not permanently, no, just left for ease of development.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it would make it easier, so I don't have to revert these changes each time I rebase :)
@dimak1 Great point for sure! |
@cameron-eyds great, yea that would be good if we are in agreement (about overriding the lint rule). So do we need to go back (in final lint sweep) and update the names to remove the dashes? |
I believe (am hopeful) the editor will take care of this, once the rule is overridden. |
@dimak1 Set up some additional linting rules and also helped identify certain vue warnings as errors. |
@cameron-eyds thank you for doing that! |
@cameron-eyds since we are on linter topic, maybe we could also look into prettier as well, just at the high level. Because I stopped using it a long time ago, since it was causing conflicts between other devs (I know Orel wasn't using it either because of it). Maybe it would be a good opportunity for all of us start using an external prettier config, so we don't have conflicts. By no means I want to increase the scope further, just putting it out here... |
Absolutely, another great point! Lots to do :) Just need to find the scope to do so, i think now is a great time to do it though, i'll give it a go in the Unit Test/Clean up Ticket. |
* Mhr Registrations Happy Path * Ongoing Registration Table Improvements * User access Start, some more table clean up * User Access Fixes + more table updates * Cleaned up Tables Sorting * Further Transfer and Unit Note Adjustments * Masking fixes and replacements * Date Pickers and misc styling adjustments * Lint Sweeps and camelCase enforcement * Reg Table Fix and command revert * Further DatePicker Updates
* Mhr Registrations Happy Path * Ongoing Registration Table Improvements * User access Start, some more table clean up * User Access Fixes + more table updates * Cleaned up Tables Sorting * Further Transfer and Unit Note Adjustments * Masking fixes and replacements * Date Pickers and misc styling adjustments * Lint Sweeps and camelCase enforcement * Reg Table Fix and command revert * Further DatePicker Updates
* Mhr Registrations Happy Path * Ongoing Registration Table Improvements * User access Start, some more table clean up * User Access Fixes + more table updates * Cleaned up Tables Sorting * Further Transfer and Unit Note Adjustments * Masking fixes and replacements * Date Pickers and misc styling adjustments * Lint Sweeps and camelCase enforcement * Reg Table Fix and command revert * Further DatePicker Updates
* Mhr Registrations Happy Path * Ongoing Registration Table Improvements * User access Start, some more table clean up * User Access Fixes + more table updates * Cleaned up Tables Sorting * Further Transfer and Unit Note Adjustments * Masking fixes and replacements * Date Pickers and misc styling adjustments * Lint Sweeps and camelCase enforcement * Reg Table Fix and command revert * Further DatePicker Updates
* Vue3 Build (#1594) * Vue3/Vuetify3/Vite-Build * wip: Up to Searches * wip: Search Features * Wip: PPR Search Done - Onto Mhr Search Results * Refactors generally completed on PPR/MHR Searches and history * CI Updates * update dockerfil * revert docker file udpates * docker change reverse * Docker update * docker node version update * last attempt at ci build * vue-affix removal * Lint Fixes * lint config updates * Modernized Linting for Vue and Typescript -- Applied non functional fixes * Updated vue declaration * Vuetify and component updates - PRR (#1609) * base dialog and Staff Payment instances updated * ongoing PPR Table work * Ongoin PPR Registrations/Amendment updates * Ongoing PPR Reg - Includes stepper, footers, Bus Search, Base Address * Ppr Registrations Happy Path * Chips and other misc fixes for Amendments * Vuetify Fixes for MHR and Misc Features (#1615) * Mhr Registrations Happy Path * Ongoing Registration Table Improvements * User access Start, some more table clean up * User Access Fixes + more table updates * Cleaned up Tables Sorting * Further Transfer and Unit Note Adjustments * Masking fixes and replacements * Date Pickers and misc styling adjustments * Lint Sweeps and camelCase enforcement * Reg Table Fix and command revert * Further DatePicker Updates * ViTest: Unit Testing Setup/Config/Utils and Ongoing Refactoring (#1623) * Ongoing Unit Test fixes * Ongoing PPR Test fixes - Includes base setup - solves most complexity - now test fixes * more test config updates and unit test fixes * button-footer rework * Further Testing updates - Up to Debtors * continued testing updates DischargeReg * Tests up to EditTrust and more cleanup * PR CleanUP * Few more tests - up to FeeSummary * FeeSummary test * Lint update * fee summary file clean up * Sync Clean Up * Ongoing test work * Delete .idea directory
* Vue3 Build (bcgov#1594) * Vue3/Vuetify3/Vite-Build * wip: Up to Searches * wip: Search Features * Wip: PPR Search Done - Onto Mhr Search Results * Refactors generally completed on PPR/MHR Searches and history * CI Updates * update dockerfil * revert docker file udpates * docker change reverse * Docker update * docker node version update * last attempt at ci build * vue-affix removal * Lint Fixes * lint config updates * Modernized Linting for Vue and Typescript -- Applied non functional fixes * Updated vue declaration * Vuetify and component updates - PRR (bcgov#1609) * base dialog and Staff Payment instances updated * ongoing PPR Table work * Ongoin PPR Registrations/Amendment updates * Ongoing PPR Reg - Includes stepper, footers, Bus Search, Base Address * Ppr Registrations Happy Path * Chips and other misc fixes for Amendments * Vuetify Fixes for MHR and Misc Features (bcgov#1615) * Mhr Registrations Happy Path * Ongoing Registration Table Improvements * User access Start, some more table clean up * User Access Fixes + more table updates * Cleaned up Tables Sorting * Further Transfer and Unit Note Adjustments * Masking fixes and replacements * Date Pickers and misc styling adjustments * Lint Sweeps and camelCase enforcement * Reg Table Fix and command revert * Further DatePicker Updates * ViTest: Unit Testing Setup/Config/Utils and Ongoing Refactoring (bcgov#1623) * Ongoing Unit Test fixes * Ongoing PPR Test fixes - Includes base setup - solves most complexity - now test fixes * more test config updates and unit test fixes * button-footer rework * Further Testing updates - Up to Debtors * continued testing updates DischargeReg * Tests up to EditTrust and more cleanup * PR CleanUP * Few more tests - up to FeeSummary * FeeSummary test * Lint update * fee summary file clean up * Sync Clean Up * Ongoing test work * Delete .idea directory
* Ongoing PPR Unit testing (#1626) * Vue3 Build (#1594) * Vue3/Vuetify3/Vite-Build * wip: Up to Searches * wip: Search Features * Wip: PPR Search Done - Onto Mhr Search Results * Refactors generally completed on PPR/MHR Searches and history * CI Updates * update dockerfil * revert docker file udpates * docker change reverse * Docker update * docker node version update * last attempt at ci build * vue-affix removal * Lint Fixes * lint config updates * Modernized Linting for Vue and Typescript -- Applied non functional fixes * Updated vue declaration * Vuetify and component updates - PRR (#1609) * base dialog and Staff Payment instances updated * ongoing PPR Table work * Ongoin PPR Registrations/Amendment updates * Ongoing PPR Reg - Includes stepper, footers, Bus Search, Base Address * Ppr Registrations Happy Path * Chips and other misc fixes for Amendments * Vuetify Fixes for MHR and Misc Features (#1615) * Mhr Registrations Happy Path * Ongoing Registration Table Improvements * User access Start, some more table clean up * User Access Fixes + more table updates * Cleaned up Tables Sorting * Further Transfer and Unit Note Adjustments * Masking fixes and replacements * Date Pickers and misc styling adjustments * Lint Sweeps and camelCase enforcement * Reg Table Fix and command revert * Further DatePicker Updates * ViTest: Unit Testing Setup/Config/Utils and Ongoing Refactoring (#1623) * Ongoing Unit Test fixes * Ongoing PPR Test fixes - Includes base setup - solves most complexity - now test fixes * more test config updates and unit test fixes * button-footer rework * Further Testing updates - Up to Debtors * continued testing updates DischargeReg * Tests up to EditTrust and more cleanup * PR CleanUP * Few more tests - up to FeeSummary * FeeSummary test * Lint update * fee summary file clean up * Sync Clean Up * Ongoing test work * Delete .idea directory * PPR Unit Testing Part 3 (#1631) * Ongoing tests: nearly complete * Only Table row and reg wrapper to complete * setup adjustments * Reg Wrapper and Fetching updates * ppr testing finalized * jest clean up and terminal clean up * Update MHR unit tests - Part 1 (#1630) Update unit tests * Vue Fold in Prep: Linting Fixes (#1633) * ongoing Linting * Lint Fixes * no gutters update * MakeModel Test Fix * MHR Test Fixes, Misc UI fixes (#1636) * Test Updates, Misc UI fixes * ts config clean up * Update Unit Tests - Part 2 (#1635) * Further updated to unit tests * More unit test updates * Further unit test updates * More unit test updates * Fix errors in Dashboard test by mocking api calls * Fix Signout test from error * Fix some of Typescript errors * 17701 Misc MHR Clean Up (#1638) * Misc Ui clean up * remove dev code * remove more dev code * Fixes after Rebase * Fix unit tests, small cleanup (#1640) * Delay app mount to allow for auth data (#1641) * Delay app mount to allow for auth data * spacing fix * optional chain doc for testing env * linting fixes * test fix and spelling correction * Console cleanup * Fix Lien Alert message for QS (#1643) * Fix Lien Alert message for QS * Version update * SbcCC Version Updates + Lien/Locked Updates (#1645) * Authentication Flow updates * minor syntax fix and error handling * Remove extra console * RL Collateral Selector fix * Axios version and interceptor upgrades (#1646) * sbc-cc updates (for axios V) and axios interceptor updates * Version bump * Fix Lien Alert msg (#1648) * Home Owners styling and Transfer Bugs (#1649) * Home Owners Styling and Bug fixes * Pr Updates --------- Co-authored-by: Dima K <dima1086@hotmail.com>
Issue #: /bcgov/entity#18391
Description of changes:
Following the patterns for PPR, continued the refactors into MHR Related flows.
Replaces v-mask with maska package for our phone number masking, as a global directive
Registration Table refactors - leverage virtual scroller so we can pull in the entirety of the registration data set and prevent having pseudo pagination. Improves performance greatly for filtering and swapping tabs.
Minor fixes to svg styling for stepper
Flows covered in this ticket:
MHR Registrations Table
MHR Registration Flows
User Access Flows
MHR Unit Notes
MHR Information Flows
Exemption Flow
Notes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the PPR license (Apache 2.0).