summaryrefslogtreecommitdiff
path: root/src/views/ProfileSettings
AgeCommit message (Collapse)AuthorFilesLines
2020-11-03Update linting packages to use latestDerick Montague1-17/+17
- 99% of changes were small syntax changes that were changed by the lint command. There were a couple of small manual changes to meet the property order patterns established as part of the vue:recommended guidelines. There are rules that were set from errors to warnings and new stories are being opened to address those issues. Testing: - Successfully ran npm run serve - Successfully ran npm run lint - Verified functionality works as expected, e.g. success and failure use cases - Resolved any JavaScript errors thrown to the console Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie082f31c73ccbe8a60afa8f88a9ef6dbf33d9fd2
2020-08-18Add form input field validation iconsDixsie Wolmers1-0/+2
Updates form validation to match updated style guide: - Datepicker and password toggle form field padding adjusted to accomodate validation icons - Valid form validation icon is hidden - Adds carbon icons and enables validation icons in IBM environment Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I7edff1e9527ad2c2cfec236daacb83ad4864d785
2020-08-07Update Date and Time Settings to include UTC/offset labelDixsie Wolmers1-6/+8
Label updates allow the user to easily understand the expectation for entering time by using specific label text for "24 hour time" and removing parenthesis from the helper text as parenthesis are not needed to in the input field. UTC/offset is displayed based on user preference. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I41f98d9d16f0a4a81af39ce9b25768a1c0b89f08
2020-07-30Add test hooks to profile settings pageSukanya Pandey1-1/+9
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I99d6fbb97de18ca74f520f3ab2ea2fc7374fa5e6
2020-07-28Add timezone to profile settings pageSukanya Pandey1-20/+69
- Users will have two options to select a timezone. - UTC and browser offset timezone are the two options for the application. - date-fns and date-fns-tz is used for date and time manipulations because:- - The package size of library is smaller. - It allows for importing functions to work with the native date object rather than having to create a moment instance that carries a larger payload. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I581803f230f501c0d34d0b53e7c2d89e8466ee60
2020-07-20Clear password fields when changed successfullySukanya Pandey1-1/+5
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Iaf3e420bd48597c34c1588855ed69dcb1dbf7523
2020-07-17Add min and max password range in profile settingsSukanya Pandey1-14/+20
-Api used to get the min and max value is redfish/v1/AccountService. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0f211496bef85aefe843052a6b6ba72156d2e4c7
2020-06-17Profile settings pageSukanya Pandey2-0/+164
-To set the profile by setting password. -This commit adds a profile page which allows the user to change their password. In the future, the profile page will also contain user settings like language and timezone. The API called to change the user's password is '/redfish/v1/AccountService/Accounts/<userName>' Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie54a54beff8c85bc9ac5af21c35edc481b34cf44