Skip to content
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

16634 Base changes for "way of navigating" story (new branch "release-5.0.0") #614

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

severinbeauvais
Copy link
Collaborator

@severinbeauvais severinbeauvais commented Jun 23, 2023

Issue #: /bcgov/entity#16634

The "way of navigating" story (16519) contains many tickets that cannot be merged to main branch without breaking things. Hence, THIS pull request implements some base changes, including a new feature branch, for those changes. When the feature branch is working correctly, then it will be merged into main branch.

Description of changes:
Commit 1:
- app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

Commit 2:
- moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

Commit 3:
- fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some more class property/method visibilities

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namerequest license (Apache 2.0).

@severinbeauvais
Copy link
Collaborator Author

severinbeauvais commented Jun 23, 2023

Eve, Omid -- FYI only.

This is for story 16519.

Hopefully there won't be too many (or any) fixes to main branch while we develop on release-5.0.0 branch (which we will merge when it's safe to do so without breaking anything).

@severinbeauvais severinbeauvais changed the title 16634 Work on new action menu (new branch release-5.0.0) 16634 Work on new action menu (new branch "release-5.0.0") Jun 23, 2023
Copy link
Collaborator

@eve-git eve-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only the app version updated.
Looks good to me.

@severinbeauvais
Copy link
Collaborator Author

Only the app version updated. Looks good to me.

For now, yes. Should I merge this and then create more PRs for the rest of the work in this ticket, or can I add extra work to THIS PR? (In case you don't want to see the extra work -- do you?)

@eve-git
Copy link
Collaborator

eve-git commented Jun 23, 2023

I agree that it is better to build a base first.

@severinbeauvais severinbeauvais changed the title 16634 Work on new action menu (new branch "release-5.0.0") 16634 Base for "way of navigating" story (new branch "release-5.0.0") Jun 23, 2023
@severinbeauvais severinbeauvais changed the title 16634 Base for "way of navigating" story (new branch "release-5.0.0") 16634 Base changes for "way of navigating" story (new branch "release-5.0.0") Jun 23, 2023
@severinbeauvais
Copy link
Collaborator Author

severinbeauvais commented Jun 23, 2023

This repo had unit test errors before the present changes.

Using Node 12, before changes:

image

Using Node 16, after changes:
(originally screenshot deleted)

Update - I fixed the unit tests and some build issues:

image

@seeker25
Copy link
Collaborator

seeker25 commented Jun 24, 2023

Your package-lock has changed quite a bit - I'd recommend a decent retest.


/** Special component used only for testing mixins. */
@Component({})
export default class MixinTester extends Mixins(DateMixin) {}
Copy link
Collaborator

@seeker25 seeker25 Jun 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this live in TESTS? or is that not possible? Never tried to have a vue component in tests before though.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Fixed.

@severinbeauvais
Copy link
Collaborator Author

Your package-lock has changed quite a bit - I'd recommend a decent retest.

For sure. We will be making a lot of changes to this feature branch so it will undergo lots of testing.

- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities
@severinbeauvais severinbeauvais merged commit 4b28cfc into bcgov:release-5.0.0 Jun 26, 2023
JazzarKarim pushed a commit to JazzarKarim/namerequest that referenced this pull request Aug 24, 2023
…-5.0.0") (bcgov#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities
JazzarKarim pushed a commit to JazzarKarim/namerequest that referenced this pull request Aug 24, 2023
…-5.0.0") (bcgov#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities
JazzarKarim pushed a commit to JazzarKarim/namerequest that referenced this pull request Aug 24, 2023
…-5.0.0") (bcgov#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities
severinbeauvais added a commit that referenced this pull request Aug 24, 2023
* add two new alteration request types (#621)

* remove currentAccount from session storage if token has expired (#637)

* remove currentAccount from session storage if token has expired

* 17088-update wording. (#634)

* 17088-update wording.

* Update package.json

* Update font.

* remove currentAccount from session storage if token has expired (#637)

* remove currentAccount from session storage if token has expired

* Update package-lock.json

* 17088-update wording.

* Update font.

* Update package-lock.json

* Update package-lock.json

* Update version.

---------

Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>

* 16634 Base changes for "way of navigating" story (new branch "release-5.0.0") (#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities

* 16634 Implemented new actions menu + cleanup (#616)

* - app version = 5.0.2
- imported latest shared enums
- changed RequestCode to shared NrRequestActionCodes enum
- fixed some whitespace and alignment
- fixed some property/method visibilities
- cleanup up Pick Request Type dialog (removed blurbs, reformatted layout, filtered items)
- implemented new v-select with list items for nested menus
- implemented NameType enum for extraprovincial / assumed names
- updated RequestActions data structure to support nested groups (and new text, etc)
- fixed mobile spacing above nav buttons
- fixed mobile spacing above existing NR buttons
- misc cleanup
- deleted obsolete code

* - fixed slot item variable issues

* - renamed new enum
- reverted declarations

* - removed await from non-async function
- fixed another property visibility issue
- fixed up PickRequestType modal
- implemented some unit tests
- moved and renamed some unit tests
- misc cleanup

* Imported latest codes + restored ULCB and ULBE (#630)

* - app version = 5.0.9
- imported latest shared enums
- restored conversion types ULCB and ULBE

* - fixed conversion desc and text capitalizations

* Fixed rebase issues + package version

* fixed super small rebase issue

---------

Co-authored-by: eve-git <54647458+eve-git@users.noreply.github.com>
Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>
Co-authored-by: mengdong19 <meng.dong@gov.bc.ca>
Co-authored-by: Séverin Beauvais <severinbeauvais@users.noreply.github.com>
severinbeauvais added a commit to severinbeauvais/namerequest that referenced this pull request Aug 29, 2023
* add two new alteration request types (bcgov#621)

* remove currentAccount from session storage if token has expired (bcgov#637)

* remove currentAccount from session storage if token has expired

* 17088-update wording. (bcgov#634)

* 17088-update wording.

* Update package.json

* Update font.

* remove currentAccount from session storage if token has expired (bcgov#637)

* remove currentAccount from session storage if token has expired

* Update package-lock.json

* 17088-update wording.

* Update font.

* Update package-lock.json

* Update package-lock.json

* Update version.

---------

Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>

* 16634 Base changes for "way of navigating" story (new branch "release-5.0.0") (bcgov#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities

* 16634 Implemented new actions menu + cleanup (bcgov#616)

* - app version = 5.0.2
- imported latest shared enums
- changed RequestCode to shared NrRequestActionCodes enum
- fixed some whitespace and alignment
- fixed some property/method visibilities
- cleanup up Pick Request Type dialog (removed blurbs, reformatted layout, filtered items)
- implemented new v-select with list items for nested menus
- implemented NameType enum for extraprovincial / assumed names
- updated RequestActions data structure to support nested groups (and new text, etc)
- fixed mobile spacing above nav buttons
- fixed mobile spacing above existing NR buttons
- misc cleanup
- deleted obsolete code

* - fixed slot item variable issues

* - renamed new enum
- reverted declarations

* - removed await from non-async function
- fixed another property visibility issue
- fixed up PickRequestType modal
- implemented some unit tests
- moved and renamed some unit tests
- misc cleanup

* Imported latest codes + restored ULCB and ULBE (bcgov#630)

* - app version = 5.0.9
- imported latest shared enums
- restored conversion types ULCB and ULBE

* - fixed conversion desc and text capitalizations

* Fixed rebase issues + package version

* fixed super small rebase issue

---------

Co-authored-by: eve-git <54647458+eve-git@users.noreply.github.com>
Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>
Co-authored-by: mengdong19 <meng.dong@gov.bc.ca>
Co-authored-by: Séverin Beauvais <severinbeauvais@users.noreply.github.com>
JazzarKarim pushed a commit to JazzarKarim/namerequest that referenced this pull request Sep 8, 2023
…-5.0.0") (bcgov#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities
JazzarKarim added a commit to JazzarKarim/namerequest that referenced this pull request Sep 8, 2023
* add two new alteration request types (bcgov#621)

* remove currentAccount from session storage if token has expired (bcgov#637)

* remove currentAccount from session storage if token has expired

* 17088-update wording. (bcgov#634)

* 17088-update wording.

* Update package.json

* Update font.

* remove currentAccount from session storage if token has expired (bcgov#637)

* remove currentAccount from session storage if token has expired

* Update package-lock.json

* 17088-update wording.

* Update font.

* Update package-lock.json

* Update package-lock.json

* Update version.

---------

Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>

* 16634 Base changes for "way of navigating" story (new branch "release-5.0.0") (bcgov#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities

* 16634 Implemented new actions menu + cleanup (bcgov#616)

* - app version = 5.0.2
- imported latest shared enums
- changed RequestCode to shared NrRequestActionCodes enum
- fixed some whitespace and alignment
- fixed some property/method visibilities
- cleanup up Pick Request Type dialog (removed blurbs, reformatted layout, filtered items)
- implemented new v-select with list items for nested menus
- implemented NameType enum for extraprovincial / assumed names
- updated RequestActions data structure to support nested groups (and new text, etc)
- fixed mobile spacing above nav buttons
- fixed mobile spacing above existing NR buttons
- misc cleanup
- deleted obsolete code

* - fixed slot item variable issues

* - renamed new enum
- reverted declarations

* - removed await from non-async function
- fixed another property visibility issue
- fixed up PickRequestType modal
- implemented some unit tests
- moved and renamed some unit tests
- misc cleanup

* Imported latest codes + restored ULCB and ULBE (bcgov#630)

* - app version = 5.0.9
- imported latest shared enums
- restored conversion types ULCB and ULBE

* - fixed conversion desc and text capitalizations

* Fixed rebase issues + package version

* fixed super small rebase issue

---------

Co-authored-by: eve-git <54647458+eve-git@users.noreply.github.com>
Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>
Co-authored-by: mengdong19 <meng.dong@gov.bc.ca>
Co-authored-by: Séverin Beauvais <severinbeauvais@users.noreply.github.com>
JazzarKarim pushed a commit that referenced this pull request Sep 11, 2023
…-5.0.0") (#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities
JazzarKarim added a commit that referenced this pull request Sep 11, 2023
* add two new alteration request types (#621)

* remove currentAccount from session storage if token has expired (#637)

* remove currentAccount from session storage if token has expired

* 17088-update wording. (#634)

* 17088-update wording.

* Update package.json

* Update font.

* remove currentAccount from session storage if token has expired (#637)

* remove currentAccount from session storage if token has expired

* Update package-lock.json

* 17088-update wording.

* Update font.

* Update package-lock.json

* Update package-lock.json

* Update version.

---------

Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>

* 16634 Base changes for "way of navigating" story (new branch "release-5.0.0") (#614)

* - app version = 5.0.0
- used latest node version
- updated browserslist
- fixed a lint warning
- created mixin-tester.vue
- fixed date-mixin unit test errors
- added babel plugin
- updated axios, core-js, etc
- updated types, test utils, etc
- updated ts config
- added volar config
- changed some imports that gave errors
- removed some "private" modifiers
- added components.d.ts
- deleted shims-tsx.d.ts
- added vue-test-utils-helpers.d.ts
- removed extra Vue.use()
- misc cleanup

* - moved mixin-tester.vue from src/ to tests/
- moved interceptors.ts from sbc-common to local plugins to fix Axios version issue
- other strict:true fixes
- fixed property visibility issue
- fixed catch clause variable issues
- capitalized some plugin functions (eg, navigate -> Navigate)
- fixed some visibility issues
- misc cleanup

* - fixed whitespace around v-rows
- fixed empty object error
- added misc code comments
- changed some class property/method visibilities

* 16634 Implemented new actions menu + cleanup (#616)

* - app version = 5.0.2
- imported latest shared enums
- changed RequestCode to shared NrRequestActionCodes enum
- fixed some whitespace and alignment
- fixed some property/method visibilities
- cleanup up Pick Request Type dialog (removed blurbs, reformatted layout, filtered items)
- implemented new v-select with list items for nested menus
- implemented NameType enum for extraprovincial / assumed names
- updated RequestActions data structure to support nested groups (and new text, etc)
- fixed mobile spacing above nav buttons
- fixed mobile spacing above existing NR buttons
- misc cleanup
- deleted obsolete code

* - fixed slot item variable issues

* - renamed new enum
- reverted declarations

* - removed await from non-async function
- fixed another property visibility issue
- fixed up PickRequestType modal
- implemented some unit tests
- moved and renamed some unit tests
- misc cleanup

* Imported latest codes + restored ULCB and ULBE (#630)

* - app version = 5.0.9
- imported latest shared enums
- restored conversion types ULCB and ULBE

* - fixed conversion desc and text capitalizations

* Fixed rebase issues + package version

* fixed super small rebase issue

---------

Co-authored-by: eve-git <54647458+eve-git@users.noreply.github.com>
Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>
Co-authored-by: mengdong19 <meng.dong@gov.bc.ca>
Co-authored-by: Séverin Beauvais <severinbeauvais@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants