-
Notifications
You must be signed in to change notification settings - Fork 1
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
HEEDLS-465 - Implemented basic support page #419
HEEDLS-465 - Implemented basic support page #419
Conversation
DigitalLearningSolutions.Web.AutomatedUiTests/AccessibilityTests/BasicAccessibilityTests.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/LearningSolutions/Support.cshtml
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/LearningSolutions/Shared/_SupportSideNavMenu.cshtml
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web.Tests/Controllers/LearningSolutions/SupportControllerTests.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Controllers/LearningSolutions/SupportController.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Controllers/LearningSolutions/SupportController.cs
Outdated
Show resolved
Hide resolved
ApplicationType.Frameworks == application) | ||
{ | ||
return View( | ||
"/Views/LearningSolutions/Support.cshtml", |
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.
Could we fix this like we've done in TrackingSystem pages? We might actually not even want the controller to be in LearningSolutions folder given that we won't be including that in the url (could argue either way tbh, so feel free to do whatever is the most convenient 👍 )
DigitalLearningSolutions.Web/ViewModels/LearningSolutions/SupportViewModel.cs
Outdated
Show resolved
Hide resolved
return user.GetCustomClaimAsBool(CustomClaimTypes.IsFrameworkDeveloper) == true | | ||
user.GetCustomClaimAsBool(CustomClaimTypes.IsFrameworkContributor) == true | | ||
user.GetCustomClaimAsBool(CustomClaimTypes.IsWorkforceManager) == true | | ||
user.GetCustomClaimAsBool(CustomClaimTypes.IsWorkforceContributor) == true; |
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 this be "||"?
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.
Comment about logical operator, otherwise looks good! No need for rereview 👍
Ran all unit tests.
Checked in Chrome, IE11, Edge, Firefox.
Tested with screenreader, mobile view/zoom.
Screen shots:
![Tracking System Support page](https://user-images.githubusercontent.com/80777689/122352621-30020b00-cf47-11eb-8e86-979404658718.PNG)
Desktop (tracking system):
Desktop (frameworks, see nav bar difference):
![Frameworks Support page](https://user-images.githubusercontent.com/80777689/122352880-6b043e80-cf47-11eb-8e96-ebb62fc5579f.PNG)
Mobile views
![Tracking System Support page mobile 2](https://user-images.githubusercontent.com/80777689/122352916-73f51000-cf47-11eb-916b-62c2fd98633a.PNG)