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

Account may change when navigating between UIs#6151 #1902

Merged
merged 2 commits into from
Jan 28, 2022

Conversation

shabeeb-aot
Copy link
Contributor

Issue #:
bcgov/entity#6151

Description of changes:

  • append URL accountid in external URLs

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

@shabeeb-aot shabeeb-aot added the bug Something isn't working label Jan 28, 2022
@shabeeb-aot
Copy link
Contributor Author

I added in some place, Let me know if i miss any links

@codecov
Copy link

codecov bot commented Jan 28, 2022

Codecov Report

Merging #1902 (0f96368) into main (a19d8ee) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1902      +/-   ##
==========================================
- Coverage   79.31%   79.30%   -0.01%     
==========================================
  Files         284      284              
  Lines        9822     9823       +1     
  Branches      490      491       +1     
==========================================
  Hits         7790     7790              
- Misses       2032     2033       +1     
Flag Coverage Δ
authweb 44.17% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...components/auth/create-account/UserProfileForm.vue 57.14% <ø> (ø)
...web/src/components/auth/home/NameRequestButton.vue 100.00% <ø> (ø)
...nts/auth/manage-business/AffiliatedEntityTable.vue 11.11% <ø> (ø)
...mponents/auth/manage-business/EntityManagement.vue 27.27% <ø> (ø)
auth-web/src/views/auth/home/RequestNameView.vue 50.00% <ø> (ø)
status-api/src/status_api/resources/whatsnew.py 100.00% <100.00%> (ø)
...account-settings/payment/AccountPaymentMethods.vue 58.33% <0.00%> (-5.31%) ⬇️
...-web/src/components/auth/common/PaymentMethods.vue 100.00% <0.00%> (ø)
...auth/account-settings/transaction/Transactions.vue 100.00% <0.00%> (ø)

} else {
window.location.href = ConfigHelper.getNroUrl()
window.location.href = appendAccountId(ConfigHelper.getNroUrl())
Copy link
Contributor

Choose a reason for hiding this comment

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

this can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can we remove LD flag check ?

} else {
window.location.href = `${ConfigHelper.getNroUrl()}nro.htm?_flowId=anonymous-monitor-flow&_flowExecutionKey=e1s1`
window.location.href = appendAccountId(`${ConfigHelper.getNroUrl()}nro.htm?_flowId=anonymous-monitor-flow&_flowExecutionKey=e1s1`)
Copy link
Contributor

Choose a reason for hiding this comment

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

this also can be removed

} else {
window.location.href = ConfigHelper.getNroUrl()
window.location.href = appendAccountId(ConfigHelper.getNroUrl())
Copy link
Contributor

Choose a reason for hiding this comment

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

this too

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@shabeeb-aot shabeeb-aot merged commit fdea8fe into bcgov:main Jan 28, 2022
@shabeeb-aot shabeeb-aot deleted the feature/6151 branch January 28, 2022 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants