-
-
Notifications
You must be signed in to change notification settings - Fork 935
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
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 <[email protected]>
Co-authored-by: Adrian Fish <[email protected]>
Co-authored-by: Adrian Fish <[email protected]>
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 <[email protected]>
Co-authored-by: Adrian Fish <[email protected]>
@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! |
f7febd5
to
937ec89
Compare
937ec89
to
fb86fb5
Compare
Updated movableColumns and resizable options Drag and drop Moved from ajax to fetch
Super impressed with the work so far on this. It looks good and this is super encouraging. Big thanks to all testers especially @jesusmmp ! |
I have fixed it. Please test it if you get time. |
The single click is working great for me. Nice job! In terms of performance with Chrome on my localhost with MariaDB, 41 columns * 180 students = 7380 gb scores
|
I'll do another round of testing! Thanks @kunaljaykam @ern @ottenhoff |
Thanks all for the awesome testing and the many hours of work that everyone put into this. I'm impressed! Big thanks @kunaljaykam |
https://sakaiproject.atlassian.net/browse/SAK-50395
Tabulator: https://tabulator.info/