-
Notifications
You must be signed in to change notification settings - Fork 45
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
18023 incorrect name in breadcrumb #725
18023 incorrect name in breadcrumb #725
Conversation
The changes requested in the ticket look great. I did however notice that the non-logged in user is taken to the login page, instead of the BCROS home page (https://dev.bcregistry.gov.bc.ca/) Can that be updated? |
@janisrogers Is it correct to tell the user in the breadcrumb that they will go to the login page? After login, they go to the BCROS dashboard (same as logged in). |
There is a non logged in version of the BCROS |
That's a good point / idea. Janis, let us know whether to proceed with that. James, when Janis has approved this requirement, the non-logged-in breadcrumb should go to |
Yes, please proceed with that |
James, there might be a problem with how the code determines whether or not the user is authenticated. I tested this change in the preview build above (temp URL), and it looks fine for logged out, but after logging in, the breadcrumb is incorrect until I refresh the page again. Try it yourself. (I have an idea how to fix it.) |
I think the error is that Ref: https://stackoverflow.com/questions/69789213/any-way-to-make-sessionstorage-reactive-in-vue3 |
/gcbrun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good enough for now but I might pick away at the code a bit tomorrow to clean something up.
Temporary Url for review: https://namerequest-dev--pr-725-eeac624z.web.app |
There was actually a bug in this PR (wrong getter), but I want to keep THIS change separate from the login detection change (*), so I fixed the bug by using (*) I want us to fix the login detection properly, which is out of scope for THIS ticket. |
Issue #: /bcgov/entity#18023
Description of changes:
Created a separate breadcrumb for logged in users
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).