From cb82e37046c0cd38a301f8f599f6742ec7dc21dd Mon Sep 17 00:00:00 2001 From: Karim El Jazzar <122301442+JazzarKarim@users.noreply.github.com> Date: Mon, 29 Jan 2024 11:19:07 -0800 Subject: [PATCH] 19034 rebase legal name branch (#615) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 17347 - Move COA and COD corrections for COOPS into the generic correction wo… (#549) Move COA and COD corrections for COOPS into the generic correction workflow. * 17347 - Add in isCoop check for resume button. (#550) * Add in isCoop check for resume button. * Fix code complexity issues * Fix code complexity * 18027 AGM Location change (#551) * 18027-agm location details 1 * 18027-agm location details 2 * 18027-agm location details 3 * 18027-update package version * 18027-agm location details 4 * 18027-agm location details 5 * 18027-agm location details 6 * 18027-agm location details 7 * 18027-agm location details 8 * 18027-agm location details 9 * AGM Location Change First PR (#553) * AGM Location Change First PR * small adjustment * small fixes in response to Sev's comments * Fixed in response to Sev's comments * AGM Location Change second PR (#554) * AGM Location Change second PR * Fixed unit tests * fixed in response to Sev's comments * fixed error text * AGM Location Change Third PR (#555) * Created + updated unit tests * Fixed EntityMenu test from ticket part 1 * Fixed lint errors * Fixes in response to Sev's comments * fixed lint issues * Fixed in reponse to Sev's comments * removed unnecessary test code * AGM Location Change 4th and final PR (#556) * AGM Location Change 4th and final PR * changed method name * changed comment * fixed lint error * removed unnecessary line * Fix in response to Sev's comment * Fixed in response to Sev's comment + simplified logic * Removed staff payment dialog * update agm location variable * AGM Location Change 5th PR for styling issues (#559) * AGM Location Change 5th PR for styling issues * fixed left spacing of ripple * fixed small lint issue * fixed in response to Sev's comments * Pre-populate the certify block when logged in user is not staff * Moved user's full name to store to minimize API calls * Fixed in response to Sev's comments * Added optional chaining * 16764 - Fixed end user certify block * Reverted currentuser interface + fixed accordingly * Prevent from showing undefined in certified block * Prevented undefined from showing in certify block in agm location change * 18024 Incremental AGM extension work (#558) - app version = 6.9.5 - imported shared DatePicker component - renamed a base class - added a base class - saved user info into store - added initial AboutTheBusiness sub-component - added initial AgmExtensionEvaluation sub-component - added AgmExtensionHelp sub-component - added initial ExtensionRequest sub-component - added VcardTemplate - updated tooltip text - updated FF - added AgmExtEval interface - renamed RootStateIF -> AuthenticationStateIF - renamed StateIF -> RootStateIF - added DateMixin function for DatePicker component - updated fetchUserInfo to return object (not Axios response) - added missing default FF - deleted obsolete dialog, transition, buttons, methods, CSS from AGM Extension - added help section - added initial sub-components to AGM Extension - updated intro text - updated some whitespace - updated filing code - removed delay in mounted() in AGM Extension - updated onHaveChanges() watcher in AGM Extension - pre-populated CertifiedBy - deleted obsolete transition, methods, CSS from AGM Extension - removed delay in mounted() in AGM Location Chg - updated onHaveChanges() watcher in AGM Location Chg - updated unit tests - misc cleanup * Make Certify block non-editable if non-staff user (AGM Filings) (#564) Make certify block non-editable if non-staff user * feat: digital business card (#566) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * 18284: digital business card (#552) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * chore: cleanup spelling and handle edge cases Signed-off-by: Akiff Manji * fix: failing tests Signed-off-by: Akiff Manji * fix: entity menu logic Signed-off-by: Akiff Manji * 18284 Updated CSP (#561) - added wss://*.gov.bc.ca to connect-src * refactor: remove websocket support in favour of interval polling Signed-off-by: Akiff Manji * chore: remove console log Signed-off-by: Akiff Manji * chore: address PR comments Signed-off-by: Akiff Manji * chore: remove unused import Signed-off-by: Akiff Manji * fix: build and test failures Signed-off-by: Akiff Manji * feat: digital business card (#562) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: cleanup spelling and handle edge cases Signed-off-by: Akiff Manji * fix: failing tests Signed-off-by: Akiff Manji * fix: entity menu logic Signed-off-by: Akiff Manji * refactor: remove websocket support in favour of interval polling Signed-off-by: Akiff Manji * chore: remove console log Signed-off-by: Akiff Manji * chore: address PR comments Signed-off-by: Akiff Manji * chore: remove unused import Signed-off-by: Akiff Manji * fix: build and test failures Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * Update EntityMenu.spec.ts * chore: remove web socket references Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji Co-authored-by: Séverin Beauvais * 18161 Updated in response to UXA notes (#567) * Updated in response to UXA notes * package version update after rebasing * 16733 undefined placeholder for federal (#569) * For PR. Added Federal keyword * Restored changes * For PR. Added federal placeholder * Updated package.json * Fixed eslindt errors * Restored space for separation of function * 18024 Incremental AGM Extension changes (#568) - app version = 7.0.3 - removed obsolete dialogs + code - stopped watching changes to certify data - indent cleanup - added initial message box + CSS - app version = 7.0.2 - added NotEligibleExtension dialog - removed waiveFees=true from AGM Extension - removed waiveFees=true from AGM Location Chg - added some unit test suites - worked on unit tests - misc cleanup - used allowable actions value from Legal API - show alert on error starting app - fixed some comments - added showErrors prop to ExtensionRequest component * 18272 Add unit test for AboutTheBusiness component (#570) * Add unit test for AboutTheBusiness * Update AboutTheBusiness tests * Incorporate Sev's test for AboutTheBusiness * Check long string date in test * 17917 Added placeholder for null values (#572) Updated Version * 18024 Incremental AGM Extension changes (#571) * - app version = 7.0.6 - updated ExtensionRequest validation styling - misc small fixes - updated unit tests - added isEligible to interface - show dialog if not eligible - expanded unit tests * wip * feat: digital credentials detailed instructions (#575) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * 18284: digital business card (#552) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * chore: cleanup spelling and handle edge cases Signed-off-by: Akiff Manji * fix: failing tests Signed-off-by: Akiff Manji * fix: entity menu logic Signed-off-by: Akiff Manji * 18284 Updated CSP (#561) - added wss://*.gov.bc.ca to connect-src * refactor: remove websocket support in favour of interval polling Signed-off-by: Akiff Manji * chore: remove console log Signed-off-by: Akiff Manji * chore: address PR comments Signed-off-by: Akiff Manji * chore: remove unused import Signed-off-by: Akiff Manji * fix: build and test failures Signed-off-by: Akiff Manji * feat: digital business card (#562) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: cleanup spelling and handle edge cases Signed-off-by: Akiff Manji * fix: failing tests Signed-off-by: Akiff Manji * fix: entity menu logic Signed-off-by: Akiff Manji * refactor: remove websocket support in favour of interval polling Signed-off-by: Akiff Manji * chore: remove console log Signed-off-by: Akiff Manji * chore: address PR comments Signed-off-by: Akiff Manji * chore: remove unused import Signed-off-by: Akiff Manji * fix: build and test failures Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * Update EntityMenu.spec.ts * chore: remove web socket references Signed-off-by: Akiff Manji * chore: fix spacing Signed-off-by: Akiff Manji * chore: some cleanup Signed-off-by: Akiff Manji * feat: credential detailed instructions Signed-off-by: Akiff Manji * chore: add tags to components Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji Co-authored-by: Séverin Beauvais * 18513 Fixed jerky expandable help transition (#576) - app version = 7.0.7 - imported latest ExpandableHelp component (to fix jerky transition) * Extension Request Scenario 1 (#577) * Extension Request Scenario 1 * Lots of updates after rebasing * package version update after rebasing * cleanup * Fixed unit test * Updated in response to Sev's PR comments * Removed fallback logic from subtractDates in dateutilities * lint fix * 18369 agm extension evaluation (#573) * 18369 agm evaluation component setup * 18369 agm evaluation component setup * 18369 added logic to agm extension evaluation component and unit testing * removed unnecessary data from agmExtensionEvaluation * removed rootStore values since unused * removed unused pinia * misc edit * added yellow evaluation box unit test * fixed expected value * removed redundant testing in yellow-box verification * added idea for template conditionals in the component * rearranged data variables in the conditionals * removed now unused props * misc fix * added new testing for agm extension evaluation * removed Text string variables from AgmExtension.vue * fized testing error * fixed silly typo * 17159 Update fetchNameRequest (#579) update fetchNameRequest * 18273 Extension Request Scenario 2 (#580) * Extension Request Scenario 2 * Fix lint issue * Fix min expiry date * Restore comment on isFirstAgm * Move currentDate to data object * Fix agm year not clearing on firstAgm change * Update watcher comment * Update version to 7.0.10 and fix unit tests * 18469 Capitalize AGM in output titles (#581) - app version = 7.0.11 - added missing cases for AGM filings - added special case to convert "Agm" to "AGM" - fixed a lint warning * 18274 Updated To Do List and Recent Filing History (#584) * - app version = 7.0.12 * - added AGM Extension as a filing in Filing History List - added AGM Extension as cancellable Todo Item - added AGM Extension filing component - fixed wrong enum in Entity Menu - added AGM Extension to Enum Utilities - fixed misc type warnings * - added agmExtension fields to ApiFilingIF - updated AGM Extension filing JSON per schema * - fixed unit test * - added FHL unit tests * Update FilingHistoryList1.spec.ts - updated displayName for AGM filings in unit tests (no functional impact, no dependencies) * 18369 changed the duration of extension messages in accordance with U… (#582) * 18369 changed the duration of extension messages in accordance with UX design * fixed tests for new evaluation messages. * fixed date getters and added expiry date * fixed getters and fixed typo * fixed reactive expiry date * update package json * 18204 disable restore based on ff (#583) * For PR added FF parameters * Fixed && added test cases for historical * Updated package version * chore: update content and images (#586) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * 18284: digital business card (#552) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * chore: cleanup spelling and handle edge cases Signed-off-by: Akiff Manji * fix: failing tests Signed-off-by: Akiff Manji * fix: entity menu logic Signed-off-by: Akiff Manji * 18284 Updated CSP (#561) - added wss://*.gov.bc.ca to connect-src * refactor: remove websocket support in favour of interval polling Signed-off-by: Akiff Manji * chore: remove console log Signed-off-by: Akiff Manji * chore: address PR comments Signed-off-by: Akiff Manji * chore: remove unused import Signed-off-by: Akiff Manji * fix: build and test failures Signed-off-by: Akiff Manji * feat: digital business card (#562) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: cleanup spelling and handle edge cases Signed-off-by: Akiff Manji * fix: failing tests Signed-off-by: Akiff Manji * fix: entity menu logic Signed-off-by: Akiff Manji * refactor: remove websocket support in favour of interval polling Signed-off-by: Akiff Manji * chore: remove console log Signed-off-by: Akiff Manji * chore: address PR comments Signed-off-by: Akiff Manji * chore: remove unused import Signed-off-by: Akiff Manji * fix: build and test failures Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * Update EntityMenu.spec.ts * chore: remove web socket references Signed-off-by: Akiff Manji * chore: fix spacing Signed-off-by: Akiff Manji * chore: some cleanup Signed-off-by: Akiff Manji * feat: credential detailed instructions Signed-off-by: Akiff Manji * chore: add tags to components Signed-off-by: Akiff Manji * chore: minor content updates Signed-off-by: Akiff Manji * chore: update package version Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji Co-authored-by: Séverin Beauvais * fix: DBC feature should be available for historical companies (#587) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * 18284: digital business card (#552) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * chore: cleanup spelling and handle edge cases Signed-off-by: Akiff Manji * fix: failing tests Signed-off-by: Akiff Manji * fix: entity menu logic Signed-off-by: Akiff Manji * 18284 Updated CSP (#561) - added wss://*.gov.bc.ca to connect-src * refactor: remove websocket support in favour of interval polling Signed-off-by: Akiff Manji * chore: remove console log Signed-off-by: Akiff Manji * chore: address PR comments Signed-off-by: Akiff Manji * chore: remove unused import Signed-off-by: Akiff Manji * fix: build and test failures Signed-off-by: Akiff Manji * feat: digital business card (#562) * refactor: CredentialsLanding component: add heading card Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add supplemental cards Signed-off-by: Akiff Manji * feat: CredentialsLanding component: add image and word wrapping Signed-off-by: Akiff Manji * feat: CredentialsLanding component: link styling Signed-off-by: Akiff Manji * feat: CredentialsStepper component: deprecate routes Signed-off-by: Akiff Manji * refactor: CredentialsStepper component: function naming Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: split into sub components Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add web socket component Signed-off-by: Akiff Manji * feat: DigitalCredentials component: re-add credential table Signed-off-by: Akiff Manji * refactor: DigitalCredentials component: update types and imports Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add revocation dialogs Signed-off-by: Akiff Manji * feat: DigitalCredentials component: add replacement dialogs Signed-off-by: Akiff Manji * feat: devcontainer config Signed-off-by: Akiff Manji * chore: fix linting errors Signed-off-by: Akiff Manji * chore: bump version number Signed-off-by: Akiff Manji * chore: rename route for specificity Signed-off-by: Akiff Manji * chore: ran linter and fixed linting errors Signed-off-by: Akiff Manji * chore: make interface field optional Signed-off-by: Akiff Manji * chore: revert auto-formatting Signed-off-by: Akiff Manji * refactor: contain dialogs for DigitalCredentials component Signed-off-by: Akiff Manji * chore: fix code smells Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: revert autoformatting Signed-off-by: Akiff Manji * chore: update wording and styling to align with UX Signed-off-by: Akiff Manji * chore: fix styling Signed-off-by: Akiff Manji * feat: feature flag credentials feature with mixin Signed-off-by: Akiff Manji * feat: add TOU dialog Signed-off-by: Akiff Manji * chore: fix test failiures and code comments * chore: cleaup Signed-off-by: Akiff Manji * fix: mixin to access digital credential feature Signed-off-by: Akiff Manji * fix: entity menu styling Signed-off-by: Akiff Manji * feat: add loading indicators to digital credential route pages Signed-off-by: Akiff Manji * feat: reset dialog and functions Signed-off-by: Akiff Manji * chore: returl null if undefined Signed-off-by: Akiff Manji * chore: beef up conditional checks Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: spelling error Signed-off-by: Akiff Manji * chore: cleanup spelling and handle edge cases Signed-off-by: Akiff Manji * fix: failing tests Signed-off-by: Akiff Manji * fix: entity menu logic Signed-off-by: Akiff Manji * refactor: remove websocket support in favour of interval polling Signed-off-by: Akiff Manji * chore: remove console log Signed-off-by: Akiff Manji * chore: address PR comments Signed-off-by: Akiff Manji * chore: remove unused import Signed-off-by: Akiff Manji * fix: build and test failures Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * Update EntityMenu.spec.ts * chore: remove web socket references Signed-off-by: Akiff Manji * chore: fix spacing Signed-off-by: Akiff Manji * chore: some cleanup Signed-off-by: Akiff Manji * feat: credential detailed instructions Signed-off-by: Akiff Manji * chore: add tags to components Signed-off-by: Akiff Manji * chore: minor content updates Signed-off-by: Akiff Manji * chore: update package version Signed-off-by: Akiff Manji * fix: DBC feature should be available for historical organization Signed-off-by: Akiff Manji * refactor: move logic into getter Signed-off-by: Akiff Manji * fix: DBC feature should only be available to BCSC user Signed-off-by: Akiff Manji * chore: update package version Signed-off-by: Akiff Manji * chore: update package lock file Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji Co-authored-by: Séverin Beauvais * 18273+18558 Extension Request Cleanup and Tests (#585) * Restore comment on isFirstAgm * Extension Request Cleanup and Tests * Update comment * Use isFirstAgm from data for validity * Remove debugging code * Fix initial state on agm extension evaluation * Fix typo * Set missing values for EmptyAgmExtEval * Add better validation for AGM extension request * Prevent future year for agm year * Update version to 7.0.17 * Fix some of the unit tests * Removed impossible test scenario * Add overflow-auto class * Update date-picker version to 1.2.38 * Remove optional from agm extension interface * Remove console.log * 18024 - Fixed AGM Extensions in TODO List (#591) * 18273+18558 Update Extension Request component UI (#592) * Extension Request Cleanup and Tests * Remove debugging code * Remove optional from agm extension interface * Remove console.log * Update Extension Request component UI * 18534 Changes to support amalgamation applications (#590) * - app version = 7.0.20 - updated some shared imports - added amalgamation as supported filing type - added amalgamation template to Filing History List - added amalgamation application to Todo List - added amalgamation sub-types to enum - added amalgamation to API Filing interface - added amalgamation to Task Todo interface - added an enum mixin method - added enum utilities methods - updated filingTypeToName() - replaced overly complex "currentFilingStatus" with filing id check - refactored entityStatus to identify the application type (amal/IA/reg) - updated unit tests * - applied fix for #18736 * - added displayName to draft app code - used displayName in TodoList.vue - used displayName in EntityHeader.vue * - added check for amalgamation type * 18024 Finish AGM Extension UI implementation (#594) * Fix AGM extension api payload * Update version to 7.0.21 * Fix unit test * feat: digital credentials gate (#595) * feat: gate digital credentials from API Signed-off-by: Akiff Manji * chore: bump package version Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * 18534 Amalg unit tests + small fixes + more typing (#596) * - app version = 7.0.23 - enabled strict typing - misc small fixes/cleanup - fixed filed IA blurb - added amalgamation allowable action - added unit tests - added some typing to unit tests * wip * feat: digital credentials TOU (#597) * feat: Terms of Use for digital credentials Signed-off-by: Akiff Manji * chore: address code review comments and bump package version Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji * chore: address code review comments Signed-off-by: Akiff Manji --------- Signed-off-by: Akiff Manji * 18782 fix error in wrong agm due date (#598) fix error in wrong agm due date * 17869 - Adding CFS account number BUSINESS-FILINGS-UI (#565) * 17869 - Adding CFS account number BUSINESS-FILINGS-UI Signed-off-by: AbrahamRostampoor * cfs Update * Latest Updates * Formatting * Updated package.json and package-lock.json version number --------- Signed-off-by: AbrahamRostampoor * 18833 agm ext calc (#599) * 18833-AGM-extension-calculation * Updated package.json * Added getter that takes argument for AGM year. Working test case for getTotalAgmExtension method * 18805+18979 Amalgamate Button + Moved to amalgamationApplication + Selection Panel (#600) * Implemented Amalgamate button + changed amalgamation to amalgamationApplication * Implemented Amalgamation Selection Panel * Updated package version after rebase * Added safe value + deleted unnecessary comment * Updated in response to Sev's comments * another small update in response to Sev's comment * missing import * small updates in response to Sev's comment * removed unused imports * changed disabled condition * Create draft amalgamation + redirect + misc. fixes/updates (#601) * Create draft amalgamation + redirect + misc. fixes/updates * Fixed comments * Fixed in response to Sev's comments + added unit tests * fixed typos * Updated Amalgamation Selection in response to UXA notes (#602) * Updated in response to Yui's observations * Updated in response to Sev's comments * 19005 Implemented historical - amalgamation reason text (#604) - app version = 7.0.30 - updated some code comments - added AmalgamatedInto interface object - added enum mixin and utility functions - added some business store getters - refactored getReasonText() and added case for amalgamation - cast some parameters to pre-empt code errors - added/updated unit tests Co-authored-by: Severin Beauvais * 16967 Admin Freeze should not show on ledger (#603) * hide admin_freeze filing * update feature * fix small * fix lint issue * update feature * update test and app version * fix lint issue * update app version * Update filingHistoryListStore.ts - changed "displayLedger" check from falsy to False * 16967 Set missing `displayLedger` property for draft apps (#605) - app version = 7.0.32 - set missing draft app property - updated some interface comments Co-authored-by: Severin Beauvais * 19190 Fixed "return to MBR" issues (#607) - app version = 7.0.33 - only show "return to MBR" for temp amalgamations - only show "return to MBR" for temp incorporation applications - only show "return to MBR" for temp registrations Co-authored-by: Severin Beauvais * 19291 Implemented "future effective amalgamation" alert (#608) * - app version = 7.0.34 - moved some "unknown" from script to template - added amalgamation alert component - added optional data object to business warnings interface - added getter for future effective amalgamation warning - added alert to dashboard - fixed some route type errors - added test suite - updated unit tests * - updated [Unknown] -> [unknown] --------- Co-authored-by: Severin Beauvais * Added amalgamation FF check (#610) * Added amalgamation FF check * Fixed unit tests * typo * 19209 Pre-populate TING business + error handling (#609) - app version = 7.0.36 - fixed some getLegalType types - added generic Technical Error Dialog (per Yui) - added amalgamation enums - refactored Legal Service function for better result and error handling - added dialog to Amalgamation Selection component - refactored Amalgamation Selection for error handling and to pre-populate TING business - added test suite for new dialog Co-authored-by: Severin Beauvais * 19204 Fixed whitespace between sub-title and body (#612) - app version = 7.0.37 - removed min-height (which simulated padding when it's a single line) - added top margin (whitespace whether it's a single or wrapped line) - added top padding to body for all filings Co-authored-by: Severin Beauvais * Bump vite from 4.3.9 to 4.5.2 (#613) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.3.9 to 4.5.2. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * major upgrade to package version --------- Signed-off-by: Akiff Manji Signed-off-by: AbrahamRostampoor Signed-off-by: dependabot[bot] Co-authored-by: Travis Semple Co-authored-by: ketaki-deodhar <116035339+ketaki-deodhar@users.noreply.github.com> Co-authored-by: Séverin Beauvais Co-authored-by: Akiff Manji Co-authored-by: jamespaologarcia Co-authored-by: leodube-aot <122323255+leodube-aot@users.noreply.github.com> Co-authored-by: Akiff Manji Co-authored-by: Paul <144158015+PaulGarewal@users.noreply.github.com> Co-authored-by: Kevin Zhang <54437031+kzdev420@users.noreply.github.com> Co-authored-by: Shaoyun Tong <144159934+tshyun24@users.noreply.github.com> Co-authored-by: AbrahamRostampoor <144154569+AbrahamRostampoor@users.noreply.github.com> Co-authored-by: Severin Beauvais Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 4 +- package.json | 2 +- src/App.vue | 3 -- src/views/Dashboard.vue | 1 + tests/unit/Dashboard.spec.ts | 17 ++++++++ tests/unit/FilingHistoryList1.spec.ts | 60 +++++++++++++++++++++++++++ 6 files changed, 81 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 85a745ccf..d31a0b488 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-filings-ui", - "version": "6.10.0", + "version": "8.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-filings-ui", - "version": "6.10.0", + "version": "8.0.0", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/base-address": "2.0.9", diff --git a/package.json b/package.json index 5d0fb33fa..954da0ff9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-filings-ui", - "version": "6.10.0", + "version": "8.0.0", "private": true, "appName": "Filings UI", "sbcName": "SBC Common Components", diff --git a/src/App.vue b/src/App.vue index 25c866e27..a629aadf0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -762,9 +762,6 @@ export default { commentsLink: application.commentsLink, displayLedger: application.displayLedger, displayName, - documentsLink: application.documentsLink, - effectiveDate: this.apiToUtcString(header.effectiveDate), - filingId: header.filingId, filingLink: application.filingLink, filingSubType: data.type, isFutureEffective: header.isFutureEffective, diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 2c6c3b14f..faccb9f34 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -296,6 +296,7 @@ export default { 'getIdentifier', 'hasComplianceWarning', 'hasMissingInfoWarning', + 'isFutureEffectiveAmalgamation', 'isAdminFrozen', 'isBenBcCccUlc', 'isFirm', diff --git a/tests/unit/Dashboard.spec.ts b/tests/unit/Dashboard.spec.ts index 9f4842d45..fba350b63 100644 --- a/tests/unit/Dashboard.spec.ts +++ b/tests/unit/Dashboard.spec.ts @@ -110,6 +110,23 @@ describe('Dashboard - UI', () => { }) }) + it('identifies app tasks vs app filings', () => { + const tests = [ + { entityStatus: EntityStatus.DRAFT_AMALGAMATION, isAppTask: true }, + { entityStatus: EntityStatus.DRAFT_INCORP_APP, isAppTask: true }, + { entityStatus: EntityStatus.DRAFT_REGISTRATION, isAppTask: true }, + { entityStatus: EntityStatus.FILED_AMALGAMATION, isAppFiling: true }, + { entityStatus: EntityStatus.FILED_INCORP_APP, isAppFiling: true }, + { entityStatus: EntityStatus.FILED_REGISTRATION, isAppFiling: true } + ] + + tests.forEach((test) => { + rootStore.entityStatus = test.entityStatus + expect(vm.isAppTask).toBe(!!test.isAppTask) + expect(vm.isAppFiling).toBe(!!test.isAppFiling) + }) + }) + it('updates its counts from sub-component events', () => { wrapper.findComponent(TodoList).vm.$emit('todo-count', 2) // wrapper.findComponent(FilingHistoryList).vm.$emit('history-count', 3) diff --git a/tests/unit/FilingHistoryList1.spec.ts b/tests/unit/FilingHistoryList1.spec.ts index 9b12b7719..5ff4674d5 100644 --- a/tests/unit/FilingHistoryList1.spec.ts +++ b/tests/unit/FilingHistoryList1.spec.ts @@ -688,6 +688,66 @@ describe('Filing History List - misc functionality', () => { wrapper.destroy() }) + + it('displays multiple filing items, and remove the filing that displayLedger is false', async () => { + // init store + businessStore.setIdentifier('CP0001191') + filingHistoryListStore.setFilings([ + { + availableOnPaperOnly: false, + businessIdentifier: 'CP0001191', + commentsCount: 0, + displayLedger: true, + displayName: 'Annual Report', + effectiveDate: '2019-11-20 22:17:54 GMT', + filingId: 111, + isFutureEffective: false, + name: FilingTypes.ANNUAL_REPORT, + status: FilingStatus.COMPLETED, + submittedDate: 'Tue, 02 July 2019 12:00:00 GMT', + submitter: 'Submitter 1' + } as any, + { + availableOnPaperOnly: false, + businessIdentifier: 'BC0001191', + commentsCount: 0, + displayLedger: true, + displayName: 'Benefit Company Incorporation Application - ACME Benefit Inc', + effectiveDate: '2019-11-20 22:17:54 GMT', + filingId: 222, + isFutureEffective: false, + name: FilingTypes.INCORPORATION_APPLICATION, + status: FilingStatus.COMPLETED, + submittedDate: 'Thu, 04 Apr 2019 12:00:00 GMT', + submitter: 'Submitter 2' + }, + { + availableOnPaperOnly: false, + businessIdentifier: 'CP0001191', + commentsCount: 0, + displayLedger: false, + displayName: 'Admin Freeze', + effectiveDate: '2019-11-20 22:17:54 GMT', + filingId: 333, + isFutureEffective: false, + name: FilingTypes.ADMIN_FREEZE, + status: FilingStatus.COMPLETED, + submittedDate: 'Mon, 06 May 2019 12:00:00 GMT', + submitter: 'Submitter 3' + } + ]) + + const wrapper = mount(FilingHistoryList, { vuetify }) + const vm = wrapper.vm as any + await Vue.nextTick() + + expect(vm.getFilings.length).toEqual(2) + expect(wrapper.findAll('.default-filing').length).toEqual(1) + expect(wrapper.findAll('.incorporation-application').length).toEqual(1) + expect(wrapper.find('.no-results').exists()).toBe(false) + + wrapper.destroy() + }) }) describe('Filing History List - redirections', () => {