-
Notifications
You must be signed in to change notification settings - Fork 85
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
Migrate/project tasks list updated #263
base: 8.0.x
Are you sure you want to change the base?
Migrate/project tasks list updated #263
Conversation
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
… component Signed-off-by: washyking <[email protected]>
… dashboard Signed-off-by: washyking <[email protected]>
…remove unused no data template Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
…uest Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
incorrect Base Branch , use origin.8.0.x. |
branch changed |
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.
These are the major changes which I forsee. will check in depth in some time.
@@ -0,0 +1,73 @@ | |||
@import '../../../../build/assets/doubtfire.css'; | |||
|
|||
.project-tasks-list { |
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.
Use Tailwind CSS for all the newer components
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.
Just made changes using tailwind in line style and tailwind.config.js
<div class="panel-body text-center"> | ||
<p class="btn-group"> | ||
<label ng-repeat="grade in grades" ng-if="$index != 4" ng-click="chooseGrade($index)" class="btn btn-default col-sm-3 text-center" ng-model="project.targetGrade" btn-radio="{{$index}}"> | ||
<grade-icon grade="grade" tooltip="Select a {{grade}} as your target grade" tooltip-append-to-body="true" class="text-{{$index == project.targetGrade ? 'primary' : 'muted'}}"></grade-icon> |
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.
use Material Design Tooltips:
https://v6.material.angular.io/components/tooltip/examples
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.
Not sure if its in my scope. I was migrating project-tasks-list to angular so only focused on the component. I think i might have commited extra file for some reason.
# | ||
# View a list of tasks | ||
# | ||
.directive('studentTaskList', -> |
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.
Shouldn't CoffeeScript code be removed? whats happening here?
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.
Not part of my task, I dont why thats there. I will delete the file
@@ -305,6 +305,10 @@ DoubtfireAngularJSModule.factory( | |||
DoubtfireAngularJSModule.factory('CreateNewUnitModal', downgradeInjectable(CreateNewUnitModal)); | |||
|
|||
// directive -> component | |||
DoubtfireAngularJSModule.directive( | |||
'projectTasksList', |
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.
are you sure that this should be projectTaskList
and not fProjectTaskList
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.
just made the change adding f- infront of my component
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
Signed-off-by: washyking <[email protected]>
…ashboard.tpl 2.html
…/student-task-list 2.coffee
…ching-period-list.component 2.ts
…finition-editor/task-definition-upload/task-definition-upload.component 2.ts
…finition-editor/task-definition-overseer/task-definition-overseer.component 2.ts
…ching-period-list.component 2.html
…finition-editor/task-definition-resources/task-definition-resources.component 2.html
…finition-editor/task-definition-resources/task-definition-resources.component 3.html
…ching-period-list.component 3.ts
ReviewThanks @washyking , for this PR. I have gone through the code, and everything looks correct. Steps to Replicate on localTesting the componentBefore HoverAfter HoverEverything looks correct, except the glowing letters are a bit hard to read, and something that didnt existed before, as @anmol-sainii , pointed out, this error is still present.I am approving this, but just make a CSS Patch before pushing it to upstream review. |
I have tested your code on my local machine, and it looks all good. The code changes are all right. I believe you have successfully migrated the project-task-list component. |
I have also tested your code by running it on the local device. Everything seems to work. I have reviewed the code as well and everything seems good to go. I approve these changes. |
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.
Seems good
[ ] @washyking - Please change the glowing letters. |
Signed-off-by: washyking <[email protected]>
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.
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.
Good work @washyking. Please open upstream pull request with these changes against the upstream repo doubtfire-lms/doubtfire-web, branch 8.0.x
Opened PR in that branch #277 |
Description
The purpose of 'project-tasks-list' is to show the tasks that a student has interacted with. Showing the status of the task visually e.g Not started, Completed, Time exceeded etc.
Type of change
How Has This Been Tested?
Login in using avencor user. Select a unit; click the drop down and choose portfolio; choose a student; finally click view progress.
I have tested this code by using the browser and have Screenshots will show comparison between previous and current implementation in various browsers.
#Before:
#After
Testing Checklist:
Checklist: