-
Notifications
You must be signed in to change notification settings - Fork 0
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
Redesigned entry and login flow #83
Conversation
09ed184
to
2f31eb2
Compare
29db1ed
to
bbe9b3a
Compare
Looking amazing! Just a couple of textual changes mainly:
|
c5d8355
to
e0041b9
Compare
I'm not sure if this comment belongs on this PR or a different one but when doing an Enquiry it loses the name, then saves as a Draft even though it was submitted, and is missing the Submission Type (should auto-set to General Enquiry...perhaps that is why it thinks it is a draft?) |
Things are looking great! I did a full review of all the pages I could see. Some changes / adjustments for UI and wording changes please :) Homepage
Updates/ changes to the actual form
Location tab
- Add labels to all drop-down and text fields, placeholders -> labels Enquiry:
Confirmation message when they try to proceed to the actual form
Some errors I noticed..
|
For this comment: Under housing tab of form: change “Type in project name…” -> “Type in project..” And, the illustration (png) next to Housing heading is too big right now, can you decrease the size so it's slightly bigger than the "housing" heading. Thanks! |
router.push({ name: RouteNames.HOME }); | ||
} | ||
" | ||
> |
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.
Should pull this out of the template into its own function when three lines or more.
![RouteNames.OIDC_LOGIN, RouteNames.OIDC_CALLBACK, RouteNames.OIDC_LOGOUT].includes( | ||
router.currentRoute.value.name as any | ||
) | ||
" |
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.
I would pull this logic out of the template when it gets this complex.
@@ -12,7 +12,7 @@ import type { AxiosInstance, AxiosRequestConfig, InternalAxiosRequestConfig } fr | |||
*/ | |||
export function appAxios(options: AxiosRequestConfig = {}): AxiosInstance { | |||
const instance = axios.create({ | |||
baseURL: new ConfigService().getConfig().apiPath, | |||
baseURL: window.location.origin + `/${new ConfigService().getConfig().apiPath}`, |
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.
Question: How did ConfigService get the root URL before just realized apiPath before was only /api/v1
? And we're not configuring the root URL to be a ENV variable?
@@ -33,7 +33,7 @@ afterEach(() => { | |||
sessionStorage.clear(); | |||
}); | |||
|
|||
describe('LoginButton.vue', () => { | |||
describe.skip('LoginButton.vue', () => { |
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.
Is this skip intentional?
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.
Yes, for now, struggling to fix these tests with the changes implemented.
cd2ae86
to
4a7154b
Compare
Further clarified route names
Folder structure updated
Previously running in URL mode which sometimes just opened the file in browser
1b3371b
to
3992725
Compare
Only got to look at the "My drafts and submissions" page now, sorry for the late comment!
|
f681736
to
9bc061c
Compare
Description
Implements the new login flow. https://apps.nrs.gov.bc.ca/int/jira/browse/PADS-158
e0041b9 Permission map updates. Various form text update
bbe9b3a SSO API connection. Role access mappings. Role override ability.
2c2f9d6 Updated navigational flow for all user roles
6d595c1 Add proponent Housing landing page. New navbar functionality
1a75801 Update HomeView
Types of changes
New feature (non-breaking change which adds functionality)
Checklist
Further comments