Skip to content

Commit

Permalink
- app version = 5.12.8 (#750)
Browse files Browse the repository at this point in the history
- fixed share structure button styles (outlined)
- added punctuation to some hint text
- bolded and fixed layout of share structure instruction text (x3)
- changed incorporation -> continuation in document delivery section
- updated unit tests

Co-authored-by: Severin Beauvais <[email protected]>
  • Loading branch information
severinbeauvais and Severin Beauvais authored Oct 16, 2024
1 parent d908f2b commit c16f7be
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 17 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "5.12.7",
"version": "5.12.8",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
4 changes: 2 additions & 2 deletions src/components/ContinuationIn/ExtraproRegistration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
filled
persistent-hint
label="Business Number (Optional)"
hint="First 9 digits of the CRA Business Number if you have one"
hint="First 9 digits of the CRA Business Number, if you have one."
:rules="getShowErrors ? Rules.BusinessNumberRules : []"
/>

Expand All @@ -164,7 +164,7 @@
title="Date of Incorporation"
:nudgeRight="40"
:nudgeTop="85"
hint="Date of Incorporation, Continuation or Amalgamation in previous jurisdiction"
hint="Date of Incorporation, Continuation or Amalgamation in previous jurisdiction."
:persistentHint="true"
:initialValue="business.prevIncorporationDate"
:inputRules="getShowErrors ? incorporationDateRules: []"
Expand Down
4 changes: 2 additions & 2 deletions src/components/ContinuationIn/ManualBusinessInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
filled
persistent-hint
label="Business Number (Optional)"
hint="First 9 digits of the CRA Business Number if you have one"
hint="First 9 digits of the CRA Business Number, if you have one."
:rules="getShowErrors ? Rules.BusinessNumberRules : []"
/>

Expand All @@ -130,7 +130,7 @@
title="Date of Incorporation"
:nudgeRight="40"
:nudgeTop="85"
hint="Date of Incorporation, Continuation or Amalgamation in previous jurisdiction"
hint="Date of Incorporation, Continuation or Amalgamation in previous jurisdiction."
:persistentHint="true"
:initialValue="getExistingBusinessInfo.prevIncorporationDate"
:inputRules="getShowErrors ? incorporationDateRules : []"
Expand Down
3 changes: 3 additions & 0 deletions src/components/common/ShareStructure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
<v-btn
id="btn-remove"
large
outlined
color="error"
:disabled="activeIndex === -1"
@click="removeShareStructure()"
Expand All @@ -180,6 +181,8 @@
<v-btn
id="btn-cancel"
large
outlined
color="primary"
@click="resetFormAndData(true)"
>
Cancel
Expand Down
6 changes: 4 additions & 2 deletions src/views/Amalgamation/ShareStructure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@
</section>
</v-expand-transition>

<p>Your application must include the following:</p>
<ul>
<div class="mt-4 font-weight-bold">
Your application must include the following:
</div>
<ul class="mt-2">
<li>
<v-icon
v-if="shareClasses.length > 0"
Expand Down
2 changes: 1 addition & 1 deletion src/views/ContinuationIn/ContinuationInReviewConfirm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<header>
<h2>Document Delivery</h2>
<p class="mt-4">
Copies of the incorporation documents will be sent to the email addresses listed below.
Copies of the continuation documents will be sent to the email addresses listed below.
</p>
</header>

Expand Down
8 changes: 5 additions & 3 deletions src/views/ContinuationIn/ContinuationInShareStructure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,11 @@
</section>
</v-expand-transition>

<section class="pt-2">
<p>Your application must include the following:</p>
<ul>
<section class="mt-4">
<div class="font-weight-bold">
Your application must include the following:
</div>
<ul class="mt-2">
<li>
<v-icon
v-if="shareClasses.length > 0"
Expand Down
6 changes: 4 additions & 2 deletions src/views/Incorporation/IncorporationShareStructure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@
</section>
</v-expand-transition>

<p>Your application must include the following:</p>
<ul>
<div class="mt-4 font-weight-bold">
Your application must include the following:
</div>
<ul class="mt-2">
<li>
<v-icon
v-if="shareClasses.length > 0"
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ContinuationInReviewConfirm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('Continuation In Review Confirm component', () => {
// spot check some content (structure / text)
const thirdSection = wrapper.findAll('#continuation-in-review-confirm > section').at(2)
expect(thirdSection.find('header h2').text()).toBe('Document Delivery')
expect(thirdSection.find('header p').text()).toContain('Copies of the incorporation documents will')
expect(thirdSection.find('header p').text()).toContain('Copies of the continuation documents will')
expect(thirdSection.findComponent(DocumentDelivery).exists()).toBe(true)

wrapper.destroy()
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ContinuationInShareStructure.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('Continuation In Share Structure component', () => {
// NB: third section is in the help block

const fourthSection = wrapper.findAll('section').at(3)
expect(fourthSection.find('p').text()).toBe('Your application must include the following:')
expect(fourthSection.find('div').text()).toBe('Your application must include the following:')

expect(wrapper.find('#btn-start-add-cp').exists()).toBe(true)
wrapper.destroy()
Expand Down

0 comments on commit c16f7be

Please sign in to comment.