-
-
Notifications
You must be signed in to change notification settings - Fork 928
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
SAK-50395 Gradebook Migrate from Handsontable to Tabulator #12828
base: master
Are you sure you want to change the base?
Conversation
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 are accessibility issues in these changes.
...ebookng/tool/src/java/org/sakaiproject/gradebookng/tool/panels/CourseGradeOverridePanel.html
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/panels/ZeroUngradedItemsPanel.html
Show resolved
Hide resolved
library/src/skins/default/src/sass/modules/tool/gradebook/_gradebook.scss
Outdated
Show resolved
Hide resolved
Remove commented out code and remove unnecessary console.log |
...ookng/tool/src/java/org/sakaiproject/gradebookng/tool/actions/MoveAssignmentRightAction.java
Outdated
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
59ce13a
to
7410d5d
Compare
} else if (GbModalWindow.this.returnFocusToCourseGrade) { | ||
target.appendJavaScript("setTimeout(function() {GbGradeTable.selectCourseGradeCell();});"); | ||
} | ||
// target.appendJavaScript( |
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.
Remove commented text
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 want to keep it until some testing by QA. After some time I will remove it and probably some codes relateded to this.
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've left a few comments. I've not reviewed the entire PR yet but I didn't want to just leave a load of comments all in one bunch. One thing to watch out for is inconsisten indentation. We're using 2 spaces in all the webcomponents and I'm pretty sure the gb js mainly uses 2 spaces. This is a big PR :)
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
7410d5d
to
88a093f
Compare
88a093f
to
32e7e1e
Compare
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 a few small 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.
Just a few small changes :)
Co-authored-by: Adrian Fish <adrian.r.fish@gmail.com>
Co-authored-by: Adrian Fish <adrian.r.fish@gmail.com>
Co-authored-by: Adrian Fish <adrian.r.fish@gmail.com>
Co-authored-by: Adrian Fish <adrian.r.fish@gmail.com>
Co-authored-by: Adrian Fish <adrian.r.fish@gmail.com>
Co-authored-by: Adrian Fish <adrian.r.fish@gmail.com>
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
Outdated
Show resolved
Hide resolved
Now, you have to do double click on each cell to insert a grade... it's more tedious |
Thank you, @adrianfish and @jesusmmp, for your review. I was on a break but am back today. I'll be addressing and responding to all the issues you've mentioned in this PR. |
Thank you for testing @jesusmmp ! The double-click is required due to Tabulator’s limitation when embedding both a button and an editor in the same cell. In Handsontable, it's possible to achieve single-click functionality for both. I've tried other methods to work around this limitation in Tabulator, I spent days on this but they introduced performance issues. |
Co-authored-by: Adrian Fish <adrian.r.fish@gmail.com>
Co-authored-by: Adrian Fish <adrian.r.fish@gmail.com>
@jesusmmp Did you re-deploy the library as well? |
I'll do another test round next week!. Great work! :) |
Oh!. This is really a big problem! |
https://sakaiproject.atlassian.net/browse/SAK-50395
Tabulator: https://tabulator.info/